[PHP-DEV] Coverity Scan

2011-08-06 Thread Rasmus Lerdorf
Coverity has run a new scan of trunk and there are a lot of valid issues. You have probably noticed that I have started to fix some of them, but there are 500+ to go, so I could use some help. The following people already have Coverity accounts: andi, antony, colder, derick, dmitry, helly, iliaa,

Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload*

2011-08-06 Thread Sebastian Krebs
Hi. I really like to see this [1] and also I would like to see this in 5.4. I cannot C, thus I would appreciate, if someone can provide a patch. Additional I suggests to include constants (global/namespace, not the class constants) into the RFC too. [1] http://news.php.net/php.internals/

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Ferenc Kovacs
On Sat, Aug 6, 2011 at 6:39 PM, Rasmus Lerdorf wrote: > On 08/06/2011 03:54 AM, Ferenc Kovacs wrote: >> whats the status of this? >> should we create a formal vote in the wiki? > > The status of binary notation for integers? Did you miss it? > Yes, there was a vote, and yes the feature is already

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Rasmus Lerdorf
On 08/06/2011 03:54 AM, Ferenc Kovacs wrote: > whats the status of this? > should we create a formal vote in the wiki? The status of binary notation for integers? Did you miss it? Yes, there was a vote, and yes the feature is already in alpha3 which was released last week. https://wiki.php.net/rf

Re: [PHP-DEV] [VOTE] Weak References

2011-08-06 Thread Lars Schultz
Am 06.08.2011 14:09, schrieb pierre@gmail.com: Out of curiosity, which bc issue blocks the move? The fact that after 5.2.6 we can't set "mbstring.func_overload" PHP_INI_PERDIR anymore, but need to set it for the whole installation (PHP_INI_SYSTEM). Which wasn't even mentioned in the chang

Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload*

2011-08-06 Thread Ryan McCue
Ferenc Kovacs wrote: > I would like to introduce this RFC which would provide function > autoloading through the spl_autoload facility without userland BC > breakage. Shouldn't the default type be T_CLASS|T_INTERFACE? -- Ryan McCue -- PHP Internals - PHP Runtime Develo

[PHP-DEV] [RFC] Function autoloading through spl_autoload*

2011-08-06 Thread Ferenc Kovacs
Hi. I would like to introduce this RFC which would provide function autoloading through the spl_autoload facility without userland BC breakage. https://wiki.php.net/rfc/autofunc -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Ferenc Kovacs
On Mon, Jun 6, 2011 at 5:51 PM, Jonah H. Harris wrote: > On Tue, Nov 30, 2010 at 10:43 AM, Pierre Joye wrote: > >> +1, next major version. >> > > Just following up on this patch from Nov 2010. Has there been any movement > on this? As it's not committed, I was just wondering what the next major >

Re: [PHP-DEV] 5.3.7 is there a RC5 coming soon?

2011-08-06 Thread Pierre Joye
On Sat, Aug 6, 2011 at 11:36 AM, James Yu wrote: > everyone, sorry for the confusion. > > My question was, since the RC4 build couldn't work properly because > SSL was disabled, is there a different build (RC5 or final release) > coming soon? > > I know the issue has been fixed in snapshot build a

Re: [PHP-DEV] 5.3.7 is there a RC5 coming soon?

2011-08-06 Thread James Yu
everyone, sorry for the confusion. My question was, since the RC4 build couldn't work properly because SSL was disabled, is there a different build (RC5 or final release) coming soon? I know the issue has been fixed in snapshot build after RC4, but we would like to have the fix in a formal build,

Re: [PHP-DEV] asString() method vs __toString() magic method.

2011-08-06 Thread Richard Quadling
On 3 August 2011 00:51, Stas Malyshev wrote: > Hi! > > On 8/2/11 7:51 AM, Etienne Kneuss wrote: >> >> The (historic) reason is that the toString conversion occurs at >> various places in the engine, and in some of them, throwing exceptions >> caused trouble. It is not clear whether this limitation

Re: [PHP-DEV] [VOTE] Weak References

2011-08-06 Thread Lars Schultz
Am 06.08.2011 02:14, schrieb Hannes Landeholm: Yeah I think there's a lot of misunderstandings going on with weak/soft references and how the garbage collector works. Weak/soft references is not some kind of solution to the cyclic reference problem. The GC takes care of that already. You can use

Re: [PHP-DEV] 5.3.7 is there a RC5 coming soon?

2011-08-06 Thread pierre....@gmail.com
It is fixed already. - Reply message - From: "James Yu" Date: Sat, Aug 6, 2011 03:29 Subject: [PHP-DEV] 5.3.7 is there a RC5 coming soon? To: "Johannes Schlüter" Cc: "Ilia Alshanetsky" , , "Pierre A.Joye" Hi Johannes, one question, will final release build has this build issue fixe

Re: [PHP-DEV] [VOTE] Weak References

2011-08-06 Thread Lester Caine
Hannes Landeholm wrote: - Weak references solves the loose coupled object indexing problem. "I need this reference as long as it's referenced somewhere else." - Soft references solves the caching problem. "I need this reference as long as we have plenty of memory available." - The GC solves the c