Community
Participate
Working Groups
PDT 2.2.0.v20100519 gives syntax error on valid PHP code containing gotos. Example taken from the PHP manual: <?php goto a; echo 'Foo'; a: echo 'Bar'; ?> Above will give "syntax error" on both lines containing the label "a".
it works for php5.3 but not less version!
I found this in php manual The goto operator is available as of PHP 5.3
Dang, I have somehow reset my PHP version setting back to 5.1/5.2. No wonder anonymous functions also gave errors. Closing this as "invalid".