From: Moriyoshi Koizumi Date: Sun, 26 Oct 2003 16:27:40 +0000 (+0000) Subject: No need to have ze2 specific tests in this branch. X-Git-Tag: php-4.3.4~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88ccac85f35efb4ceaf8026358da129723e9b1a3;p=php No need to have ze2 specific tests in this branch. --- diff --git a/tests/lang/035.phpt b/tests/lang/035.phpt deleted file mode 100644 index c6970b7bdf..0000000000 --- a/tests/lang/035.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -ZE2: set_exception_handler() ---SKIPIF-- - ---FILE-- -error = $_error; - } - - function getException() - { - return $this->error; - } -} - -function ThrowException() -{ - throw new MyException("'This is an exception!'"); -} - - -try { -} catch (MyException $exception) { - print "There shouldn't be an exception: " . $exception->getException(); - print "\n"; -} - -try { - ThrowException(); -} catch (MyException $exception) { - print "There was an exception: " . $exception->getException(); - print "\n"; -} -?> ---EXPECT-- -There was an exception: 'This is an exception!'