|
1543 | 1543 | 'date_default_timezone_set' => ['bool', 'timezone_identifier'=>'string'], |
1544 | 1544 | 'date_diff' => ['DateInterval', 'obj1'=>'DateTimeInterface', 'obj2'=>'DateTimeInterface', 'absolute='=>'bool'], |
1545 | 1545 | 'date_format' => ['string', 'obj'=>'DateTimeInterface', 'format'=>'string'], |
1546 | | -'date_get_last_errors' => ['array{warning_count: int, warnings: array<int, string>, error_count: int, errors: array<int, string>}|false'], |
| 1546 | +'date_get_last_errors' => ['array{warning_count: 0|positive-int, warnings: list<string>, error_count: 0|positive-int, errors: list<string>}|false'], |
1547 | 1547 | 'date_interval_create_from_date_string' => ['DateInterval|false', 'time'=>'string'], |
1548 | 1548 | 'date_interval_format' => ['string', 'object'=>'DateInterval', 'format'=>'string'], |
1549 | 1549 | 'date_isodate_set' => ['DateTime|false', 'object'=>'DateTime', 'year'=>'int', 'week'=>'int', 'day='=>'int|mixed'], |
|
1601 | 1601 | 'DateTime::createFromImmutable' => ['static', 'object'=>'DateTimeImmutable'], |
1602 | 1602 | 'DateTime::diff' => ['DateInterval', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'], |
1603 | 1603 | 'DateTime::format' => ['string', 'format'=>'string'], |
1604 | | -'DateTime::getLastErrors' => ['array{warning_count: int, warnings: array<int, string>, error_count: int, errors: array<int, string>}|false'], |
| 1604 | +'DateTime::getLastErrors' => ['array{warning_count: 0|positive-int, warnings: list<string>, error_count: 0|positive-int, errors: list<string>}|false'], |
1605 | 1605 | 'DateTime::getOffset' => ['int'], |
1606 | 1606 | 'DateTime::getTimestamp' => ['int'], |
1607 | 1607 | 'DateTime::getTimezone' => ['DateTimeZone'], |
|
1620 | 1620 | 'DateTimeImmutable::createFromMutable' => ['static', 'datetime'=>'DateTime'], |
1621 | 1621 | 'DateTimeImmutable::diff' => ['DateInterval', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'], |
1622 | 1622 | 'DateTimeImmutable::format' => ['string', 'format'=>'string'], |
1623 | | -'DateTimeImmutable::getLastErrors' => ['array{warning_count: int, warnings: array<int, string>, error_count: int, errors: array<int, string>}|false'], |
| 1623 | +'DateTimeImmutable::getLastErrors' => ['array{warning_count: 0|positive-int, warnings: list<string>, error_count: 0|positive-int, errors: list<string>}|false'], |
1624 | 1624 | 'DateTimeImmutable::getOffset' => ['int'], |
1625 | 1625 | 'DateTimeImmutable::getTimestamp' => ['int'], |
1626 | 1626 | 'DateTimeImmutable::getTimezone' => ['DateTimeZone'], |
|
2639 | 2639 | 'explode' => ['list<string>|false', 'separator'=>'string', 'str'=>'string', 'limit='=>'int'], |
2640 | 2640 | 'expm1' => ['float', 'number'=>'float'], |
2641 | 2641 | 'extension_loaded' => ['bool', 'extension_name'=>'string'], |
2642 | | -'extract' => ['int', '&rw_var_array'=>'array', 'extract_type='=>'int', 'prefix='=>'string|null'], |
| 2642 | +'extract' => ['0|positive-int', '&rw_var_array'=>'array', 'extract_type='=>'int', 'prefix='=>'string|null'], |
2643 | 2643 | 'ezmlm_hash' => ['int', 'addr'=>'string'], |
2644 | 2644 | 'fam_cancel_monitor' => ['bool', 'fam'=>'resource', 'fam_monitor'=>'resource'], |
2645 | 2645 | 'fam_close' => ['void', 'fam'=>'resource'], |
|
2968 | 2968 | 'filter_id' => ['int|false', 'filtername'=>'string'], |
2969 | 2969 | 'filter_input' => ['mixed', 'type'=>'int', 'variable_name'=>'string', 'filter='=>'int', 'options='=>'array|int'], |
2970 | 2970 | 'filter_input_array' => ['array|false|null', 'type'=>'int', 'definition='=>'int|array', 'add_empty='=>'bool'], |
2971 | | -'filter_list' => ['array'], |
| 2971 | +'filter_list' => ['non-empty-list<non-falsy-string>'], |
2972 | 2972 | 'filter_var' => ['mixed', 'variable'=>'mixed', 'filter='=>'int', 'options='=>'mixed'], |
2973 | 2973 | 'filter_var_array' => ['array|false|null', 'data'=>'array', 'definition='=>'mixed', 'add_empty='=>'bool'], |
2974 | 2974 | 'FilterIterator::__construct' => ['void', 'iterator'=>'Iterator'], |
|
5700 | 5700 | 'jpeg2wbmp' => ['bool', 'jpegname'=>'string', 'wbmpname'=>'string', 'dest_height'=>'int', 'dest_width'=>'int', 'threshold'=>'int'], |
5701 | 5701 | 'json_decode' => ['mixed', 'json'=>'string', 'assoc='=>'bool|null', 'depth='=>'positive-int', 'options='=>'int'], |
5702 | 5702 | 'json_encode' => ['non-empty-string|false', 'data'=>'mixed', 'options='=>'int', 'depth='=>'positive-int'], |
5703 | | -'json_last_error' => ['int'], |
| 5703 | +'json_last_error' => ['JSON_ERROR_NONE|JSON_ERROR_DEPTH|JSON_ERROR_STATE_MISMATCH|JSON_ERROR_CTRL_CHAR|JSON_ERROR_SYNTAX|JSON_ERROR_UTF8|JSON_ERROR_RECURSION|JSON_ERROR_INF_OR_NAN|JSON_ERROR_UNSUPPORTED_TYPE|JSON_ERROR_INVALID_PROPERTY_NAME|JSON_ERROR_UTF16'], |
5704 | 5704 | 'json_last_error_msg' => ['string'], |
5705 | 5705 | 'JsonIncrementalParser::__construct' => ['void', 'depth'=>'', 'options'=>''], |
5706 | 5706 | 'JsonIncrementalParser::get' => ['', 'options'=>''], |
|
8318 | 8318 | 'openssl_encrypt' => ['string|false', 'data'=>'string', 'method'=>'string', 'key'=>'string', 'options='=>'int', 'iv='=>'string', '&w_tag='=>'string', 'aad='=>'string', 'tag_length='=>'int'], |
8319 | 8319 | 'openssl_error_string' => ['string|false'], |
8320 | 8320 | 'openssl_free_key' => ['void', 'key_identifier'=>'resource'], |
8321 | | -'openssl_get_cert_locations' => ['array'], |
8322 | | -'openssl_get_cipher_methods' => ['array', 'aliases='=>'bool'], |
| 8321 | +'openssl_get_cert_locations' => ['array<non-falsy-string, string>'], |
| 8322 | +'openssl_get_cipher_methods' => ['list<string>', 'aliases='=>'bool'], |
8323 | 8323 | 'openssl_get_curve_names' => ['list<string>|false'], |
8324 | | -'openssl_get_md_methods' => ['array', 'aliases='=>'bool'], |
| 8324 | +'openssl_get_md_methods' => ['list<string>', 'aliases='=>'bool'], |
8325 | 8325 | 'openssl_get_privatekey' => ['resource|false', 'key'=>'string', 'passphrase='=>'string'], |
8326 | 8326 | 'openssl_get_publickey' => ['resource|false', 'cert'=>'resource|string'], |
8327 | 8327 | 'openssl_open' => ['bool', 'sealed_data'=>'string', '&w_open_data'=>'string', 'env_key'=>'string', 'priv_key_id'=>'string|array|resource', 'method='=>'string', 'iv='=>'string'], |
|
12017 | 12017 | 'stream_set_write_buffer' => ['int', 'fp'=>'resource', 'buffer'=>'int'], |
12018 | 12018 | 'stream_socket_accept' => ['resource|false', 'serverstream'=>'resource', 'timeout='=>'float', '&w_peername='=>'string'], |
12019 | 12019 | 'stream_socket_client' => ['resource|false', 'remoteaddress'=>'string', '&w_errcode='=>'int', '&w_errstring='=>'string', 'timeout='=>'float', 'flags='=>'int', 'context='=>'resource'], |
12020 | | -'stream_socket_enable_crypto' => ['int|bool', 'stream'=>'resource', 'enable'=>'bool', 'cryptokind='=>'int', 'sessionstream='=>'resource'], |
| 12020 | +'stream_socket_enable_crypto' => ['0|bool', 'stream'=>'resource', 'enable'=>'bool', 'cryptokind='=>'int', 'sessionstream='=>'resource'], |
12021 | 12021 | 'stream_socket_get_name' => ['string|false', 'stream'=>'resource', 'want_peer'=>'bool'], |
12022 | 12022 | 'stream_socket_pair' => ['resource[]|false', 'domain'=>'int', 'type'=>'int', 'protocol'=>'int'], |
12023 | 12023 | 'stream_socket_recvfrom' => ['string|false', 'stream'=>'resource', 'amount'=>'int', 'flags='=>'int', '&w_remote_addr='=>'string'], |
|
0 commit comments