diff options
Diffstat (limited to 'pear/tests/pear_error2.phpt')
-rw-r--r-- | pear/tests/pear_error2.phpt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pear/tests/pear_error2.phpt b/pear/tests/pear_error2.phpt deleted file mode 100644 index 9dbfa3b22c..0000000000 --- a/pear/tests/pear_error2.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -PEAR_Error: die mode ---SKIPIF-- -<?php -if (!getenv('PHP_PEAR_RUNTESTS')) { - echo 'skip'; -} -?> ---FILE-- -<?php // -*- C++ -*- - -// Test for: PEAR.php -// Parts tested: - PEAR_Error class -// - PEAR::isError static method -// testing PEAR_Error - -include_once "PEAR.php"; - -error_reporting(E_ALL); - -print "mode=die: "; -$err = new PEAR_Error("test error!!\n", -42, PEAR_ERROR_DIE); -print $err->toString() . "\n"; - -?> ---EXPECT-- -mode=die: test error!! |