]> granicus.if.org Git - php/commitdiff
Add a bunch of missing argument types to stubs
authorMáté Kocsis <kocsismate@woohoolabs.com>
Sun, 2 Aug 2020 22:45:51 +0000 (00:45 +0200)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Sun, 2 Aug 2020 22:45:51 +0000 (00:45 +0200)
20 files changed:
ext/dba/dba.stub.php
ext/dba/dba_arginfo.h
ext/ftp/ftp.stub.php
ext/ftp/ftp_arginfo.h
ext/imap/php_imap.stub.php
ext/imap/php_imap_arginfo.h
ext/intl/php_intl.stub.php
ext/intl/php_intl_arginfo.h
ext/ldap/ldap.stub.php
ext/ldap/ldap_arginfo.h
ext/posix/posix.stub.php
ext/posix/posix_arginfo.h
ext/pspell/pspell.stub.php
ext/pspell/pspell_arginfo.h
ext/soap/soap.stub.php
ext/soap/soap_arginfo.h
ext/sysvmsg/sysvmsg.stub.php
ext/sysvmsg/sysvmsg_arginfo.h
ext/xml/xml.stub.php
ext/xml/xml_arginfo.h

index 28076db7600a982643ce3a033e177636cbb08b19..c79594b3b1c19c13288fc4d49faa71d60538ea81 100644 (file)
@@ -2,10 +2,22 @@
 
 /** @generate-function-entries */
 
-/** @return resource|false */
+/**
+ * @param string $path
+ * @param string $mode
+ * @param string $handlername
+ * @param string $handler_parameters
+ * @return resource|false
+ */
 function dba_popen($path, $mode, $handlername = UNKNOWN, ...$handler_parameters) {}
 
-/** @return resource|false */
+/**
+ * @param string $path
+ * @param string $mode
+ * @param string $handlername
+ * @param string $handler_parameters
+ * @return resource|false
+ */
 function dba_open($path, $mode, $handlername = UNKNOWN, ...$handler_parameters) {}
 
 /** @param resource $handle */
index bc8532e9a6b15cef04e4e794a2368fb60ebbecab..bada5c39f26c2e9c035bd8ea01a56fc2809760a4 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 3f28cb0c990d15e6d2f34c40c2f0219b11d2d5e4 */
+ * Stub hash: 5b43c7cfcb48f3081d5585192eaaa5185df036f8 */
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dba_popen, 0, 0, 2)
        ZEND_ARG_INFO(0, path)
index b293c453fadc5c9d3dcf5a4e8cb5f8703e5141b4..afcd2064d6e7652a55bb9668f1921164e893f2c1 100644 (file)
@@ -37,7 +37,10 @@ function ftp_rmdir($ftp, string $directory): bool {}
 /** @param resource $ftp */
 function ftp_chmod($ftp, int $mode, string $filename): int|false {}
 
-/** @param resource $ftp */
+/**
+ * @param resource $ftp
+ * @param string $response
+ */
 function ftp_alloc($ftp, int $size, &$response = null): bool {}
 
 /** @param resource $ftp */
@@ -86,7 +89,7 @@ function ftp_fput($ftp, string $remote_file, $fp, int $mode = FTP_BINARY, int $s
  * @param resource $ftp
  * @param resource $fp
  */
-function ftp_nb_fput($ftp, string $remote_file, $fp, $mode = FTP_BINARY, $startpos = 0): int|false {}
+function ftp_nb_fput($ftp, string $remote_file, $fp, int $mode = FTP_BINARY, int $startpos = 0): int|false {}
 
 /** @param resource $ftp */
 function ftp_put($ftp, string $remote_file, string $local_file, int $mode = FTP_BINARY, int $startpos = 0): bool {}
@@ -121,7 +124,10 @@ function ftp_close($ftp): bool {}
  */
 function ftp_quit($ftp): bool {}
 
-/** @param resource $ftp */
+/**
+ * @param resource $ftp
+ * @param int|bool $value
+ */
 function ftp_set_option($ftp, int $option, $value): bool {}
 
 /** @param resource $ftp */
index 9383bce47647a74b5c3bc9f21e90383713a3d670..45cd0e5cf3ad390bbfd41f600f8b564cdeee48d9 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 0bbaf1b0aed026d0ed32274bc1084b363528bb61 */
+ * Stub hash: 830fdf6caf2804d49739fc5112c7091c0f6eb4d4 */
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_ftp_connect, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0)
@@ -131,8 +131,8 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ftp_nb_fput, 0, 3, MAY_BE_LONG|M
        ZEND_ARG_INFO(0, ftp)
        ZEND_ARG_TYPE_INFO(0, remote_file, IS_STRING, 0)
        ZEND_ARG_INFO(0, fp)
-       ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, mode, "FTP_BINARY")
-       ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, startpos, "0")
+       ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
+       ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, startpos, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftp_put, 0, 3, _IS_BOOL, 0)
index 2ed20ba4e3d060c69246e7d8f91506b00ef4824b..fb83dc6c5497f62da856fd61762b00cf6b89f179 100644 (file)
@@ -29,7 +29,10 @@ function imap_headers($stream_id): array|false {}
 /** @param resource $stream_id */
 function imap_headerinfo($stream_id, int $msg_no, int $from_length = 0, int $subject_length = 0, string $default_host = UNKNOWN): stdClass|false {}
 
-/** @alias imap_headerinfo */
+/**
+ * @param resource $stream_id
+ * @alias imap_headerinfo
+ */
 function imap_header($stream_id, int $msg_no, int $from_length = 0, int $subject_length = 0, string $default_host = UNKNOWN): stdClass|false {}
 
 function imap_rfc822_parse_headers(string $headers, string $default_host = 'UNKNOWN'): \stdClass {}
@@ -61,7 +64,7 @@ function imap_fetchmime($stream_id, int $msg_no, string $section, int $options =
 
 /**
  * @param resource $stream_id
- * @todo: should $file be `resource|string`? it looks like it tries to accept anything?
+ * @param resource|string|int $file
  */
 function imap_savebody($stream_id, $file, int $msg_no, string $section = '', int $options = 0): bool {}
 
index fd1f7efef24f5da3bd6bab1cd710f41aa6e2bb1f..fd679f99538d757358f38e11be61850a002259b7 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 1105c40befb73bbc51cc9438d53404801338a15c */
+ * Stub hash: 449bab2357a8a83cbe4f630a87776ebb5e0d65f6 */
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_imap_open, 0, 0, 3)
        ZEND_ARG_TYPE_INFO(0, mailbox, IS_STRING, 0)
index 5aff42bbe3d688ba02089423386e5a5cdfb837cd..bbb09d03c8d2850edeee61ef093067e011d90529 100644 (file)
@@ -28,7 +28,7 @@ function intlcal_after(IntlCalendar $calendarObject, IntlCalendar $calendar): bo
 
 function intlcal_before(IntlCalendar $calendarObject, IntlCalendar $calendar): bool {}
 
-function intlcal_set(IntlCalendar $calendar, int $year, int $month, int $dayOfMonth = UNKNOWN, $hour = UNKNOWN, int $minute = UNKNOWN, int $second = UNKNOWN): bool {}
+function intlcal_set(IntlCalendar $calendar, int $year, int $month, int $dayOfMonth = UNKNOWN, int $hour = UNKNOWN, int $minute = UNKNOWN, int $second = UNKNOWN): bool {}
 
 /** @param int|bool $amountOrUpOrDown */
 function intlcal_roll(IntlCalendar $calendar, int $field, $amountOrUpOrDown): bool {}
@@ -190,8 +190,10 @@ function datefmt_format(IntlDateFormatter $df, $value): string|false {}
  */
 function datefmt_format_object($object, $format = null, ?string $locale = null): string|false {}
 
+/** @param int $position */
 function datefmt_parse(IntlDateFormatter $df, string $value, &$position = null): int|float|false {}
 
+/** @param int $position */
 function datefmt_localtime(IntlDateFormatter $df, string $value, &$position = null): array|false {}
 
 function datefmt_get_error_code(IntlDateFormatter $df): int {}
@@ -204,10 +206,15 @@ function numfmt_create(string $locale, int $style, string $pattern = ""): ?Numbe
 
 function numfmt_format(NumberFormatter $fmt, int|float $value, int $type = NumberFormatter::TYPE_DEFAULT): string|false {}
 
+/** @param int $position */
 function numfmt_parse(NumberFormatter $fmt, string $value, int $type = NumberFormatter::TYPE_DOUBLE, &$position = null): int|float|false {}
 
 function numfmt_format_currency(NumberFormatter $fmt, float $value, string $currency): string|false {}
 
+/**
+ * @param string $currency
+ * @param int $position
+ */
 function numfmt_parse_currency(NumberFormatter $fmt, string $value, &$currency, &$position = null): float|false {}
 
 /** @param int|float $value */
@@ -251,12 +258,15 @@ function grapheme_strstr(string $haystack, string $needle, bool $before_needle =
 
 function grapheme_stristr(string $haystack, string $needle, bool $before_needle = false): string|false {}
 
+/** @param int $next */
 function grapheme_extract(string $haystack, int $size, int $extract_type = GRAPHEME_EXTR_COUNT, int $start = 0, &$next = null): string|false {}
 
 /* idn */
 
+/** @param array $idna_info */
 function idn_to_ascii(string $domain, int $options = 0, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false {}
 
+/** @param array $idna_info */
 function idn_to_utf8(string $domain, int $options = 0, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false {}
 
 /* locale */
index 4c91c671c2196c6688b2c23c4842ddd4de44e93e..93dcec79e38a5a6eb720a21cdafe8339e574ec3c 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: a41f168369315619a8cf4bd3ed341b90b455ea1d */
+ * Stub hash: ef46b927a82d0bdecea9438ff6ba0000b73b3b56 */
 
 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_intlcal_create_instance, 0, 0, IntlCalendar, 1)
        ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timeZone, "null")
@@ -55,7 +55,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intlcal_set, 0, 3, _IS_BOOL, 0)
        ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, dayOfMonth, IS_LONG, 0)
-       ZEND_ARG_INFO(0, hour)
+       ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, second, IS_LONG, 0)
 ZEND_END_ARG_INFO()
index 8a87fa501ffde307a66ebe689e14c68b177585f7..9739ce59c293d312ac17528a87d95644d394b11f 100644 (file)
@@ -204,6 +204,8 @@ function ldap_control_paged_result($link, int $pagesize, bool $iscritical = fals
 /**
  * @param resource $link
  * @param resource $result
+ * @param string $cookie
+ * @param int $estimated
  * @deprecated since 7.4
  */
 function ldap_control_paged_result_response($link, $result, &$cookie = null, &$estimated = null): bool {}
@@ -220,10 +222,16 @@ function ldap_rename($link_identifier, string $dn, string $newrdn, string $newpa
 function ldap_rename_ext($link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn, array $servercontrols = []) {}
 
 
-/** @param resource $link_identifier */
+/**
+ * @param resource $link_identifier
+ * @param array|string|int $retval
+ */
 function ldap_get_option($link_identifier, int $option, &$retval = null): bool {}
 
-/** @param resource|null $link_identifier */
+/**
+ * @param resource|null $link_identifier
+ * @param array|string|int|bool $newval
+ */
 function ldap_set_option($link_identifier, int $option, $newval): bool {}
 
 /**
@@ -250,6 +258,7 @@ function ldap_next_reference($link, $entry) {}
 /**
  * @param resource $link
  * @param resource $entry
+ * @param array $referrals
  */
 function ldap_parse_reference($link, $entry, &$referrals): bool {}
 #endif
@@ -264,13 +273,12 @@ function ldap_parse_result($link, $result, &$errcode, &$matcheddn = null, &$errm
 #endif
 
 #if defined(LDAP_API_FEATURE_X_OPENLDAP) && defined(HAVE_3ARG_SETREBINDPROC)
-/**
- * @param resource $link
- */
+/** @param resource $link */
 function ldap_set_rebind_proc($link, ?callable $callback): bool {}
 #endif
 
 #ifdef HAVE_LDAP_START_TLS_S
+/** @param resource $link_identifier */
 function ldap_start_tls($link_identifier): bool {}
 #endif
 
@@ -286,13 +294,18 @@ function ldap_8859_to_t61(string $value): string|false {}
 #ifdef HAVE_LDAP_EXTENDED_OPERATION_S
 /**
  * @param resource $link
+ * @param string $retdata
+ * @param string $retoid
  * @return resource|bool
  */
 function ldap_exop($link, string $reqoid, ?string $reqdata = null, ?array $servercontrols = [], &$retdata = null, &$retoid = null) {}
 #endif
 
 #ifdef HAVE_LDAP_PASSWD
-/** @param resource $link */
+/**
+ * @param resource $link
+ * @param array $serverctrls
+ */
 function ldap_exop_passwd($link, string $user = '', string $oldpw = '', string $newpw = '', &$serverctrls = null): string|bool {}
 #endif
 
@@ -302,17 +315,17 @@ function ldap_exop_passwd($link, string $user = '', string $oldpw = '', string $
 function ldap_exop_whoami($link): string|bool {}
 #endif
 
-
 #ifdef HAVE_LDAP_REFRESH_S
 /** @param resource $link */
 function ldap_exop_refresh($link, string $dn, int $ttl): int|false {}
 #endif
 
-
 #ifdef HAVE_LDAP_PARSE_EXTENDED_RESULT
 /**
  * @param resource $link
  * @param resource $result
+ * @param string $retdata
+ * @param string $retoid
  */
 function ldap_parse_exop($link, $result, &$retdata = null, &$retoid = null): bool {}
 #endif
index 8aa72a0276b9a147addba500655202aad9b1df28..61b449eda4a8e07af8794503d717adcc2da10520 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 63d7fc9e11bd2821a77f6ee709ceaf1fdcbf190e */
+ * Stub hash: 9ecb7515850d95a20199b3c52aaccb8b2b04e0cd */
 
 #if defined(HAVE_ORALDAP)
 ZEND_BEGIN_ARG_INFO_EX(arginfo_ldap_connect, 0, 0, 0)
@@ -344,7 +344,7 @@ ZEND_END_ARG_INFO()
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ldap_exop_refresh, 0, 3, MAY_BE_LONG|MAY_BE_FALSE)
        ZEND_ARG_INFO(0, link)
        ZEND_ARG_TYPE_INFO(0, dn, IS_STRING, 0)
-       ZEND_ARG_INFO(0, ttl)
+       ZEND_ARG_TYPE_INFO(0, ttl, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 #endif
 
index 477947112ce0bd505a2f59f098c8b51bf20df78e..d009d7df674d334a9bdcd4cda649209cc4e86b20 100644 (file)
@@ -61,8 +61,10 @@ function posix_times(): array|false {}
 function posix_ctermid(): string|false {}
 #endif
 
+/** @param resource|int $fd */
 function posix_ttyname($fd): string|false {}
 
+/** @param resource|int $fd */
 function posix_isatty($fd): bool {}
 
 function posix_getcwd(): string|false {}
index fc6f34593e8f9f28926ad95e899d17f6e9b58cf8..9cb7523d4bdf3503db6638d0b19183b8ef47e267 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 8b74b3201e5a89a25d69753f3078e72ec0395500 */
+ * Stub hash: c97ecb9b83ed873ca1ee2046ade191eef5bff25b */
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_posix_kill, 0, 2, _IS_BOOL, 0)
        ZEND_ARG_TYPE_INFO(0, pid, IS_LONG, 0)
index c374260d1cfb478b70f4ad97e74fff87e142d009..8c549786f2718f6705db43017869f1922e2dc762 100644 (file)
@@ -4,7 +4,7 @@
 
 function pspell_new(string $language, string $spelling = UNKNOWN, string $jargon = UNKNOWN, string $encoding = UNKNOWN, int $mode = 0): int|false {}
 
-function pspell_new_personal(string $personal, string $language, string $spelling = UNKNOWN, string $jargon = UNKNOWN, string $encoding = UNKNOWN, $mode = 0): int|false {}
+function pspell_new_personal(string $personal, string $language, string $spelling = UNKNOWN, string $jargon = UNKNOWN, string $encoding = UNKNOWN, int $mode = 0): int|false {}
 
 function pspell_new_config(int $config): int|false {}
 
index 7fe58664415cccc7765d7b9e1a08e26df62f608d..9f9bf447d6238d58eec6d39d7ac9367f821d8fa7 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 83cadd382dfcccf598b743dfdccad09eb39e30c2 */
+ * Stub hash: 9103420bb4162cad03e7ee06efa0d1c16820a099 */
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pspell_new, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
        ZEND_ARG_TYPE_INFO(0, language, IS_STRING, 0)
@@ -15,7 +15,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pspell_new_personal, 0, 2, MAY_B
        ZEND_ARG_TYPE_INFO(0, spelling, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, jargon, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, encoding, IS_STRING, 0)
-       ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, mode, "0")
+       ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pspell_new_config, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
index 60bfd5c65ed8dac8a72f79d4a0736214a699230f..e60ae6954c28aee44eae00a2dc152d7e70de3c68 100644 (file)
@@ -4,7 +4,7 @@
 
 function use_soap_error_handler(bool $handler = true): bool {}
 
-function is_soap_fault($object): bool {}
+function is_soap_fault(mixed $object): bool {}
 
 class SoapParam
 {
index 9ce8df198b65f50cdceed7e3390d92f752f603f7..b4da9dfbe3f63c566037e065f8d087a09729f5f0 100644 (file)
@@ -1,12 +1,12 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 82152767dbeda492da7dff97324d7277d3f0213b */
+ * Stub hash: 14076c21ac68b4d1e88c1067e7d1f87373f1669e */
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_use_soap_error_handler, 0, 0, _IS_BOOL, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, handler, _IS_BOOL, 0, "true")
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_soap_fault, 0, 1, _IS_BOOL, 0)
-       ZEND_ARG_INFO(0, object)
+       ZEND_ARG_TYPE_INFO(0, object, IS_MIXED, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapParam___construct, 0, 0, 2)
index f6c4d07e438cb98129fb5e4c88bab019085a21f7..e1bac8cc069dcb0be6c81d0dfcf938219fca4f01 100644 (file)
@@ -8,8 +8,16 @@ final class SysvMessageQueue
 
 function msg_get_queue(int $key, int $perms = 0666): SysvMessageQueue|false {}
 
+/**
+ * @param string|int|float|bool $message
+ * @param int $errorcode
+ */
 function msg_send(SysvMessageQueue $queue, int $msgtype, $message, bool $serialize = true, bool $blocking = true, &$errorcode = null): bool {}
 
+/**
+ * @param int $msgtype
+ * @param int $errorcode
+ */
 function msg_receive(SysvMessageQueue $queue, int $desiredmsgtype, &$msgtype, int $maxsize, &$message, bool $unserialize = true, int $flags = 0, &$errorcode = null): bool {}
 
 function msg_remove_queue(SysvMessageQueue $queue): bool {}
index 33423e45b760fd3699962a1612f25e8d8992c162..364091ca72f1b10502ebd4dee4a8f74c7e7b547f 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: a4e2f362d86b38827fbbea640e6b8db215c2e4aa */
+ * Stub hash: 4954f0d4dd0515dea5e4305b9db9d3344bdf40a4 */
 
 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_msg_get_queue, 0, 1, SysvMessageQueue, MAY_BE_FALSE)
        ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
index 36c67645c62c64de37a18a4d8f40bb93f7e1d6f8..93d6159891906c7e6e50ce3951799f5e5d0b84e7 100644 (file)
@@ -40,6 +40,10 @@ function xml_set_end_namespace_decl_handler(XmlParser $parser, $hdl): bool {}
 
 function xml_parse(XmlParser $parser, string $data, bool $isfinal = false): int {}
 
+/**
+ * @param array $values
+ * @param array $index
+ */
 function xml_parse_into_struct(XmlParser $parser, string $data, &$values, &$index = null): int {}
 
 function xml_get_error_code(XmlParser $parser): int {}
@@ -54,6 +58,7 @@ function xml_get_current_byte_index(XmlParser $parser): int {}
 
 function xml_parser_free(XmlParser $parser): bool {}
 
+/** @param string|int $value */
 function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
 
 function xml_parser_get_option(XmlParser $parser, int $option): string|int|false {}
index 15006f70f09122a83cae240cbe143241c75ab67e..c6f21994d4d89416d9a55114865286f8b84ead90 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 57266ea46516213cf727b960a3fbd15f95649af0 */
+ * Stub hash: 60a1f2421a3320374850aa5da7e995077961705e */
 
 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xml_parser_create, 0, 0, XmlParser, MAY_BE_FALSE)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")