how to get length of object in php

47

how to get length of object in php -

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

Comments

Submit
0 Comments