Doc #61874 [Com]: doc for class_alias missing the third parameter: autoload

From: Date: Mon, 08 Oct 2012 08:38:14 +0000
Subject: Doc #61874 [Com]: doc for class_alias missing the third parameter: autoload
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8939@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 Comment by: reeze@php.net Reported by: reeze dot xia at gmail dot com Summary: doc for class_alias missing the third parameter: autoload Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: ANY PHP Version: Irrelevant Assigned To: reeze Block user comment: N Private report: N New Comment: Thanks gustavnikolaj :) Previous Comments: ------------------------------------------------------------------------ [2012-10-08 08:37:40] 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-02 17:11:23] 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-04-28 07:49:11] reeze dot xia at gmail dot com BTW: the current document for class_alias's second parameter is optional, that is not true. ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#8939) next »