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

From: Date: Sun, 28 May 2006 21:54:53 +0000
Subject: Re: Re: extension can not receive unset values without E_NOTICE or referencecreation
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-23759@lists.php.net to get a copy of this message
The E_NOTICE highlights a possible programmer error. If you don't want to see it, turn off E_NOTICE level in your error reporting settings. --Wez. On 5/26/06, D. Dante Lorenso <dante@vocalspace.com> wrote:
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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#23759) next »