examples/files/open_fails.php
<?php
    $fd = fopen("no_such_dir/text.txt", "r");
    print "Still running";
?>

Warning: fopen(no_such_dir/text.txt): failed to open stream:
   No such file or directory in .../php/examples/files/open_fails.php on line 2
Still running