php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55017 Case error for method name
Submitted: 2011-06-09 16:33 UTC Modified: 2011-06-09 19:43 UTC
From: bsasser at sindtech dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bsasser at sindtech dot net
New email:
PHP Version: OS:

 

 [2011-06-09 16:33 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-09 19:43 UTC] bjori@php.net
-Status: Open +Status: Bogus
 [2011-06-09 19:43 UTC] bjori@php.net
Classes, methods, functions, keywords etc etc etc are case insensitive in PHP.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 03:00:01 2026 UTC