File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
lang /
bug25922.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 5 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
1: --TEST--
2: Bug #25922 (SEGV in error_handler when context is destroyed)
3: --INI--
4: error_reporting=2047
5: --FILE--
6: <?php
7: function my_error_handler($error, $errmsg='', $errfile='', $errline=0, $errcontext='')
8: {
9: echo "$errmsg\n";
10: $errcontext = '';
11: }
12:
13: set_error_handler('my_error_handler');
14:
15: function test()
16: {
17: echo "Undefined index here: '{$data['HTTP_HEADER']}'\n";
18: }
19: test();
20: ?>
21: --EXPECT--
22: Undefined variable: data
23: Undefined index here: ''
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>