[PHP-DEV] Re: Bug #63615 DateTime::modify() ignores timezone [PATCH]

2012-12-06 Thread Paul Taulborg
Okay, here is the proper fixed patch, tested via various methods: $d1 = new DateTime; while(1) { // no memory leak $d1->modify("Tue, 10 Apr 2012 11:27:56 +0300"); // memory leak - now fixed with new patch $d1->modify("Tue, 10 Apr 2012 11:27:56 CST"); // no memory leak $d1->modi

[PHP-DEV] Re: Bug #63615 DateTime::modify() ignores timezone [PATCH]

2012-12-06 Thread Paul Taulborg
Can someone remove the patch from this bug for me? While it fixes the problem, it opens up some potential memory leaks, so I'd hate to see it get implemented by mistake before I get a chance to fix that as well. Thanks! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi