"Sözdizimi hatası, beklenmedik T_STRING"

0 Cevap php

http://www.faressoft.org/test/hello.php

Benim Kod:

<?php
echo "hello World";
goto end; // this is line 3
echo "before end";
end:
echo "end";
?>

Error : Parse error: syntax error, unexpected T_STRING in /home/alfalah1/public_html/faressoft.org/test/hello.php on line 3

It works very well in my localhost but doesn't work in justhost server ? why ?

0 Cevap