(Fwd) [PEAR-DEV] Re: PHP5Beta4: Pear Error class and throwing

From: Date: Sun, 22 Feb 2004 21:02:20 +0000
Subject: (Fwd) [PEAR-DEV] Re: PHP5Beta4: Pear Error class and throwing
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-628@lists.php.net to get a copy of this message
------- Forwarded message follows ------- To: pear-dev@lists.php.net Date sent: Sun, 22 Feb 2004 21:06:23 +0100 From: Erik Franzén <erik@nordicaudi.com> Subject: [PEAR-DEV] Re: PHP5Beta4: Pear Error class and throwing exceptions [ Double-click this line for list subscription options ] The following example will generate a fatal error: if (PEAR::IsError($oError = $this->_oDbh->disconnect())) { throw $oError; } -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ------- End of forwarded message -------

« previous php.pear.qa (#628) next »