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

Reply via email to