exception handling, global debug string

From: Date: Wed, 09 Aug 2000 18:22:47 +0000
Subject: exception handling, global debug string
Groups: php.general 
Request: Send a blank email to php-general+get-10972@lists.php.net to get a copy of this message
Hi, I don't need full blown exception handling, but I would like to print my global debug string if my program crashes. Is there any way I can do this? E.g. <program crashes> print $global_debug_string; In perl I can do this, which is great: $return = eval ( whole_program() ); if ($return != $ok ) debug_function(); -- Jeff Greer web developer/software engineer B.S. computer science - Univ. MO - Rolla

« previous php.general (#10972) next »