2020-05-02 / 4380阅 / 悠然
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.
(mixed)
(Required)
The value to check.
(bool) True if $var is countable, false otherwise.