Doc #55017 [NEW]: Case error for method name

From: Date: Thu, 09 Jun 2011 14:33:26 +0000
Subject: Doc #55017 [NEW]: Case error for method name
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6716@lists.php.net to get a copy of this message
From: Operating system: n/a PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Case error for method name Description: ------------ --- From manual page: http://www.php.net/xmlreader.xml#Description --- XMLReader::XML (PHP 5 >= 5.1.2) XMLReader::XML — Set the data containing the XML to parse Report a bug Description bool XMLReader::xml ( string $source [, string $encoding [, int $options = 0 ]] ) Set the data containing the XML to parse. ***The above was pasted directly from http://us3.php.net/manual/en/xmlreader.xml.php. In the example above, it clearly states the method name is XML twice, but under Description, it states: bool XMLReader::xml Is the method name 'xml' or 'XML'? The documentation shows both. Normally this is not true for a programming language :-) Test script: --------------- n/a Expected result: ---------------- That depends on what the actual method name is. Actual result: -------------- Full contents in 'Description' box. -- Edit bug report at http://bugs.php.net/bug.php?id=55017&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=55017&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=55017&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=55017&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=55017&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=55017&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=55017&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=55017&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=55017&r=needscript Try newer version: http://bugs.php.net/fix.php?id=55017&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=55017&r=support Expected behavior: http://bugs.php.net/fix.php?id=55017&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=55017&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=55017&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=55017&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=55017&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=55017&r=dst IIS Stability: http://bugs.php.net/fix.php?id=55017&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=55017&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=55017&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=55017&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=55017&r=mysqlcfg

« previous php.doc.bugs (#6716) next »