OK problem is more complex, all exceptions throwed in template after something is sent to output are catched by Tracy but response code is not changed.
<?php //preseneter $t = new FileTemplate('template.phtml'); $t->render(); ?>
some output <?php throw new Exception ?> another content
code 200 returned under PHP 5.4
- Member | 2129
If you enable it to solve this you should keep in mind that it actually slows down your application. With OB enabled PHP has to wait until the whole HTML is generated before sending anything to the browser. With OB disabled (which I think is default) output is sent right away and the browser can begin its processing few miliseconds earlier.