Question: 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?

Answer: 
A warning is emitted but the script execution continues. The fact that your script stops is more likely related to processing you try to do afterward but not to the warning itself.

The previous suggestion to use file\_exists and is\_readable is a good one.
Even if it continued, the program would, most probably, not work the way it was meant to. Anyway, try handling the exception:

```
try {
    # code that may cause an error
}
catch( Exception $e ) {
    # do error handling mechanism
}

```