Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18232 invoked by uid 1010); 26 May 2006 23:32:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18217 invoked from network); 26 May 2006 23:32:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2006 23:32:48 -0000 X-PHP-List-Original-Sender: dante@vocalspace.com X-Host-Fingerprint: 69.56.193.72 fox02.stravio.com Linux 2.5 (sometimes 2.4) (4) Received: from ([69.56.193.72:47707] helo=fox02.stravio.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 44/67-17316-02097744 for ; Fri, 26 May 2006 19:32:48 -0400 Received: from [127.0.0.1] (unknown [66.243.31.162]) by fox02.stravio.com (Postfix) with ESMTP id AB45A26C29D; Fri, 26 May 2006 18:32:44 -0500 (CDT) Message-ID: <44779017.9000809@vocalspace.com> Date: Fri, 26 May 2006 18:32:39 -0500 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Sara Golemon Cc: internals@lists.php.net References: <447768DF.1000203@vocalspace.com> <009501c6811a$29987d30$5c8be5a9@ohr.berkeley.edu> In-Reply-To: <009501c6811a$29987d30$5c8be5a9@ohr.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: extension can not receive unset values without E_NOTICE or referencecreation From: dante@vocalspace.com ("D. Dante Lorenso") Sara Golemon wrote: >> Back on the topic of trying to write a 'filled' function in an >> extension, I have run into trouble. I have declared a function as follows: >> ... >> Unfortunately, $x now contains a 'pig' key and the non-existent $y has >> been transformed into an object: > Short answer: No. What you're trying to do can not be done from an > extension. -Sara > Can I have this feature added to the TODO list for 5.2 or 6.0? Simple behavior definition: any ZVAL which does not exist for an extension's function (which doesn't care about the ZVAL's existence) should pass a newly created NULL ZVAL to the extension in place of the non-existent ZVAL and the non-existent ZVAL will continue to not exist after the function returns. Dante