php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66665 typo in function parameters for class_alias
Submitted: 2014-02-07 19:09 UTC Modified: 2014-12-31 12:18 UTC
From: steve dot putala at gmail dot com Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: steve dot putala at gmail dot com
New email:
PHP Version: OS:

 

 [2014-02-07 19:09 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-07 19:11 UTC] steve dot putala at gmail dot com
-Summary: typo in class parameters for class_alias +Summary: typo in function parameters for class_alias
 [2014-02-07 19:11 UTC] steve dot putala at gmail dot com
Sorry, I mistakenly called class_alias as class instead of a function
 [2014-02-07 19:33 UTC] 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:53 UTC] 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-12-27 19:22 UTC] sobak@php.net
-Assigned To: +Assigned To: salathe
 [2014-12-27 19:22 UTC] sobak@php.net
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 ;)
 [2014-12-31 12:18 UTC] salathe@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 13:00:01 2026 UTC