Re: cvs: php-src(PHP_5_1) /ext/xmlreader php_xmlreader.c

From: Date: Thu, 30 Mar 2006 23:26:38 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/xmlreader php_xmlreader.c
References: 1 2 3 4 5 6 7  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-37609@lists.php.net to get a copy of this message
Hi Hannes, You have to keep in mind that xmlreader is implemented to follow the MS implementation (which is good). On 3/31/06, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > However, DOM has hasAttribute() which returns boolean. Given the initial > As I see it, E_NOTICE should be thrown since accessing uninitialized > variable triggers E_NOTICE, why not XML attribute? > (yeah, massive BC break so no chance in hell I'd recommend > implementing it though) That's insane :-) Null is the way to go, the question was only when is the right time to make the change. --Pierre

« previous php.cvs (#37609) next »