Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76413 invoked by uid 1010); 26 May 2006 21:35:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76372 invoked from network); 26 May 2006 21:35:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2006 21:35:06 -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:47033] helo=fox02.stravio.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 31/52-17316-9DF67744 for ; Fri, 26 May 2006 17:15:05 -0400 Received: from [127.0.0.1] (unknown [66.243.31.162]) by fox02.stravio.com (Postfix) with ESMTP id A461E26C2B0; Fri, 26 May 2006 16:15:01 -0500 (CDT) Message-ID: <44776FD0.4040600@vocalspace.com> Date: Fri, 26 May 2006 16:14:56 -0500 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pierre.php@gmail.com Cc: internals@lists.php.net References: <447768DF.1000203@vocalspace.com> <20060526225948.7afd13a4@localhost.localdomain> In-Reply-To: <20060526225948.7afd13a4@localhost.localdomain> 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 reference creation From: dante@vocalspace.com ("D. Dante Lorenso") Pierre wrote: > On Fri, 26 May 2006 15:45:19 -0500 > dante@vocalspace.com ("D. Dante Lorenso") 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: >> > It is perfectly normal and desired. > Not desired. > The variable is fetched before entering your function. This fetch > operation raises a E_NOTICE, create/initialize the ZVAL and pass it to > your function. > You miss the point. If the ZVAL was created and initialized already, then I wouldn't be performing this exercise. It is because the ZVAL has not been created that I am writing this extension. Dante