summaryrefslogtreecommitdiff
path: root/tests/lang/bug21094.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug21094.phpt')
-rw-r--r--tests/lang/bug21094.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/bug21094.phpt b/tests/lang/bug21094.phpt
index 266a1d6c8f..ac3ae2a2c7 100644
--- a/tests/lang/bug21094.phpt
+++ b/tests/lang/bug21094.phpt
@@ -6,7 +6,7 @@ class test {
function hdlr($errno, $errstr, $errfile, $errline) {
printf("[%d] errstr: %s, errfile: %s, errline: %d\n", $errno, $errstr, $errfile, $errline, $errstr);
}
-}
+}
set_error_handler(array(new test(), "hdlr"));