I use zend framework and I have enabled layout on it. Sometimes some bad coded controller/actions may throw an error/warning such as: "Warning: something wrong here in /path/to/controllers/controllername.php on line 12". I wonder if there´s a single point of output that returns the data to the requester, so that I can check what is being sent before sending it. This way I could use a regular expression and remove php warnings from the final result I send to the requester.I use zend framework and I have enabled layout