Doc #60722 [Com]: Missing notes on when parameters were added?
| From: | lonny at lonnylot dot com | Date: | Wed, 14 Nov 2012 04:33:49 +0000 |
| Subject: | Doc #60722 [Com]: Missing notes on when parameters were added? | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9120@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60722&edit=1
ID: 60722
Comment by: lonny at lonnylot dot com
Reported by: zippidyzap at gmail dot com
Summary: Missing notes on when parameters were added?
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
These parameters were first released in PHP 5.2.0
http://svn.php.net/viewvc?view=revision&revision=213615
A patch is pending in the online document editor.
Previous Comments:
------------------------------------------------------------------------
[2012-01-12 00:53:35] zippidyzap at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/simplexmlelement.construct#refsect1-simplexmlelement.construct-parameters
---
The SimpleXML::__construct() doc fails to state when parameters number 4 & 5 ($ns and
$is_prefix, respectively) were added.
On PHP 5.1.6, attempting to use the $ns parameters results in a 'SimpleXMLElement::_construct()
expects at most 3 parameters, 4 given' error.
This may also affect http://us.php.net/manual/en/function.simplexml-load-string.php,
and http://us.php.net/manual/en/function.simplexml-load-file.php.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60722&edit=1