Re: error trapping
| From: | Yasuo Ohgaki | Date: | Fri, 27 Jul 2001 02:26:27 +0000 |
| Subject: | Re: error trapping | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59860@lists.php.net to get a copy of this message | ||
TRY / CATCH is not implemented for PHP. (yet. Next major version up probably)
I suggest to make custom error handler and use trigger error for now.
--
Yasuo Ohgaki
"Phil Spitler" <phil@webhutdesign.com> wrote in message
news:IBEBKMOFBNDPEMLOLBKBKEBCCMAA.phil@webhutdesign.com...
> I am wondering the best way to handle error trapping with PHP. I am
> farmiliar with languages, ColdFusion being one, that you can use TRY and
> CATCH statements. Any info would be appreciated.
>
> THANKS!
>
> -----------------------------
> Phil Spitler [Vice President]
> Web Hut Design, Inc.
> c 704-451-1324
> mailto:phil@webhutdesign.com
>