I tried to add a "goto" to my program and I kept getting compile errors, so I wrote the most basic program just with goto to see if it works, and it did not, this is the code
Code: Select all
<?php
a:
echo "test";
goto a;
?>
I'm running php5 on Debian, any idea why its not compiling?Parse error: syntax error, unexpected ':' in /root/cl/php/m4w/1.php on line 3
Regards