From: Christoph M. Becker Date: Thu, 16 Jul 2020 07:09:12 +0000 (+0200) Subject: Fix #79805: sapi_windows_vt100_support throws TypeError X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae7554270f5dc4bb2bcf4e7ead0c519d98d74bd0;p=php Fix #79805: sapi_windows_vt100_support throws TypeError It does not make sense to throw a `TypeError` when the stream can't be analyzed. If `sapi_windows_vt100_support()` is used as getter, we just return `false` in that case; if the function is used as setter, we additionally trigger a warning. We also fix the test cases for this function, which have been broken before. Note that these tests are still whitespace sensitive. --- diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index f871a7633a..9f5147d5f3 100755 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -1314,7 +1314,7 @@ function stream_isatty($stream): bool {} #ifdef PHP_WIN32 /** @param resource $stream */ -function sapi_windows_vt100_support($stream, bool $enable = UNKNOWN): bool {} +function sapi_windows_vt100_support($stream, ?bool $enable = null): bool {} #endif /** @param resource $stream */ diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index a4b70b23bb..52cce1cabf 100755 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 05b740207a70a9d272b4c327882fd0b52016a0af */ + * Stub hash: 49142ce7a3c79618e87a350b87994e01b1d69ff8 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0) @@ -2028,7 +2028,7 @@ ZEND_END_ARG_INFO() #if defined(PHP_WIN32) ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_vt100_support, 0, 1, _IS_BOOL, 0) ZEND_ARG_INFO(0, stream) - ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0) + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 1, "null") ZEND_END_ARG_INFO() #endif diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index c0d950a18c..1c49b26ac7 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1623,15 +1623,13 @@ PHP_FUNCTION(sapi_windows_vt100_support) { zval *zsrc; php_stream *stream; - zend_bool enable; + zend_bool enable, enable_is_null = 1; zend_long fileno; - int argc = ZEND_NUM_ARGS(); - ZEND_PARSE_PARAMETERS_START(1, 2) Z_PARAM_RESOURCE(zsrc) Z_PARAM_OPTIONAL - Z_PARAM_BOOL(enable) + Z_PARAM_BOOL_OR_NULL(enable, enable_is_null) ZEND_PARSE_PARAMETERS_END(); php_stream_from_zval(stream, zsrc); @@ -1643,11 +1641,14 @@ PHP_FUNCTION(sapi_windows_vt100_support) php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)&fileno, 0); } else { - zend_type_error( - "%s() was not able to analyze the specified stream", - get_active_function_name() - ); - RETURN_THROWS(); + if (!enable_is_null) { + php_error_docref( + NULL, + E_WARNING, + "not able to analyze the specified stream" + ); + } + RETURN_FALSE; } /* Check if the file descriptor is a console */ @@ -1655,7 +1656,7 @@ PHP_FUNCTION(sapi_windows_vt100_support) RETURN_FALSE; } - if (argc == 1) { + if (enable_is_null) { /* Check if the Windows standard handle has VT100 control codes enabled */ if (php_win32_console_fileno_has_vt100(fileno)) { RETURN_TRUE; diff --git a/tests/output/sapi_windows_vt100_support.inc b/tests/output/sapi_windows_vt100_support.inc index 9ac54cea61..a9c60a6be9 100644 --- a/tests/output/sapi_windows_vt100_support.inc +++ b/tests/output/sapi_windows_vt100_support.inc @@ -35,7 +35,6 @@ function testToStdOut() 'STDERR (constant)' => STDERR, 'STDERR (fopen)' => fopen('php://stderr', 'wb'), 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'), - 'Not a stream' => 'foo', 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'), 'Invalid stream (php://input)' => fopen('php://input', 'wb'), 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'), diff --git a/tests/output/sapi_windows_vt100_support_winko_err.phpt b/tests/output/sapi_windows_vt100_support_winko_err.phpt index 72b80891cd..d609e48770 100644 --- a/tests/output/sapi_windows_vt100_support_winko_err.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value :bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winko_in-err.phpt b/tests/output/sapi_windows_vt100_support_winko_in-err.phpt index 45d288f15b..86cf631110 100644 --- a/tests/output/sapi_windows_vt100_support_winko_in-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_in-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt b/tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt index 6e42372cb8..4c0f5f9909 100644 --- a/tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winko_in-out.phpt b/tests/output/sapi_windows_vt100_support_winko_in-out.phpt index f3e0502460..01efb3bb4e 100644 --- a/tests/output/sapi_windows_vt100_support_winko_in-out.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_in-out.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(true) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winko_out-err.phpt b/tests/output/sapi_windows_vt100_support_winko_out-err.phpt index bd95ea7cb7..09d3d8f0be 100644 --- a/tests/output/sapi_windows_vt100_support_winko_out-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_out-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winko_out.phpt b/tests/output/sapi_windows_vt100_support_winko_out.phpt index a937bb9ac8..65958ae19c 100644 --- a/tests/output/sapi_windows_vt100_support_winko_out.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_out.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(true) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_err.phpt b/tests/output/sapi_windows_vt100_support_winok_err.phpt index 2cc9b94fa9..01a31a6b92 100644 --- a/tests/output/sapi_windows_vt100_support_winok_err.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_in-err.phpt b/tests/output/sapi_windows_vt100_support_winok_in-err.phpt index 0f1a9f4625..d36d79c8dc 100644 --- a/tests/output/sapi_windows_vt100_support_winok_in-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_in-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt b/tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt index 0355dc4091..1606604651 100644 --- a/tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_in-out.phpt b/tests/output/sapi_windows_vt100_support_winok_in-out.phpt index e751877027..f67942f603 100644 --- a/tests/output/sapi_windows_vt100_support_winok_in-out.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_in-out.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(true) - disabling VT100: bool(true) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_out-err.phpt b/tests/output/sapi_windows_vt100_support_winok_out-err.phpt index ce273f1780..ebc6bcb120 100644 --- a/tests/output/sapi_windows_vt100_support_winok_out-err.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_out-err.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(false) - disabling VT100: bool(false) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false) diff --git a/tests/output/sapi_windows_vt100_support_winok_out.phpt b/tests/output/sapi_windows_vt100_support_winok_out.phpt index 0ca0cde849..94a5f20a1b 100644 --- a/tests/output/sapi_windows_vt100_support_winok_out.phpt +++ b/tests/output/sapi_windows_vt100_support_winok_out.phpt @@ -76,70 +76,36 @@ STDERR (php://fd/2): - current value : bool(true) - disabling VT100: bool(true) - current value : bool(false) -Not a stream: -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support(): Argument #1 must be of type resource, string given in %s on line %d -bool(false) Invalid stream (php://temp): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://input): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) Invalid stream (php://memory): -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- enabling VT100 : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d -bool(false) -- disabling VT100: -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- enabling VT100 : +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) -- current value : -Warning: sapi_windows_vt100_support() was not able to analyze the specified stream in %s on line %d +- current value : bool(false) +- disabling VT100: +Warning: sapi_windows_vt100_support(): not able to analyze the specified stream in %s on line %d bool(false) +- current value : bool(false) File stream: - current value : bool(false) - enabling VT100 : bool(false)