i print php array when it's empty it print 1
$addresses = $user->myFunction();
print_r(count($addresses['my_test']));
Array
(
[my_test] => Array
(
[test] => test
[test1] => test1
)
)
it print 2
when i print this
Array
(
[my_test] => Array
(
[] =>
)
)
i got 1
i don't know what is the problem here
How to print exact value of this?