Re: Re: extension can not receive unset values without E_NOTICE or reference creation

From: Date: Fri, 26 May 2006 21:14:56 +0000
Subject: Re: Re: extension can not receive unset values without E_NOTICE or reference creation
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-23703@lists.php.net to get a copy of this message
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

« previous php.internals (#23703) next »