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?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes