Re: Re: extension can not receive unset values without E_NOTICE or referencecreation

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

« previous php.internals (#23709) next »