I need to test some functionality on live server and it's obvious that they turned off errors at some global level.
Problem is that I can't work when I don't know what's throwing the error. How can I make sure that exceptions are being shown and not just 500 code.
I have tried putting these two lines at the top of my script but it's still empty.
<?php
ini_set('error_reporting', E_ALL);
error_reporting(E_ALL);
throw new Exception('Fatal Error'); // nothing is outputed