• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/compat.php

array_key_first()

Function: Polyfill for array_key_first() function added in PHP 7.3.

Source: wp-includes/compat.php:391

Used by 0 functions | Uses 0 functions

array_key_last()

Function: Polyfill for `array_key_last()` function added in PHP 7.3.

Source: wp-includes/compat.php:411

Used by 0 functions | Uses 0 functions

str_contains()

Function: Polyfill for `str_contains()` function added in PHP 8.0.

Source: wp-includes/compat.php:433

Used by 2 functions | Uses 0 functions

str_starts_with()

Function: Polyfill for `str_starts_with()` function added in PHP 8.0.

Source: wp-includes/compat.php:451

Used by 1 function | Uses 0 functions

str_ends_with()

Function: Polyfill for `str_ends_with()` function added in PHP 8.0.

Source: wp-includes/compat.php:472

Used by 0 functions | Uses 0 functions

is_countable()

Function: Polyfill for is_countable() function added in PHP 7.3.

Source: wp-includes/compat.php:352

Used by 1 function | Uses 0 functions

is_iterable()

Function: Polyfill for is_iterable() function added in PHP 7.1.

Source: wp-includes/compat.php:373

Used by 0 functions | Uses 0 functions

hash_equals()

Function: Timing attack safe string comparison

Source: wp-includes/compat.php:315

Used by 12 functions | Uses 0 functions

_()

Function:

Source: wp-includes/compat.php:11

Used by 14 functions | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry