Voting

: max(three, six)?
(Example: nine)

The Note You're Voting On

buyatv at gmail dot com
7 years ago
You can not get collect sub array count when there is only one sub array in an array:

$a = array ( array ('a','b','c','d'));
$b = array ( array ('a','b','c','d'), array ('e','f','g','h'));

echo count($a); // 4 NOT 1, expect 1
echo count($b); // 2, expected

<< Back to user notes page

To Top