<?php // use type hinting to specify the expected data type of an argument
function startParty(array $guests, array $food = null) {
// party stuff...
}
$guests = array("Susan Foreman", "Sarah Jane Smith");
startParty($guests, null);
?>
Apparently 'type hinting' in PHP can be defined as
follows: "Type hinting" forces you to only pass objects
of a particular type. This prevents you from
passing incompatible values, and creates a standard
if you're working with a team