ID: 49356
Updated by: [email protected]
Reported By: lundstrom dot jerry at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Date/time related
Operating System: Ubuntu Jaunty
PHP Version: 5.3.0
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2009-08-25 12:31:30] lundstrom dot jerry at gmail dot com
Description:
------------
Looping date_create() leaks memory even if you unset the object and has
set a date.timezone.
Reproduce code:
---------------
<?
ini_set('date.timezone', 'Europe/Stockholm');
while(1)
{
$date = date_create('2008-01-01');
unset($date);
}
?>
Expected result:
----------------
No increase in memory usage.
Actual result:
--------------
Grows around 100-150meg per sec.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49356&edit=1