php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51885 Typo, "provisio" should read "provision"
Submitted: 2010-05-22 09:40 UTC Modified: 2010-05-22 10:28 UTC
From: travis dot rowland at gmail dot com Assigned: degeberg (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: travis dot rowland at gmail dot com
New email:
PHP Version: OS:

 

 [2010-05-22 09:40 UTC] 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."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-22 10:27 UTC] 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 10:28 UTC] degeberg@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: degeberg
 [2010-05-22 10:28 UTC] degeberg@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 07:00:01 2026 UTC