diff options
| author | Tomas V.V.Cox <cox@php.net> | 2002-03-13 01:46:10 +0000 |
|---|---|---|
| committer | Tomas V.V.Cox <cox@php.net> | 2002-03-13 01:46:10 +0000 |
| commit | 7c77b1a71e99de2655c45425713a4e4c7c8ea3d4 (patch) | |
| tree | 412e7e98a31a21cebfde1d9af7d9e4bf691b439a /pear/tests/pear_error.phpt | |
| parent | 12b0eae9e2f5b429c5ceba11d2c485476725a70f (diff) | |
| download | php-git-7c77b1a71e99de2655c45425713a4e4c7c8ea3d4.tar.gz | |
No more lines on this test
Diffstat (limited to 'pear/tests/pear_error.phpt')
| -rw-r--r-- | pear/tests/pear_error.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pear/tests/pear_error.phpt b/pear/tests/pear_error.phpt index 70275dfa33..e602aa2887 100644 --- a/pear/tests/pear_error.phpt +++ b/pear/tests/pear_error.phpt @@ -30,7 +30,7 @@ function test_error_handler($errno, $errmsg, $file, $line, $vars) { } $prefix = $errortype[$errno]; $file = basename($file); - print "\n$prefix: $errmsg in $file on line $line\n"; + print "\n$prefix: $errmsg in $file on line XXX\n"; } error_reporting(E_ALL); @@ -137,17 +137,17 @@ mode=print: test error[pear_error: message="test error" code=-42 mode=print leve mode=callback(function): errorhandler function called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorhandler prefix="" info=""] mode=callback(method): errorhandler method called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorclass::errorhandler prefix="" info=""] mode=print&trigger: test error -User Notice: test error in PEAR.php on line 591 +User Notice: test error in PEAR.php on line XXX [pear_error: message="test error" code=-42 mode=print|trigger level=notice prefix="" info=""] mode=trigger: -User Notice: test error in PEAR.php on line 591 +User Notice: test error in PEAR.php on line XXX [pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""] mode=trigger,level=notice: -User Notice: test error in PEAR.php on line 591 +User Notice: test error in PEAR.php on line XXX [pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""] mode=trigger,level=warning: -User Warning: test error in PEAR.php on line 591 +User Warning: test error in PEAR.php on line XXX [pear_error: message="test error" code=-42 mode=trigger level=warning prefix="" info=""] mode=trigger,level=error: -User Error: test error in PEAR.php on line 591 +User Error: test error in PEAR.php on line XXX [pear_error: message="test error" code=-42 mode=trigger level=error prefix="" info=""] |
