Re: php5 method return reference error?
| From: | Analysis & Solutions | Date: | Thu, 13 Nov 2003 06:52:21 +0000 |
| Subject: | Re: php5 method return reference error? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5415@lists.php.net to get a copy of this message | ||
Hi Walter:
On Wed, Nov 12, 2003 at 10:13:10PM -0800, Walter A. Boring IV wrote:
>
> "Fatal error: Only variables or references can be returned by reference
> in /home/waboring/devel/html/test.php on line 11"
This is the expected behavior.
This has been discussed in the bugs database and on this list. I even
started a thread on this topic today.
This group is archived in the following two places:
http://groups.google.com/groups?group=mailing.www.php-dev
http://marc.theaimsgroup.com/?l=php-dev
The topic is discussed in bug 24687:
http://bugs.php.net/bug.php?id=24687
Enjoy,
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409