[PHP-DEV] [PATCH] Bug #60139 closure memory leaks

2011-10-29 Thread Arnaud Le Blanc
Hi, Closures can hold references to variables, but don't expose them to the garbage collector. The GC is unable to find cycles in which a closure is involved, and this can create memory leaks. I've reported this problem in https://bugs.php.net/bug.php?id=60139 and posted a patch. Can someone

Re: [PHP-DEV] [VOTE] DateTime and Daylight Saving Time Transitions

2011-10-29 Thread Daniel Convissor
Hi Stas: That's what I don't understand - so in the real code, what would be the use case where I'd want to use ST/DST? I.e., if I know the exact time, I could just use the timestamp or GMT time which doesn't have transitions. Yeah, this stuff is very edge case. It is for use when one needs