PHP Error Handling

From: Date: Wed, 02 Aug 2000 16:12:53 +0000
Subject: PHP Error Handling
Groups: php.general 
Request: Send a blank email to php-general+get-9734@lists.php.net to get a copy of this message
Hi everyone, I'm a php web developer and I have a question about php error handling. What is the best way to implement error handling in php? I have see many solutions. Some developers just call die() with a pleasant message, return false, return a negative value, return an array of values and messages or do not even account for error handling at all. The PHP language does not have any built is error handling structures which I think is unfortunate. What is the best approach at solving this problem? Perhaps a new error function?

« previous php.general (#9734) next »