Re: extension can not receive unset values without E_NOTICE or reference creation
| From: | Pierre | Date: | Fri, 26 May 2006 20:59:48 +0000 |
| Subject: | Re: extension can not receive unset values without E_NOTICE or reference creation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23701@lists.php.net to get a copy of this message | ||
On Fri, 26 May 2006 15:45:19 -0500
dante@vocalspace.com ("D. Dante Lorenso") wrote:
> All,
>
> 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.
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.
-- Pierre