Count the number of values in an array

array:count(ARRAY $array) : INT

array:count(['name' => 'david', 'id' => 123])
#=> 2

Copyright ©2013-2022 SunSed®. All rights reserved.