Re: PHP 4.0 Bug #8414: set_time_out()andmax_execution_time description is not clear

From: Date: Mon, 25 Dec 2000 13:46:55 +0000
Subject: Re: PHP 4.0 Bug #8414: set_time_out()andmax_execution_time description is not clear
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-42251@lists.php.net to get a copy of this message
> > > <? > > > set_time_limit (2); > > > sleep (25); > > > print "not printed"; > > > ?> > > > > > > program ends after 25 seconds with an error that 2 seconds limit > > > exceeded. > > > >on my machine I get "not printed" without any errors. Do you run > >windows? > > Yes. Now that I tested it on Linux, I can see 'not printed'. so the windows version counts the wall time and interrupts the script on system function return. The documentation seems to be closer to windows version. Probably not only the documentation need to be fixed here :) oleg

« previous php.dev (#42251) next »