Re: [PHP4BETA] enable $a = array(&$b); ?
| From: | Zeev Suraski | Date: | Tue, 10 Aug 1999 16:06:32 +0000 |
| Subject: | Re: [PHP4BETA] enable $a = array(&$b); ? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3287@lists.php.net to get a copy of this message | ||
At 11:55 10/08/99 , Thies C. Arntzen wrote:
zeev, andi - i would love a syntax like: <? $p1 = "some huge string or array"; $params = array("data" => &$p1); // allow &$ withing array declarations ?> do you think it could be implemented?There's no conceptual problem to implement it, but it's not too easy. We'll look at it when we have a bit more free time... Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il