function phutil_count($countable)libphutil Technical Documentation (Internationalization)
function phutil_count($countable)
libphutil Technical Documentation (Internationalization)
Count all elements in an array, or something in an object.
Parameters
array|Countable | $countable | A countable object. |
Return
PhutilNumber | Returns the number of elements in the input parameter. |