ID:               21513
 Comment by:       xuefer at 21cn dot com
 Reported By:      ceeam at mail dot ru
 Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: win32 (only)
 PHP Version:      4CVS, 5CVS
 Assigned To:      zeev
 New Comment:

compiled under cygwin

[Xuefer php4]$ ./sapi/cli/php.exe -v

PHP 4.3.5RC3-dev (cli) (built: Feb 13 2004 01:29:25)

Copyright (c) 1997-2004 The PHP Group

Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies



[Xuefer php4]$ make test

.........

PASS Testing register_shutdown_function() [tests/func/005.phpt]

<<- freeze here

it's running 005a.phpt





[Xuefer php4]$ sapi/cli/php -d max_execution_time=1 -r
'set_time_limit(1); for(;;) {}'

[Xuefer php4]$ sapi/cli/php test/func/005a.phpt

both is frozen


Previous Comments:
------------------------------------------------------------------------

[2004-01-19 04:52:58] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2003-08-04 00:24:07] wmeler at wp-sa dot pl

This is related to http://bugs.php.net/bug.php?id=16820 (see comment
from 21 Jul 2:46am CDT)

You can find my patch at http://strony.wp.pl/wp/wmeler/.

These are old issues ...

------------------------------------------------------------------------

[2003-01-22 22:44:36] [EMAIL PROTECTED]

I can not reproduce this with PHP CGI/CLI/Apache DSO,

but Steph tested the script under windows and

got the same results as [EMAIL PROTECTED] did so this is

definately a windows-only bug.



------------------------------------------------------------------------

[2003-01-22 02:09:49] ceeam at mail dot ru

[EMAIL PROTECTED]:

> This script works just fine for me (using CLI):

> [skipped]



I tested your script. The output is:



PHP Fatal error:  Maximum execution time of 1 second exceeded in
c:\exp.php on line 16

PHP Fatal error:  Maximum execution time of 1 second exceeded in
c:\exp.php on line 7



"test.log" contains only one "Start" line.



I tried with both my own (pretty much cleaned up) php.ini and
"recommended" php.ini.

I suspect it is only Windows-related problem.

------------------------------------------------------------------------

[2003-01-20 22:47:06] [EMAIL PROTECTED]

And this is related to http://bugs.php.net/bug.php?id=14542

(and maybe to http://bugs.php.net/bug.php?id=14251 ?)



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21513

-- 
Edit this bug report at http://bugs.php.net/?id=21513&edit=1

Reply via email to