php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61874 doc for class_alias missing the third parameter: autoload
Submitted: 2012-04-28 07:46 UTC Modified: 2012-10-08 08:37 UTC
From: reeze dot xia at gmail dot com Assigned: reeze (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: ANY
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: reeze dot xia at gmail dot com
New email:
PHP Version: OS:

 

 [2012-04-28 07:46 UTC] reeze dot xia at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.class-alias#refsect1-function.class-
alias-seealso
---
The proto for class_alias:
proto bool class_alias(string user_class_name , string alias_name [, bool 
autoload]).

There are three parameter. the third one is optional. but the document only have 
two and missed the third autoload parameter.
and should document the behavior two.


@see also https://bugs.php.net/bug.php?id=54207 He is requesting for the third 
parameter as me. but it already exist

Test script:
---------------
NONE


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-28 07:49 UTC] reeze dot xia at gmail dot com
BTW: the current document for class_alias's second parameter is optional, that is 
not true.
 [2012-10-02 17:11 UTC] gustavnikolaj at gmail dot com
You can edit the documentation using the online docbook editor. It is available 
here: https://edit.php.net/?project=PHP&perm=en/function.class-alias.php

It is linked on all manual pages in the same bar as the language selector, just 
by the side of the "Last edited" string.

:-)
 [2012-10-08 08:37 UTC] reeze@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2012-10-08 08:37 UTC] reeze@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: reeze
 [2012-10-08 08:38 UTC] reeze@php.net
Thanks gustavnikolaj :)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 14:00:01 2026 UTC