Page MenuHomePhorge

function phutil_count($countable)
libphutil Technical Documentation (Internationalization)

Count all elements in an array, or something in an object.

Parameters
array|Countable$countableA countable object.
Return
PhutilNumberReturns the number of elements in the input parameter.