ID:               49356
 User updated by:  lundstrom dot jerry at gmail dot com
 Reported By:      lundstrom dot jerry at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Date/time related
 Operating System: Ubuntu Jaunty
 PHP Version:      5.3.0
 Assigned To:      derick
 New Comment:

I can confirm the fix as of php5.3-200908251230.

When will the next 5.3 version be released?


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

[2009-08-25 12:44:10] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

I can can reproduce this in 5.3.0, but not with 5.3.1-dev.

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

[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

Reply via email to