[PHP4BETA] Some references issues
| From: | Andrey Zmievski | Date: | Sat, 08 May 1999 22:03:22 +0000 |
| Subject: | [PHP4BETA] Some references issues | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-693@lists.php.net to get a copy of this message | ||
I noticed that you can't use & to specify reference for hash value:
$a = 9;
$ar = array("a" => &$a);
Can this feature be added?
And this produces parse error: "expecting ')'"
$a = 9;
$ar = array(&$a);
Is that parse error correct?
-Andrey
* Software never has bugs. It just develops random features. *
--
PHP 4 Beta