Technology used: PHP/MySql/Apache2/HTML/javascript
Beforehand, I have to document a benchmark with various PHP frameworks. I want to test Symfony in order to realize a php web application for an account.
Following the tutorial for a filmotheque creation, I have an error at the bundle creation. I'am on a development server (wampserver2.2). php is in 5.3.14 version so the function token_get_all() should be integrated :
- Code: Select all
Generating the bundle code: OK
Checking that the bundle is autoloaded: OK
Confirm automatic update of your Kernel [yes]? yes
Enabling the bundle inside the Kernel:
Fatal error: Call to undefined function Sensio\Bundle\GeneratorBundle\Manipulator\token_get_all() in C:\wamp\www\symfony2\vendor\sensio\generator-bundle\Sensio\Bundle\GeneratorBundle\Manipulator\KernelManipulator.php on line 61
testing this code:
- Code: Select all
<?php
print_r(token_get_all('/* comment */'));
?>
function return:
- Code: Select all
Array ( [0] => Array ( [0] => 311 [1] => /* comment */ [2] => 1 ) )
I think Symfony is sureky one of the most stable and advanced php framework it exists. Have you got an idea with that error ?
Thanks for your reply and good continuation,
BS.
