mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
Fix default value
This commit is contained in:
parent
25d0e21d77
commit
6145cac1af
@ -462,7 +462,7 @@ function pg_send_execute($connection, string $query, array $params): int|bool {}
|
||||
function pg_get_result($connection) {}
|
||||
|
||||
/** @param resource $result */
|
||||
function pg_result_status($result, int $result_type = PGSQL_RESULT_LONG): string|int|false {}
|
||||
function pg_result_status($result, int $result_type = PGSQL_STATUS_LONG): string|int|false {}
|
||||
|
||||
/** @param resource $result */
|
||||
function pg_get_notify($result, int $result_type = PGSQL_ASSOC): array|false {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 19b18db70bba298e3111913b1b94f95163ac86db */
|
||||
* Stub hash: 9364c37bf47b6aaa5c3d2e67a09d82e5b04c15ff */
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_connect, 0, 0, 1)
|
||||
ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
|
||||
@ -382,7 +382,7 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_result_status, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE)
|
||||
ZEND_ARG_INFO(0, result)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_RESULT_LONG")
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_STATUS_LONG")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
#define arginfo_pg_get_notify arginfo_pg_fetch_all
|
||||
|
Loading…
Reference in New Issue
Block a user