I have a web app that uses PHP to produce some JSON, which I capture in javascript and add to my DOM. If I raise a notice in PHP, it will try to print HTML. This breaks the javascript, which is trying to parse out JSON.
<br />
<b>Notice</b>: Undefined property: MyClass::$serialize_option in <b>/Users/GoldenJoe/Development/Web Services/MyApp/api/v1/database_model/MyModel.php</b> on line <b>92</b><br />
It's fine to break a dev environment, but I'd really prefer it if these messages appeared in my error log instead. Is there a ways to control this in the configuration?