Doc #66665 [Opn]: typo in function parameters for class_alias
| From: | sobak@php.net | Date: | Sat, 27 Dec 2014 19:22:05 +0000 |
| Subject: | Doc #66665 [Opn]: typo in function parameters for class_alias | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11762@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66665&edit=1
ID: 66665
Updated by: sobak@php.net
Reported by: steve dot putala at gmail dot com
Summary: typo in function parameters for class_alias
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
Hello Peter. I've assigned you, because you actually fixed this bug
(https://github.com/salathe/phpdoc-en/commit/3d2d68196da87d781dbd889014249cc46648faeb) and I think
you should close it ;)
Previous Comments:
------------------------------------------------------------------------
[2014-02-07 19:53:42] steve dot putala at gmail dot com
I don't believe you can drop the "to". I just thought about class_exists, and think
it both sounds better and fosters consistency to mimic the class_exists wording:
"Whether or not to call __autoload by default if the original class is not found."
------------------------------------------------------------------------
[2014-02-07 19:33:23] dereckson at espace-win dot org
Does "Whether to do autoload if the ..." seem correct to you? If so, I'm not sure
it's grammatically wrong to drop the to and write "Whether do autoload if the ...".
------------------------------------------------------------------------
[2014-02-07 19:11:06] steve dot putala at gmail dot com
Sorry, I mistakenly called class_alias as class instead of a function
------------------------------------------------------------------------
[2014-02-07 19:09:55] steve dot putala at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.class-alias
---
Under Parameters -> Autoload the description should read "Whether to autoload if the
original class is not found." The second word "do" is wrong in the documentation.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66665&edit=1