ScotDiddle Posted March 24, 2009 Share Posted March 24, 2009 Hello All, I have a long-running, complicated script that is bombing out because I defined a class twice... In a browser, the scripts just stops running, giving all notice and warning messages except the last, the compiler warning... When I run the script through Zend Studio, the last message displayed ( in the Zend Studion output window ) is the compiler warning about "... can't re-declare class so-and-so..." ? What can I do to get the compiler message to display when a script dies due to this type of error when running in the browser.... I have: error_reporting(E_ALL) in the script. Thanks in advance. Scot L. Diddle, Richmond VA Link to comment https://forums.phpfreaks.com/topic/150873-how-to-display-compiler-warnings/ Share on other sites More sharing options...
rhodesa Posted March 24, 2009 Share Posted March 24, 2009 defining error reporting in a script won't help if the script won't compile. you should turn on error reporting in your php.ini file Link to comment https://forums.phpfreaks.com/topic/150873-how-to-display-compiler-warnings/#findComment-792577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.