domxml patch from 31 May breaks BC
| From: | Christian Stocker | Date: | Wed, 19 Jun 2002 14:09:07 +0000 |
| Subject: | domxml patch from 31 May breaks BC | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85358@lists.php.net to get a copy of this message | ||
Hi
The patch from 31 May :
* added the ability to use new keywork with domxmls objects "new
DomDocument()"
breaks BC on some of my scripts (which i only realised now:..)
I have some
if (get_class($xmldoc) == "DomDocument")
in my scripts, but xmldoc now returns "domdocument"...
Brad, is it possible to revert that, but still having your intentions from
then work?
I know, it would be a quick fix in my scripts to check for both
class-names, but I don't like breaking BC and i would not be the only one
with that problem.
I didn't look for a fix by myself, 'cause I hope you know a quick
solution :)
chregu
--
christian stocker | bitflux GmbH | schöneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB