Doc #51885 [NEW]: Typo, "provisio" should read "provision"
| From: | travis dot rowland at gmail dot com | Date: | Sat, 22 May 2010 07:40:29 +0000 |
| Subject: | Doc #51885 [NEW]: Typo, "provisio" should read "provision" | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4418@lists.php.net to get a copy of this message | ||
From:
Operating system: N/A
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Typo, "provisio" should read "provision"
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 bug report at http://bugs.php.net/bug.php?id=51885&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51885&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51885&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51885&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51885&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51885&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51885&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51885&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51885&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51885&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51885&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51885&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51885&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51885&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51885&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51885&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51885&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51885&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51885&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51885&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51885&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51885&r=mysqlcfg