Closed rettal closed 8 years ago
The class (Example) example in the 'Getting started' section raises a syntax error when run:
Parse error: syntax error, unexpected 'do' (T_DO), expecting identifier (T_STRING) in C:\xampp\htdocs\play\zf2\index2.php on line 29
I am on PHP 5.6.3 and ZF2 2.3.7.
I have updated the example to call 'doIt' instead of 'do'
The class (Example) example in the 'Getting started' section raises a syntax error when run:
Parse error: syntax error, unexpected 'do' (T_DO), expecting identifier (T_STRING) in C:\xampp\htdocs\play\zf2\index2.php on line 29
I am on PHP 5.6.3 and ZF2 2.3.7.
I have updated the example to call 'doIt' instead of 'do'