<?php function byRef(&$apples) { $apples++; } $oranges = 5; $apples = 5; byRef($oranges); echo "I have $apples apples and $oranges oranges"; ?>
Login in to like
Login in to comment
or Read more about PHP Quizzes
Login in to like
Login in to comment