Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61154 invoked from network); 10 Jun 2003 13:20:23 -0000 Received: from unknown (HELO localhost.localdomain) (65.198.110.7) by pb1.pair.com with SMTP; 10 Jun 2003 13:20:23 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h5ADKEY04114; Tue, 10 Jun 2003 09:20:14 -0400 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Tue, 10 Jun 2003 09:20:14 -0400 To: PHP Internals Cc: Andi Gutmans , Zeev Suraski Message-ID: <20030610132013.GF3753@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , PHP Internals , Andi Gutmans , Zeev Suraski Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Returning references and such From: andrei@gravitonic.com (Andrei Zmievski) 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. *