]> granicus.if.org Git - php/commitdiff
Add missing parameter to the stub of mysqli_real_connect
authorMáté Kocsis <kocsismate@woohoolabs.com>
Fri, 10 Apr 2020 15:30:30 +0000 (17:30 +0200)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Fri, 10 Apr 2020 16:17:18 +0000 (18:17 +0200)
ext/mysqli/mysqli.stub.php
ext/mysqli/mysqli_arginfo.h

index 9a545296097ea9434eb93c454fbfd43999add6dd..367501580194fe70fe0facb3a992984b6355ee37 100644 (file)
@@ -414,6 +414,7 @@ function mysqli_real_connect(
     ?string $password = null,
     ?string $database = null,
     ?int $port = null,
+    ?string $socket = null,
     int $flags = 0
 ): bool {}
 
index 7ab37584fbd6311e69eae824eca7013b843650de..8645f0f34fc12f77c44bfa505ff9000033ca7735 100644 (file)
@@ -238,6 +238,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_real_connect, 0, 1, _IS_B
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
+       ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()