Re: [PHP-DEV] deprecating ext/mysql

2011-07-14 Thread Larry Garfield
On 07/10/2011 12:03 PM, Philip Olson wrote: Greetings PHP geeks, Don't panic! This is not a proposal to add errors or remove this popular extension. Not yet anyway, because it's too popular to do that now. The documentation team is discussing the database security situation, and educating use

Re: [PHP-DEV] Re: $arr = array('Hello', 'world'); $arr();

2011-07-14 Thread Felipe Pena
2011/7/14 Rune Kaagaard : > Will this work: > >    array('foo', 'bar')('arg1', 'arg2') > > ? > No, and it isn't supposed to either. -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: $arr = array('Hello', 'world'); $arr();

2011-07-14 Thread Rune Kaagaard
Will this work: array('foo', 'bar')('arg1', 'arg2') ? On Wed, Jun 8, 2011 at 3:48 PM, Christian Kaps wrote: > On Wed, 8 Jun 2011 15:39:59 +0200, Jordi Boggiano wrote: >> >> On Wed, Jun 8, 2011 at 2:46 PM, Felipe Pena wrote: >>> >>> class foo { >>>   public function __construct() { >>>    

[PHP-DEV] weak references

2011-07-14 Thread Ferenc Kovacs
To spare the "5.4 features vote" thread from the off-topic discussion, we can continue here. Hannes Landeholm brought this idea up, see http://news.php.net/php.internals/53956 and http://news.php.net/php.internals/53959 I would suggest that Hannes create an rfc, and add some examples and introduce

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Roger Llopart Pla
Maybe it could be implemented as a PECL package and then on a future version added to the core of PHP? 2011/7/14 Hannes Landeholm > Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really > need this feature and apparently others feel the same way. > > - It would benefit MVC

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Christopher Jones
On 07/14/2011 11:43 AM, Hannes Landeholm wrote: Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. - It would benefit MVC framework design - one of the most common design pattern for web development. - The tick

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Stas Malyshev
Hi! On 7/14/11 11:43 AM, Hannes Landeholm wrote: Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. We don't even have an RFC on it, let alone consensus & implementation, and we'd have a beta in a little more

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Hannes Landeholm
Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. - It would benefit MVC framework design - one of the most common design pattern for web development. - The ticket has been open for over a year now and it has a lo

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Stas Malyshev
Hi! On 7/14/11 8:50 AM, Hannes Landeholm wrote: Hello, Is it possible to add Weak References to this todo list? https://bugs.php.net/bug.php?id=52318 Probably not for 5.4.0. This looks like a thing that needs an RFC and discussion (and implementation of course ;). -- Stanislav Malyshev, So

Re: [PHP-DEV] PHP 5.4.0alpha2 released

2011-07-14 Thread David Soria Parra
On 2011-07-14, Christopher Jones wrote: > > > On 7/14/11 8:32 AM, David Soria Parra wrote: >> Hello! >> >> Stas has packed PHP 5.4.0alpha2 which you can find here: > > Good stuff. > >> We will have an alpha3 in about 3 to 4 weeks. > > The wiki currently says it will be on 4 Aug. If this date isn'

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Hannes Landeholm
Hello, Is it possible to add Weak References to this todo list? https://bugs.php.net/bug.php?id=52318 I've been waiting over a year now for this feature. It's a critical part of object relational layer mapping and my framework will be broken until it exists. One of our important customer projects

Re: [PHP-DEV] PHP 5.4.0alpha2 released

2011-07-14 Thread Christopher Jones
On 7/14/11 8:32 AM, David Soria Parra wrote: Hello! Stas has packed PHP 5.4.0alpha2 which you can find here: Good stuff. We will have an alpha3 in about 3 to 4 weeks. The wiki currently says it will be on 4 Aug. If this date isn't certain, can you add a note to that effect on the wiki?

[PHP-DEV] PHP 5.4.0alpha2 released

2011-07-14 Thread David Soria Parra
Hello! Stas has packed PHP 5.4.0alpha2 which you can find here: http://downloads.php.net/stas/ The Windows team provides windows binaries which you find here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you have a short reprod

[PHP-DEV] PHP 5.3.7RC3 Released for Testing

2011-07-14 Thread Ilia Alshanetsky
The third and hopefully final release candidate of 5.3.7 was just released for testing and can be downloaded here: https://downloads.php.net/ilia/php-5.3.7RC3.tar.bz2 (md5sum: 0ad46340ca3d4319ab10eac4a3978ae0) https://downloads.php.net/ilia/php-5.3.7RC3.tar.gz (md5sum: eab0329078f74f6c8fe5abcf6943