Returning references and such
| From: | Andrei Zmievski | Date: | Tue, 10 Jun 2003 13:20:14 +0000 |
| Subject: | Returning references and such | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-2269@lists.php.net to get a copy of this message | ||
Can someone explain to me why ZE always resets the is_ref and refcount
fields of a function's return_value to 0 and 1 respectively? This means
that we cannot return references or refcounted values at all, and that
we can do things in userland PHP that we cannot do in C code.
-Andrei
* On the keyboard of life, always keep one finger on the escape key. *