John Parker wrote:
In essence, I'm asking if it's technically possible to catch an out of
memory error in PHP.
As such, it's not really a code specific issue. I'm just asked whether
or not it's possible. (I'm pretty sure it isn't, I'm just double
checking.)
As far as I know it's not technically possibly because the problem is
caught when an attempt is made to allocate more memory than allowed and
because it's a fatal error execution stops there.
-Stut
--
http://stut.net/
-----Original Message-----
From: Jay Blanchard [mailto:jblanchard@xxxxxxxxxx]
Sent: 19 October 2007 13:46
To: John Parker; php-general@xxxxxxxxxxxxx
Subject: RE: Catching/handing out of memory errors...
[snip]
I've tried using a error handler and try/catch block, but it doesn't
seem to be possible.
Is this the case, or am I missing something obvious?
[/snip]
Without seeing your code or knowing more specifics about what you are
trying to do it will be hard to answer this question.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php