Re: Problem with pass-by-ref
| From: | André Langhorst | Date: | Sun, 19 Nov 2000 21:21:52 +0000 |
| Subject: | Re: Problem with pass-by-ref | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38519@lists.php.net to get a copy of this message | ||
foo() should return a reference. Defint it as: function &foo() { }I did check this too of course, but it does not work. Btw, variable is variable and your check should not (can it?) care if referenced or not.(?) Doing... function foo() { return $foo; } $foo=&foo(); is legal too although it makes no sense... andré -- · André Langhorst · t: +49 571 3201801 · · waldschrott@php.net · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net ·