← Back to context

Comment by charcircuit

10 hours ago

https://github.com/php/php-src/commit/01a40e89fbfc499936e3b0...

What everyone is looking for.

Really makes me appreciate using language with exceptions and not that crazy "manually check if error handling is required - and do it everywhere". The fix adds:

    if (ZEND_HAS_OOM()) {
        goto oom_nodeset;
    }

all over the codebase.