On 13/07/15 00:00, Brian G. wrote:
Hey everyone, I'm trying to get up and running with rumprun-packages/php
and I've hit a bit of a roadblock.
I'm able to launch the demo site provided in standalone mode, however, when
I try to load in a larger PHP application (uses namespace, calls to
__FILE__ and other language features) I receive parse errors.
When running the application on a traditional system I do not encounter any
issues like this, even when trying to recreate configuration conditions.
In the code there is one file that looks like this:
* @var ClassLoader $loader
$loader = require __DIR__.'/../vendor/autoload.php';
This file has no linting errors, but when I browse to it, I receive this
*Parse error*: syntax error, unexpected '::registerLoader(a' in
*/data/www/symfony_demo/vendor/autoload.php* on line *10*