Doc #55017 [Opn->Bgs]: Case error for method name

From: Date: Thu, 09 Jun 2011 17:43:27 +0000
Subject: Doc #55017 [Opn->Bgs]: Case error for method name
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6719@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=55017&edit=1 ID: 55017 Updated by: bjori@php.net Reported by: bsasser at sindtech dot net Summary: Case error for method name -Status: Open +Status: Bogus Type: Documentation Problem Package: Documentation problem Operating System: n/a PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Classes, methods, functions, keywords etc etc etc are case insensitive in PHP. Previous Comments: ------------------------------------------------------------------------ [2011-06-09 16:33:24] bsasser at sindtech dot net 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 this bug report at http://bugs.php.net/bug.php?id=55017&edit=1

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