php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51693 TOC method order
Submitted: 2010-04-29 09:23 UTC Modified: 2012-04-06 14:58 UTC
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: philip@php.net Assigned:
Status: Suspended Package: Doc Build problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-04-29 09:23 UTC] philip@php.net
Description:
------------
I expect to see all magical __*() methods ordered together (on top) when viewing 
the TOC. In other words, a TOC might look like this:

Foo
Foo::__construct()
Foo::__sleep();
Foo::arr();
Foo::count();
...

Instead of the current:

Foo
Foo::arr();
Foo::__construct()
Foo::count();
Foo::__sleep();
...

However, I might be alone here so feel free to speculate :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-06 14:58 UTC] bjori@php.net
-Status: Open +Status: Suspended
 [2012-04-06 14:58 UTC] bjori@php.net
This is currently done via XInclude, ordered by appearance (alphabetical) in the 
TOC (with the exception of explicit include of ctor as it uses different 
markup).

Re-ordering of anything is very very hard in PhD as we never look-a-head.
We could do this manually in the XML, by not using XInclude, but I don't think 
that is wanted either.

I can't think of any way to solve this.. suspending :]
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 13:03:49 2021 UTC