Marcus Boerger wrote:
no, the compiler generates code that makes the executor generate the variable and complain prior to performing the call.
The executor doesn't complain about unset variables prior to calling functions by reference, so I was thinking it could be modified to also not complain when calling functions that don't care about set variables. Naturally, the unset variable would evaluate as NULL and be passed as such, just there would be no E_NOTICE.
In a zend extension you could try to hook into that process.
How do you mean? Got any pointers? Dante -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php