Doc #61874 [Opn]: doc for class_alias missing the third parameter: autoload
| From: | reeze dot xia at gmail dot com | Date: | Sat, 28 Apr 2012 07:49:11 +0000 |
| Subject: | Doc #61874 [Opn]: doc for class_alias missing the third parameter: autoload | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8312@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61874&edit=1
ID: 61874
User updated by: reeze dot xia at gmail dot com
Reported by: reeze dot xia at gmail dot com
Summary: doc for class_alias missing the third parameter:
autoload
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: ANY
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
BTW: the current document for class_alias's second parameter is optional, that is
not true.
Previous Comments:
------------------------------------------------------------------------
[2012-04-28 07:46:05] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61874&edit=1