php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51955 SPL classes are not fully documented
Submitted: 2010-05-31 15:05 UTC Modified: 2010-11-06 22:01 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: seva dot lapsha at gmail dot com Assigned: salathe (profile)
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: seva dot lapsha at gmail dot com
New email:
PHP Version: OS:

 

 [2010-05-31 15:05 UTC] seva dot lapsha at gmail dot com
Description:
------------
Some classes, like DualIterator are not @ http://php.net

The full list of SPL classes is available here: http://www.php.net/~helly/php/ext/spl/; in my opinion all of them should be documented also on php.net.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-31 15:06 UTC] seva dot lapsha at gmail dot com
The correct link is http://www.php.net/~helly/php/ext/spl/ ofcourse.
 [2010-05-31 16:15 UTC] philip@php.net
-Status: Open +Status: Feedback
 [2010-05-31 16:15 UTC] philip@php.net
I believe every SPL class is at php.net. Many are under-documented, but they are 
there, are are slowly being updated.

And DuelIterator is a user defined (example) class. I wouldn't say it's missing 
from the PHP manual, and wonder if you're aware that this does not exist in PHP. 
Are you simply desiring more examples?

http://www.php.net/~helly/php/ext/spl/dualiterator_8inc-source.html
 [2010-05-31 18:29 UTC] seva dot lapsha at gmail dot com
-Status: Feedback +Status: Open
 [2010-05-31 18:29 UTC] seva dot lapsha at gmail dot com
Okay, let me rephrase. If documentation of SPL classes would link to the available example classes, even if the link would be external to the SPL documentation, it would be helpful.
 [2010-06-01 00:18 UTC] bjori@php.net
-Status: Open +Status: Verified
 [2010-06-01 00:18 UTC] bjori@php.net
The "example classes" in php-src should probably be made into an Docbook example 
<part> or <chapter>..

It is stupid that users have to got browsing random directories in php-src and/or 
random php.net/~username sites for examples.
 [2010-07-26 17:22 UTC] salathe@php.net
-Assigned To: +Assigned To: salathe
 [2010-11-06 22:01 UTC] salathe@php.net
-Status: Verified +Status: Wont fix
 [2010-11-06 22:01 UTC] salathe@php.net
Closing this as "Won't Fix". However, some of the classes/ideas may find their way into the docs if they fit well.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC