Quiz · First program · lesson 6 of 7
Quiz — a function call
What does the program print?
<?php
function double($x)
{
return $x * 2;
}
echo double(double(5)) + 1, "\n";What does the program print?
<?php
function double($x)
{
return $x * 2;
}
echo double(double(5)) + 1, "\n";