carefree Posted July 4, 2007 Share Posted July 4, 2007 Does anyone know of a php code error detector program, i know there is one for checking html code. If anyone has an idea i could sure use it! Thanks in advance Darryl Quote Link to comment https://forums.phpfreaks.com/topic/58373-php-error-detector-program/ Share on other sites More sharing options...
DeathStar Posted July 4, 2007 Share Posted July 4, 2007 put the code between <?php ?> and save it as file.php It should give an error if there is any. Quote Link to comment https://forums.phpfreaks.com/topic/58373-php-error-detector-program/#findComment-289438 Share on other sites More sharing options...
wildteen88 Posted July 4, 2007 Share Posted July 4, 2007 put the code between <?php ?> and save it as file.php It should give an error if there is any. Only if display_errors is enabled in the php.ini You're best of adding the following two lines at the top of your page you wish to debug: <?php error_reporting(E_ALL); display_errors(1); // your code here ?> Quote Link to comment https://forums.phpfreaks.com/topic/58373-php-error-detector-program/#findComment-289787 Share on other sites More sharing options...
AbydosGater Posted July 4, 2007 Share Posted July 4, 2007 Yeah i would agree with the last two posts, But i use a good free editor from http://www.mpsoftware.org/ I have the Pro version but the Personal version is free. If you have PHP on your computer you can set it up by point the debug system to your php.exe .. With that done they have a window for checking your php code.. If there are errors it will tell you, If not well then displays the output.. Andy Quote Link to comment https://forums.phpfreaks.com/topic/58373-php-error-detector-program/#findComment-289796 Share on other sites More sharing options...
DeathStar Posted July 5, 2007 Share Posted July 5, 2007 eeh.. I setup the debugger but I see errors while typing. it has an VERY annoying red X when it has an error. Quote Link to comment https://forums.phpfreaks.com/topic/58373-php-error-detector-program/#findComment-290323 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.