[phpstorm-stubs] update stubs according to latest php version
This commit is contained in:
parent
9065858a12
commit
9e105c218a
|
@ -794,7 +794,7 @@ define('GMP_NATIVE_ENDIAN', 16);
|
|||
* The GMP library version
|
||||
* @link https://php.net/manual/en/gmp.constants.php
|
||||
*/
|
||||
define('GMP_VERSION', "6.2.1");
|
||||
define('GMP_VERSION', "6.3.0");
|
||||
|
||||
define('GMP_MPIR_VERSION', '3.0.0');
|
||||
|
||||
|
|
|
@ -6790,8 +6790,8 @@ function intltz_get_id_for_windows_id(string $timezoneId, ?string $region = null
|
|||
* @link https://php.net/manual/en/intl.constants.php
|
||||
*/
|
||||
define('INTL_MAX_LOCALE_LEN', 156);
|
||||
define('INTL_ICU_VERSION', "73.2");
|
||||
define('INTL_ICU_DATA_VERSION', "73.2");
|
||||
define('INTL_ICU_VERSION', "74.1");
|
||||
define('INTL_ICU_DATA_VERSION', "74.1");
|
||||
define('ULOC_ACTUAL_LOCALE', 0);
|
||||
define('ULOC_VALID_LOCALE', 1);
|
||||
define('GRAPHEME_EXTR_COUNT', 0);
|
||||
|
|
|
@ -923,7 +923,8 @@ function mb_send_mail(string $to, string $subject, string $message, array|string
|
|||
'substitute_character' => 'string',
|
||||
'strict_detection' => 'string',
|
||||
])]
|
||||
function mb_get_info(string $type = 'all'): array|string|int|false {}
|
||||
#[LanguageLevelTypeAware(['8.2' => 'array|string|int|false|null'], default: 'array|string|int|false')]
|
||||
function mb_get_info(string $type = 'all') {}
|
||||
|
||||
/**
|
||||
* Check if the string is valid for the specified encoding
|
||||
|
@ -1460,6 +1461,6 @@ define('MB_CASE_FOLD_SIMPLE', 7);
|
|||
/**
|
||||
* @since 7.4
|
||||
*/
|
||||
define('MB_ONIGURUMA_VERSION', '6.9.8');
|
||||
define('MB_ONIGURUMA_VERSION', '6.9.9');
|
||||
|
||||
// End of mbstring v.
|
||||
|
|
|
@ -2097,8 +2097,8 @@ function pg_exit_pipeline_mode(PgSql\Connection $connection): bool {}
|
|||
*/
|
||||
function pg_enter_pipeline_mode(PgSql\Connection $connection): bool {}
|
||||
|
||||
define('PGSQL_LIBPQ_VERSION', "15.5");
|
||||
define('PGSQL_LIBPQ_VERSION_STR', "15.5");
|
||||
define('PGSQL_LIBPQ_VERSION', "16.1");
|
||||
define('PGSQL_LIBPQ_VERSION_STR', "16.1");
|
||||
|
||||
/**
|
||||
* Passed to <b>pg_connect</b> to force the creation of a new connection,
|
||||
|
|
|
@ -76,9 +76,9 @@ const SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE = 3;
|
|||
const SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE = 268435456;
|
||||
const SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE = 4;
|
||||
const SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE = 1073741824;
|
||||
const SODIUM_LIBRARY_VERSION = "1.0.18";
|
||||
const SODIUM_LIBRARY_MAJOR_VERSION = 10;
|
||||
const SODIUM_LIBRARY_MINOR_VERSION = 3;
|
||||
const SODIUM_LIBRARY_VERSION = "1.0.19";
|
||||
const SODIUM_LIBRARY_MAJOR_VERSION = 26;
|
||||
const SODIUM_LIBRARY_MINOR_VERSION = 1;
|
||||
const SODIUM_CRYPTO_KDF_BYTES_MIN = 16;
|
||||
const SODIUM_CRYPTO_KDF_BYTES_MAX = 64;
|
||||
const SODIUM_CRYPTO_KDF_CONTEXTBYTES = 8;
|
||||
|
|
|
@ -349,13 +349,15 @@ function stristr(string $haystack, string $needle, bool $before_needle = false):
|
|||
* If <b>needle</b> is not a string, it is converted to
|
||||
* an integer and applied as the ordinal value of a character.
|
||||
* </p>
|
||||
* @param bool $before_needle Since 8.3 If true, strrchr() returns the part of the haystack before the last occurrence
|
||||
* of the needle (excluding the needle).
|
||||
* @return string|false <p>
|
||||
* This function returns the portion of string, or <b>FALSE</b> if
|
||||
* <b>needle</b> is not found.
|
||||
* </p>
|
||||
*/
|
||||
#[Pure]
|
||||
function strrchr(string $haystack, string $needle, #[PhpStormStubsElementAvailable(from: "8.3")] bool $before_needle = false): string|false {}
|
||||
function strrchr(string $haystack, string $needle, #[PhpStormStubsElementAvailable(from: '8.3')] bool $before_needle = false): string|false {}
|
||||
|
||||
/**
|
||||
* Randomly shuffles a string
|
||||
|
|
Loading…
Reference in New Issue