#27649 [Opn->Csd]: Doc is wrong since change in PHP5b4

From: Date: Mon, 24 May 2004 14:07:40 +0000
Subject: #27649 [Opn->Csd]: Doc is wrong since change in PHP5b4
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360884@lists.php.net to get a copy of this message
ID: 27649 Updated by: nlopess@php.net Reported By: bs_php at 4maitcs dot ch -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: - PHP Version: 5.0.0RC1 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: ------------------------------------------------------------------------ [2004-03-19 04:21:42] bs_php at 4maitcs dot ch 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 this bug report at http://bugs.php.net/?id=27649&edit=1

« previous php.doc (#969360884) next »