=& problem with ZE2: Can't use function return value in write context
| From: | John Lim | Date: | Tue, 11 Jun 2002 10:12:01 +0000 |
| Subject: | =& problem with ZE2: Can't use function return value in write context | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85131@lists.php.net to get a copy of this message | ||
Hello,
With the ZE 2, PHP 4.3.0-alpha
<?php
:
: # some init code
:
$aclass =& afunction($params);
?>
I get an error that looks like this:
Fatal error: Can't use function return value in write context in
d:\inetpub\wwwroot\php\test5.php on line 29
Is this a bug or a feature of the new ZE2. I noticed there are many places
in PEAR and my code that use the =& syntax.
Thanks again, John