summaryrefslogtreecommitdiff
path: root/tests/lang/bug25922.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug25922.phpt')
-rwxr-xr-xtests/lang/bug25922.phpt23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/lang/bug25922.phpt b/tests/lang/bug25922.phpt
deleted file mode 100755
index bb030c9df8..0000000000
--- a/tests/lang/bug25922.phpt
+++ /dev/null
@@ -1,23 +0,0 @@
---TEST--
-Bug #25922 (SEGV in error_handler when context is destroyed)
---INI--
-error_reporting=2047
---FILE--
-<?php
-function my_error_handler($error, $errmsg='', $errfile='', $errline=0, $errcontext='')
-{
- echo "$errmsg\n";
- $errcontext = '';
-}
-
-set_error_handler('my_error_handler');
-
-function test()
-{
- echo "Undefined index here: '{$data['HTTP_HEADER']}'\n";
-}
-test();
-?>
---EXPECT--
-Undefined variable: data
-Undefined index here: ''