Patch to use expression with "new" keyword

From: Date: Thu, 19 Apr 2012 09:31:33 +0000
Subject: Patch to use expression with "new" keyword
Groups: php.internals 
Request: Send a blank email to internals+get-60214@lists.php.net to get a copy of this message
Hi everyone ! Just done a pull request (https://github.com/php/php-src/pull/62) on php/php-src to allow the use of an expression with "new" keyword. The patch allow the user to do : <?php class Foo {} $oo = 'oo'; $foo = new {'f' . $oo}; ?> Moreover, seems to me that it's not possible to subscribe to git-pulls@lists.php.net from http://www.php.net/mailing-lists.php. best regards, Fred ======================================================================== Frédéric Hardy : Directeur technique et fonctionnel agile CV : http://blog.mageekbox.net/public/cv.frederic.hardy.pdf Blog : http://blog.mageekbox.net Twitter : http://twitter.com/mageekguy ========================================================================

« previous php.internals (#60214) next »