I’m just starting out with Yii and am trying to do the “Creating First Yii Application”. The webapp worked and I have a working “testdrive”. However, when I try to run generate User.php, I get an error message:
>> generate User.php
PHP Parse error: parse error in C:\wamp\www\yii\framework\cli\commands\ShellCom
mand.php(145) : eval()'d code on line 1
Yiic has started okay, but the generate command doesn’t work. What am I doing wrong?