libxml returns codes and xmlreader

From: Date: Fri, 19 Aug 2011 10:27:59 +0000
Subject: libxml returns codes and xmlreader
Groups: php.internals 
Request: Send a blank email to internals+get-54713@lists.php.net to get a copy of this message
Hi again! Please excuse if this is a duplicate, my web mailer choked on that one :/ ---------- I've noticed, that some of the libxml return codes get "simplified" when used in xmlreader which can be quite problematic. I opened a bug report about this behaviour: https://bugs.php.net/bug.php?id=55459 The question is, wether this is considered a bug at all or is rather seen as a change request. Throughout the whole xmlreader extension libxml's 1, 0, -1 return codes are simply mapped to true/false. The fix is trivial, but I don't know if changing the return code of these php functions might break existing code. I'm short of a really easy way of working around that problem. Of course I could rename the xmlreader extension, fix it and could load a fixed version, but that seems awkward. Any suggestions? Greetings, Nico

« previous php.internals (#54713) next »