unexpected T_ECHO

Having extra space between <? php gave you all soft of unhelpful error message.

foobar.php
< ? php
echo '123';

$ php -f foobar.php

php -f t.php 
PHP Parse error: syntax error, unexpected T_ECHO in /tmp/foobar.php on line 3

No comments:

Post a Comment