Doc #51885 [Opn->Csd]: Typo, "provisio" should read "provision"

From: Date: Sat, 22 May 2010 08:28:08 +0000
Subject: Doc #51885 [Opn->Csd]: Typo, "provisio" should read "provision"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4419@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51885&edit=1 ID: 51885 Updated by: degeberg@php.net Reported by: travis dot rowland at gmail dot com Summary: Typo, "provisio" should read "provision" -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: degeberg New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2010-05-22 10:27:30] degeberg@php.net Automatic comment from SVN on behalf of degeberg Revision: http://svn.php.net/viewvc/?view=revision&revision=299619 Log: Fixed PHP bug #51885 (Typo, provisio should read "provision") ------------------------------------------------------------------------ [2010-05-22 09:40:28] travis dot rowland at gmail dot com Description: ------------ http://php.net/manual/en/language.oop5.autoload.php In the first note on this above noted page, it shows the following (incorrect): "Note: Prior to 5.3.0, exceptions thrown in the __autoload function could not be caught in the catch block and would result in a fatal error. From 5.3.0+ exceptions thrown in the __autoload function can be caught in the catch block, with 1 proviso. If throwing a custom exception, then the custom exception class must be available. The __autoload function may be used recursively to autoload the custom exception class." The word "provisio" should read "provision", as follows (correct): "Note: Prior to 5.3.0, exceptions thrown in the __autoload function could not be caught in the catch block and would result in a fatal error. From 5.3.0+ exceptions thrown in the __autoload function can be caught in the catch block, with 1 provison. If throwing a custom exception, then the custom exception class must be available. The __autoload function may be used recursively to autoload the custom exception class." Expected result: ---------------- "Note: Prior to 5.3.0, exceptions thrown in the __autoload function could not be caught in the catch block and would result in a fatal error. From 5.3.0+ exceptions thrown in the __autoload function can be caught in the catch block, with 1 provison. If throwing a custom exception, then the custom exception class must be available. The __autoload function may be used recursively to autoload the custom exception class." Actual result: -------------- "Note: Prior to 5.3.0, exceptions thrown in the __autoload function could not be caught in the catch block and would result in a fatal error. From 5.3.0+ exceptions thrown in the __autoload function can be caught in the catch block, with 1 proviso. If throwing a custom exception, then the custom exception class must be available. The __autoload function may be used recursively to autoload the custom exception class." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51885&edit=1

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