alin19 Posted September 4, 2008 Share Posted September 4, 2008 this code doen't give me any error and output: test this was just a test page because i have a larger script that has an error and i don't know where because it doen't show me <?php echo test; write ;sadsads ?> Link to comment https://forums.phpfreaks.com/topic/122688-error-reporting/ Share on other sites More sharing options...
JasonLewis Posted September 4, 2008 Share Posted September 4, 2008 Most likely it's because notice errors are turned off. You can use: ini_set("error_reporting","1"); error_reporting(E_ALL); At the top of scripts to see all errors. Link to comment https://forums.phpfreaks.com/topic/122688-error-reporting/#findComment-633535 Share on other sites More sharing options...
aschk Posted September 4, 2008 Share Posted September 4, 2008 Might be worth turning STRICT on too, to see what old php4 legacy bits you're using. error_reporting(E_ALL|E_STRICT); Link to comment https://forums.phpfreaks.com/topic/122688-error-reporting/#findComment-633544 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.