ID: 36819
User updated by: liber at iproom dot com
Reported By: liber at iproom dot com
Status: Open
Bug Type: *General Issues
Operating System: Windows XP
PHP Version: 5.1.2
New Comment:
if continue executes after the crash messages popup,
after fews times executions, it shows following messages:
Warning: Unknown: failed to open stream: Invalid argument in Unknown on
line 0
Warning: Unknown: Failed opening 'C:\Projects\test\tz.php' for
inclusion (include_path='.;C:\php5\pear') in Unknown on line 0
Previous Comments:
------------------------------------------------------------------------
[2006-03-22 04:33:08] liber at iproom dot com
Description:
------------
if putenv("TZ=some time zone") then
putenv("TZ=")
will cause the apache crash.
this only occur if this commmand executes frequent,
and only on Windows platform.
Reproduce code:
---------------
<?php
putenv("TZ=CST-8");
putenv("TZ=");
echo time();
?>
Expected result:
----------------
display the timestamp
Actual result:
--------------
if executes frequent and quickly (maybe more than 20-30 times)
the apache will popup crash messages.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36819&edit=1