#27649 [NEW]: Doc is wrong since change in PHP5b4
| From: | bs_php at 4maitcs dot ch | Date: | Fri, 19 Mar 2004 09:21:42 +0000 |
| Subject: | #27649 [NEW]: Doc is wrong since change in PHP5b4 | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969359654@lists.php.net to get a copy of this message | ||
From: bs_php at 4maitcs dot ch
Operating system: -
PHP version: 5.0.0RC1
PHP Bug Type: Documentation problem
Bug description: Doc is wrong since change in PHP5b4
Description:
------------
Doc is wrong (see below) sinc the change in Version 5.0.0 Beta 4
12-Feb-2004 where it states:
"Changed exceptions so that they *must* now inherit from the built-in
Exception class. This allows for a general catch(Exception $e) statement
to catch all exceptions. (Andi, Zeev)"
- - -
The Doc under
http://www.php.net/zend-engine-2.php
sais:
"Even though the above example shows that it is possible to define
exception classes that don't inherit from Exception it is best to do so."
- - -
So the examlple and the text is worong.
--
Edit bug report at http://bugs.php.net/?id=27649&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27649&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27649&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27649&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27649&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27649&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27649&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27649&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27649&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27649&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27649&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27649&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27649&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27649&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27649&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27649&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27649&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27649&r=float