Consider following code snippet: Какой результат выполнения данного кода?
<?php
function byRef(&$apples)
{
  $apples++;
}
$oranges = 5;
$apples = 5;
byRef($oranges);
echo "I have $apples apples and $oranges oranges";
?>
What will be printed after executing the code above?
PHP
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback