Re: allow extension writers to ignore E_NOTICE warnings about unset variables

From: Date: Thu, 11 May 2006 23:10:41 +0000
Subject: Re: allow extension writers to ignore E_NOTICE warnings about unset variables
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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

Thread (8 messages)

« previous php.internals (#23292) next »