ID: 49356 Updated by: [email protected] Reported By: lundstrom dot jerry at gmail dot com -Status: Assigned +Status: Feedback Bug Type: Date/time related Operating System: Ubuntu Jaunty PHP Version: 5.3.0 Assigned To: derick New Comment:
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. 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
