diff --git a/tests/bug00625.phpt b/tests/bug00625-1.phpt similarity index 77% rename from tests/bug00625.phpt rename to tests/bug00625-1.phpt index 4d2939101..39c724720 100644 --- a/tests/bug00625.phpt +++ b/tests/bug00625-1.phpt @@ -1,5 +1,5 @@ --TEST-- -Test for bug #625: xdebug_get_headers() resets header list +Test for bug #625: xdebug_get_headers() resets header list (1) --INI-- xdebug.default_enable=1 --FILE-- diff --git a/tests/bug00625-2.phpt b/tests/bug00625-2.phpt new file mode 100644 index 000000000..f5d280128 --- /dev/null +++ b/tests/bug00625-2.phpt @@ -0,0 +1,20 @@ +--TEST-- +Test for bug #625: xdebug_get_headers() resets header list (2) +--INI-- +xdebug.default_enable=1 +default_charset=utf-8 +--FILE-- + +--EXPECTF-- +array(1) { + [0] => + string(38) "Content-type: text/plain;charset=utf-8" +} +array(1) { + [0] => + string(38) "Content-type: text/plain;charset=utf-8" +} diff --git a/tests/bug00627.phpt b/tests/bug00627.phpt index 69bd7e10e..e5600ff4d 100644 --- a/tests/bug00627.phpt +++ b/tests/bug00627.phpt @@ -30,7 +30,7 @@ dbgpRun( $data, $commands ); -> run -i 3 - + -> context_get -i 4 -d 0 diff --git a/tests/error_collection_3.phpt b/tests/error_collection_3.phpt index 066061b48..da1479054 100644 --- a/tests/error_collection_3.phpt +++ b/tests/error_collection_3.phpt @@ -29,7 +29,7 @@ array(1) { Call Stack #TimeMemoryFunctionLocation 1%f%d{main}( )../error_collection_3.php:0 -2%f%dtrigger_error +2%f%dtrigger_error ( 'An error', 512 )../error_collection_3.php:4 " diff --git a/tests/scream_html.phpt b/tests/scream_html.phpt index 7cdab53c3..789f0642c 100644 --- a/tests/scream_html.phpt +++ b/tests/scream_html.phpt @@ -23,6 +23,6 @@ echo @strstr(), "\n"; Call Stack #TimeMemoryFunctionLocation 1%f%d{main}( )../scream_html.php:0 -2%f%dstrstr +2%f%dstrstr ( )../scream_html.php:4