Req #52210 [Opn->Csd]: simplexml_load_file should give type hint to SimpleXMLElement in phpdoc

From: Date: Thu, 29 Jan 2015 20:51:00 +0000
Subject: Req #52210 [Opn->Csd]: simplexml_load_file should give type hint to SimpleXMLElement in phpdoc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190323@lists.php.net to get a copy of this message
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)

« previous php.bugs (#190323) next »