is_countable


is_countable ( $value )

Parameters:
  • (mixed) value The value to check.
Returns:
  • (bool) True if `$value` is countable, false otherwise.
Defined at:

Description

Polyfill for is_countable() function added in PHP 7.3.Verify that the content of a variable is an array or an object implementing the Countable interface.

Related Functions

is_front_page, wp_is_writable, display_plugins_table, disabled, is_month

Top Google Results

User discussions

wpseek mobile