LPMJ Example E-2 (Click on the icon to view the source for copy and pasting)
<?php
$names = array();
echo sizeof($names) . "<br />";
$names[] = 'Bob';
echo count($names) . "<br />";  // count is an alias of sizeof
?>