Zend Framework - not all errors are shown

thedoginthewok

New Member
In an action method, I have the following excerpt of code:\[code\]error_reporting(E_ALL);ini_set('display_errors', '1');Logger::log('test');\[/code\]The Logger class is defined in this way:\[code\]class Logger { public static function log() { echo "test";}\[/code\]I deliberately forgot the closing brace of the function to demonstrate the problem. When the action is called, absolutely nothing is rendered on the screen. What type of error is this, and why is it not displayed, even though I configured PHP to show all errors, as shown above?Of course, if I add the missing brace, everything is OK.
 
Back
Top