Manuel Lemos wrote:
Hello,
I think that making all failed memory allocations recoverable is not viable because more PHP C code that makes memory allocations assumes it only returns if it succeeds. Trying to change that everywhere memory is allocated is and monster job that I doubt that any PHP core developer will agree on doing.

You could just create a new function for that: alloc_no_exception
There's no need to change every call, you'd only need to change the calls that can take a NULL result.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to