PHP Overload __call() and case sensitive

From: Date: Fri, 07 May 2004 23:00:02 +0000
Subject: PHP Overload __call() and case sensitive
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28986@lists.php.net to get a copy of this message
Hi, With the PHP overload system, when a method is call, the internal __call() method don't return the correct case of the method. Anybody know how to get the correct case of the method called ? For my XML_FastCreate, we can use translation option to bypass this bug, but this is not the best solution. Thanks, Le ven 07/05/2004 à 20:06, patrick dot lambert at noggin dot com a écrit : > From: patrick dot lambert at noggin dot com > Operating system: Solaris 9 > PHP version: 4.3.4 > PHP Bug Type: XML_FastCreate > Bug description: XML tags are converted to lowercase > > Description: > ------------ > Upper or mixed-case XML tags are converted to lowercase. > > Reproduce code: > --------------- > $x =& new XML_FastCreate_Text(); > > $x->outer( > $x->INNER('foo') > ); > > $x->toXML(); > > Expected result: > ---------------- > <?xml version="1.0" encoding="UTF-8" standalone="no" ?> > <outer> > <INNER>foo</INNER></outer> > > Actual result: > -------------- > <?xml version="1.0" encoding="UTF-8" standalone="no" ?> > <outer> > <inner>foo</inner></outer> > > -- > Edit bug report at > http://pear.php.net/bugs/bug.php?id=1367&edit=1

« previous php.pear.dev (#28986) next »