]> granicus.if.org Git - php/commitdiff
Fix sapi_windows_vt100_support() arginfo
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 6 Jul 2020 08:42:54 +0000 (10:42 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 6 Jul 2020 08:48:10 +0000 (10:48 +0200)
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h

index babe88f81053af131f76269a5470ae743c66f589..2b6e7709e6d081d2785eb7b06f7c86d5210e1ebe 100755 (executable)
@@ -1314,7 +1314,7 @@ function stream_isatty($stream): bool {}
 
 #ifdef PHP_WIN32
 /** @param resource $stream */
-function sapi_windows_vt100_support($stream, bool $enable): bool {}
+function sapi_windows_vt100_support($stream, bool $enable = UNKNOWN): bool {}
 #endif
 
 /** @param resource $stream */
index 204b1b49dc4c3572187d1656a9aefc8bde49cbd4..e6f5b00771efc9a2f107617d74d87088a53de7ee 100755 (executable)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 8890ebea8b2391a8614b844e8e1abc04a988eeb8 */
+ * Stub hash: 9cf2c691c081d9aaefaa9d22337a9e00efb0af77 */
 
 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)
@@ -2026,7 +2026,7 @@ ZEND_END_ARG_INFO()
 #define arginfo_stream_isatty arginfo_stream_supports_lock
 
 #if defined(PHP_WIN32)
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_vt100_support, 0, 2, _IS_BOOL, 0)
+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_END_ARG_INFO()