[PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-13 Thread Leon Sorokin
change seems like the only time to get this done in PHP. [1] https://bugs.php.net/bug.php?id=61915 [2] https://wiki.php.net/rfc/isset_ternary [3] http://news.php.net/php.internals/79584 thanks, -- Leon Sorokin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-13 Thread Leon Sorokin
like this and the continued reliance on arguments posed in a different era/landscape that compel me to reconsider my continued participation in the PHP community at all. cheers, -- Leon Sorokin On 12/13/2014 5:20 PM, Derick Rethans wrote: On Sat, 13 Dec 2014, Leon Sorokin wrote: I

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-14 Thread Leon Sorokin
in more readable if-elseif chains, long conditional assignment chains can serve the same purpose, granted you space them appropriately. I would even go as far as saying that with proper spacing, they are more readable than the 'if' or 'case' blocks that would need to replace them. -- Leon Sorokin

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-14 Thread Leon Sorokin
release. Oddly, 5.4 is a good example of a much larger incompatibility changelog than the provisional one for 7.0: http://php.net/manual/en/migration54.incompatible.php -- Leon Sorokin On 12/14/2014 6:01 AM, George Bond wrote: On 14 December 2014 at 08:24, Leon Sorokin leeon...@gmail.com wrote

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-14 Thread Leon Sorokin
, but the logic would be broken from a required-output point of view relative to how it was operating previously, regardless of whether it was understood or not when it was written. -- Leon Sorokin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-15 Thread Leon Sorokin
deprecation. So this burden of proof is unmeetable by definition. -- Leon Sorokin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-15 Thread Leon Sorokin
', others say it's 'non-negligible'. And the whole comedy is, no one can actually provide definitive numbers since nobody will ever know but a tiny portion of all source code that is out there, so all arguments stem from 'meta' evidence and personal experience. -- Leon Sorokin -- PHP Internals - PHP

Re: [PHP-DEV] [VOTE][RFC] PHP 5.7

2014-12-30 Thread Leon Sorokin
On 12/30/2014 2:26 AM, Stanislav Malyshev wrote: I still haven't achieved a proper understanding of what 5.7 would actually include (so far the only real BC thing mentioned that it can warn about is the switch thing, and IMHO making the new minor just because of that makes little sense, of

Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-23 Thread Leon Sorokin
On 1/23/2017 2:45 PM, Michael Wallner wrote: Just assigned that to me, I'll try to come to it the next few days. Great, thanks! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] imap_fetchbody() leaks memory

2017-01-21 Thread Leon Sorokin
Hey guys, I filed bug 73493 [1] a couple months ago and there's no triage or visible activity yet. Was hoping to get an update if possible. I'm forced to download any large INBOX in batches with imap_close() & imap_open() gymnastics to avoid chewing through 2GB+ of RAM. thanks! [1]

Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-26 Thread Leon Sorokin
On 1/25/2017 3:52 AM, Michael Wallner wrote: Hi, I've updated the bug: https://bugs.php.net/bug.php?id=73493 TL;DR The c-client lib performs a lot of caching; use imap_gc() to clean those caches from time to time. Ok, great. Will give that a try. -- PHP Internals - PHP Runtime Development