- Fix loading the
ini_parse_quantity()polyfill
- Polyfill
ldap_exop_sync() - Polyfill
ldap_connect_wallet() - Polyfill
stream_context_set_options() - Polyfill
odbc_connection_string_is_quoted() - Polyfill
odbc_connection_string_should_quote() - Polyfill
odbc_connection_string_quote() - Polyfill
ini_parse_quantity() - Polyfill
mb_str_pad() - Polyfill
#[\Override]attribute - Use full case folding when using
MB_CASE_FOLD - Add
CURLStringFileclass introduced in PHP 8.1 (but only if PHP >= 7.4 is used) - Add
Date*Exception/Errorclasses introduced in PHP 8.3 for the Date/Time extension
- Add PHP 8.3 polyfill for
json_validate() - Add polyfill for PHP 8.2's
Randominterfaces, exceptions andSecureengine - Fix
IntlDateFormatter::formatObject()signature
- Add PHP 8.2 polyfill with SensitiveParameter, SensitiveParameterValue and AllowDynamicProperties
- Fix QQQQQ date format
- Fix passing null to
preg_split(), throwing a deprecation on PHP 8.1
- Add
PhpTokento the PHP 8.0 polyfill when the tokenizer extension is enabled - Fix
str_ends_with()when needle is longer than haystack
- Indicates that polyfills provides corresponding extensions
- Add
IntlDateFormatter::RELATIVE_*constants - Mimic deprecation from PHP 8.1 in IntlDateFormatter
- Optimize
array_is_list - Workaround buggy PCRE versions
- Fix
iconv_mime_decode()while using mbstring extension - Fix deprecations on PHP 8.1
- Fix Intl Grapheme
PCRE_VERSIONcomparison when version has a timestamp - Fix throwing from
mb_substitute_characteron PHP >= 8
- Allow null in str_*() functions
- Fix
grapheme_str(r)ipos()
- added
CURLStringFileto the PHP 8.1 polyfill - added
enum_exists()to the PHP 8.1 polyfill - added
MYSQLI_REFRESH_REPLICAconstant to PHP 8.1 polyfill - added
ReturnTypeWillChangeto PHP 8.1 polyfill - updated Unicode maps to v13
- removed
INTL_IDNA_VARIANT_2003on PHP 8 - fixed return value of
mb_parse_str() - fixed
IntlDateFormatter::format()on 32b platforms - fixed
mb_chr()in the PHP 7.2 polyfill - fixed
mb_strrchr(),mb_detect_order(),iconv_substr(),grapheme_substr()on PHP 8
- always accept null values on PHP 8, as native functions do
- added PHP 8.1 polyfill
- fixed signatures on PHP 8
- fixed behaviors on PHP 8
- synced values of
Normalizer::*consts
- made symfony/polyfill-intl-icu independent of symfony/intl
- made polyfills for PHP <= 7.1 independent of symfony/polyfill
- optimize grapheme polyfill
- Bump minimum PHP version to 7.1
- Add a polyfill for the
Attributeclass - Fix the name of arguments for PHP 8
- Improve performances of
array_key_last() - Fix polyfill for
mb_strrchr() - Skip loading
Stringableon PHP 8 - Fix passing
$length=nulltographeme_substr() - Fix
iconv_substr()andgrapheme_substr()on PHP 8 - Fix using any IDNA constants
- Don't force labels containing URL delimiters to stay in their Unicode form when using
idn_to_ascii()
- improve polyfill-idn to make it compliant with latest Unicode specs
- added
UnhandledMatchErrorto the PHP 8 polyfill
- fix accuracy of
Normalizer::isNormalized()
- added
get_resource_id()to the PHP 8 polyfill - fix declaring extra constants when
intlis loaded
- added
str_starts_with()andstr_ends_with()to the PHP 8 polyfill - added polyfill for
PHP_FLOAT_*constants - fixed
spl_object_id()on 32-bit systems - fixed
idn_to_ascii()not failing on leading or trailing hyphen-minus
- added interface
Stringableto the PHP 8 polyfill - added
get_debug_type()to the PHP 8 polyfill - added
str_contains()to the PHP 8 polyfill - added
preg_last_error_msg()to the PHP 8 polyfill - added support for UUID V3 and V5
- added support for UUID on 32-bit systems
- fixed support for preloading
- added PHP 8.0 polyfill
- use correct block size for SHA1 in
hash_pbkdf2()polyfill - fixed
mb_str_split()ignoring new-line characters - updated Unicode maps
- fixed issues with the uuid polyfill
- added polyfills for
uuid_*functions - optimized
mb_str_split() - fixed handling negative offsets for grapheme and mbstring functions
- added PHP 7.4 polyfill
- fixed support for IDN with trailing dot
- added missing polyfill for
JsonException
- added polyfill for
idn_to_ascii()andidn_to_utf8() - added polyfill for intl's
MessageFormatter - prevented DoS via long passwords when using
hash_pbkdf2()polyfill - duplicated
mb_ord(),mb_chr()andmb_scrub()polyfills in thephp72one
- added polyfill for
hrtime() - added polyfills for
array_key_first()andarray_key_last() - fixed infinite loop in
iconv()polyfill when using translit mode - fixed converting to title case with mbstring polyfill
- added PHP 7.3 polyfill
- added polyfills for
ctype_*functions
- added logic to new stream functions on Windows (sapi_windows_vt100_support)
- added polyfills for mb_*_numericentity
- made translit/ignore flags order-insensitive
- add
SessionUpdateTimestampHandlerInterfacein PHP 7.0 polyfill - fixed loading of Apcu polyfill when Zend Server's Data Cache is used
- added polyfill for spl_object_id()
- fixed apcu function when apc ones are polyfilled with Zend Server's Data Cache
- added
PHP_OS_FAMILYpolyfill
- added PHP 7.2 polyfill
- added missing validation to mb_convert_case()
- added missing PHP_INT_MIN constant
- fixed iconv_substr(): Detected an illegal character in input string
- provided APCUIterator for APCu 4.x users
- added polyfill for
is_iterable() - added polyfills for
mb_chr(),mb_ord()andmb_scrub() - added support for PHP 7.1
- silenced
iconv_strlen()inmb_strlen()polyfill - bypassed iconv for some charsets in mb_strlen
- fixed
mb_convert_variables()poylfill
- bug #61 Normalizer::decompose() should reorder "recursive" combining chars (nicolas-grekas)
- bug #59 Normalizer::recompose() should reset the last combining class on ASCII (nicolas-grekas)
- bug #59 Normalizer::isNormalized() should fail with Normalizer::NONE (nicolas-grekas)
- bug #59 Normalizer::isNormalized() and ::normalize() should check for multibyte string function overload (nicolas-grekas)
- feature #44/#53 allow paragonie/random_compat 2.0 (ickbinhier)
- feature #51 Use plain PHP for data maps to benefit from OPcache on PHP 5.6+ (nicolas-grekas)
- bug #49 Fix hex2bin return null (fuhry, binwiederhier)
- bug #40 [Apcu] Load APCUIterator only when APCIterator exists (nicolas-grekas)
- bug #37 [Iconv] Fix wrong use in bootstrap.php (tucksaun)
- bug #31 Fix class_uses polyfill (WouterJ)
- feature #22 [APCu] A new polyfill for the legacy APC users (nicolas-grekas)
- bug #28 [Php70] Workaround https://bugs.php.net/63206 (nicolas-grekas)
- bug #14 ldap_escape does not encode leading/trailing spaces. (ChadSikorra)
- bug #17 Fix #16 - gzopen() / gzopen64() - 32 bit builds of Ubuntu 14.04 (fisharebest)
- Hello symfony/polyfill