wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/compat.php › WordPress File

Functions9
WordPress implementation for PHP functions either missing from older PHP versions or not included by default.


Function Short description
array_key_firstPolyfill for array_key_first() function added in PHP 7.3.
array_key_lastPolyfill for `array_key_last()` function added in PHP 7.3.
hash_equalsTiming attack safe string comparison
is_countablePolyfill for is_countable() function added in PHP 7.3.
is_iterablePolyfill for is_iterable() function added in PHP 7.1.
str_containsPolyfill for `str_contains()` function added in PHP 8.0.
str_ends_withPolyfill for `str_ends_with()` function added in PHP 8.0.
str_starts_withPolyfill for `str_starts_with()` function added in PHP 8.0.
_-