how to get length of object in php

50

how to get length of object in php -

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

Comments

Submit
0 Comments