PHP: Count a stdClass object

50

PHP: Count a stdClass object -

$total = count((array)$obj);

Comments

Submit
0 Comments