function oranges(&$oranges = 17){$oranges .= 1;}$apples = 5;oranges($apples);echo $apples++;
function pears(Array $pears){if (count($pears) > 0){echo array_pop($pears);pears($pears);}}$fruit = array("Anjo", "Bartlet");pears($fruit);
<?phpfunction byReference(&$variable = 5){ echo ++$variable;}byReference();?>
http://php.net/manual/en/function.array-pop.php