Req #52210 [Opn->Csd]: simplexml_load_file should give type hint to SimpleXMLElement in phpdoc
Edit report at https://bugs.php.net/bug.php?id=52210&edit=1
ID: 52210
Updated by: requinix@php.net
Reported by: ch@php.net
Summary: simplexml_load_file should give type hint to
SimpleXMLElement in phpdoc
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: SimpleXML related
Operating System: *
PHP Version: 5.3.2
-Assigned To:
+Assigned To: requinix
Block user comment: N
Private report: N
New Comment:
http://svn.php.net/viewvc/phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-file.xml?r1=311775&r2=319987
http://svn.php.net/viewvc/phpdoc/de/trunk/reference/simplexml/functions/simplexml-load-file.xml?r1=297032&r2=320675
Previous Comments:
------------------------------------------------------------------------
[2015-01-29 20:43:37] cmbecker69 at gmx dot de
This is already fixed, see
<http://php.net/manual/en/function.simplexml-load-file.php>.
------------------------------------------------------------------------
[2010-06-30 13:59:32] ch@php.net
Description:
------------
The current phpdoc of simplexml_load_file() on
http://de3.php.net/manual/en/function.simplexml-load-file.php
says:
object simplexml_load_file ( string $filename [, string $class_name =
"SimpleXMLElement" [, int $options = 0 [, string $ns [, bool $is_prefix = false
]]]] )
To aide auto-completion in IDEs it would be helpful if the documentation would
be changed to
SimpleXMLElement simplexml_load_file(...)
At least NetBeans seems to auto generate stub .php files from the online documentation.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=52210&edit=1
Thread (3 messages)