You appear to be a bot. Output may be restricted
Description
Test is_countable() polyfill.
Usage
Tests_Compat_isCountable::test_is_countable_functionality( $variable, $is_countable );
Parameters
- $variable
- ( mixed ) required – Variable to check.
- $is_countable
- ( bool ) required – The expected return value of PHP 7.3 is_countable() function.
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/compat/isCountable.php
Lines:
1 to 4 of 4
public function test_is_countable_functionality( $variable, $is_countable ) { $this->assertSame( $is_countable, is_countable( $variable ) ); }