Doc #66665 [Asn]: typo in function parameters for class_alias

From: Date: Wed, 31 Dec 2014 12:18:01 +0000
Subject: Doc #66665 [Asn]: typo in function parameters for class_alias
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11809@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: salathe@php.net Reported by: steve dot putala at gmail dot com Summary: typo in function parameters for class_alias Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: salathe Block user comment: N Private report: N New Comment: Fixed in r333179 (https://svn.php.net/viewvc?view=revision&revision=333179) Previous Comments: ------------------------------------------------------------------------ [2014-12-27 19:22:04] 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-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

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