I have a PHP script that stops processing (it seems to be) on a PHP warning. The error is general "PHP Warning: fopen" - "failed to open stream: No such file or directory".
Should PHP stop here? I thought only on fatal errors?
Is there a way to get it to continue?
<?php fopen('doesnotexist', 'rb'); echo 'if you can read this...';xdebug.halt_levelincludesE_WARNING, then PHP will halt on system warnings. Sure, we want to remove warnings, but still the system should not halt on them, unless we want that. So, the answer is that the OP should check his configuration settings.