|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-25 12:44 UTC] derick@php.net
[2009-08-26 09:07 UTC] lundstrom dot jerry at gmail dot com
[2009-08-26 09:11 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 07:00:01 2025 UTC |
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.