Show Output
PHP Count Something in an Object
number; } } // Creating object $countable = new MyClass(); echo count($countable); // Prints: 4 ?>