Two days ago, when learning PHP lareval framework, downloaded from the official web Lareval installation package, according to the network Configuration Tutorial 1.1 point configuration, when you click on the public file run there is a problem that I have a headache, Myself and two other great gods found long time to find the wrong reason for the very pit:
Error type:
Parse error:syntax error, unexpected ' class ' (T_class), expecting identifier (t_string) or variable (t_variable) or ' {' O R ' $ ' in/var/www/learn/laravel/public/index.php on line 50
Cause of Error:
This is a PHP version of the problem, laravel5.1 PHP version requirements are PHP >= 5.5.9
For, the above that can not be low-level error, I can only say at this stage of the learning process of their own too much pursuit of efficiency, and never to seriously understand, so as to learn to digest.
Error in PHP lareval framework Configuration