Hello everyone i want to count total number of record in array.I tried with following code but not worked. i want "2" as result for current array. Here is my code and current array value showing.
print_r(array_count_values($participants));
Array
(
[0] => abc
(
[version:protected] => Twilio\Rest\Api\V2010 Object
(
)
)
[1] => abc
(
[version:protected] => Twilio\Rest\Api\V2010 Object
(
)
)
)