On Mon, Mar 22, 2010 at 5:04 PM, Herman Radtke <hermanradtke@gmail.com>wrote:
> > This patch handles timeout, not memory exhaustion.
>
> Apologies. My train of thought inexplicably switched over to memory.
> I meant to assert that your custom error handler could extend the
> length of the script to n extra seconds. This violates that idea of
> the timeout.
>
try:
time php -r 'set_time_limit(1);echo
"start";register_shutdown_function(function(){sleep(10);echo "done";});'
violates what?
Tyrael
> --
> Herman Radtke
> hermanradtke@gmail.com | http://hermanradtke.com
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>