In the following PHP 7.1 program, which of the given code statements should replace ??? to obtain 12345 as output?
function recursive($var){
echo $var;
if($var < 5){
???
}
}
$a = 1;
recursive($a);
?>
Correct Answer:
return recursive($var + 1);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP 5 MCQ Questions