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



wp-includes/compat.php › WordPress File

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


Function Short description
array_allPolyfill for `array_all()` function added in PHP 8.4.
array_anyPolyfill for `array_any()` function added in PHP 8.4.
array_findPolyfill for `array_find()` function added in PHP 8.4.
array_find_keyPolyfill for `array_find_key()` function added in PHP 8.4.
array_is_listPolyfill for `array_is_list()` function added in PHP 8.1.
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.
is_countablePolyfill for is_countable() function added in PHP 7.3.
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.
_-