PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
echo "this is a test<BR />";
fooor(i$=1; $i<4; $i++)
{
echo $i;
}
when i executes above code on my server it don't asks for the error, infect it don't show anything on the page. when i fix the syntax error it works fine.
Fatal errors will still not show using ini_set('display_errors', 1) (as per the manual). You will need to enable display_errors in your ini file and restart your server in order to see your errors. Keep in mind that this a potential security risk on a production environment. For testing/development, I always set display_errors to On, but on a production system, it is always off for security.