On 21/10/2019 17:02, Rowan Tommins wrote:
- They immediately jump control out of the current frame of execution. Unless you put a separate "try-catch" around every line, there is no "acknowledge and run next line".
I've been toying with the idea of: $x = tryval fopen('missing.txt', 'r'), FileException => null; if ($x === null) { die('File could not be opened.'); } -- Mark Randall -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php