Hi again,
Personally, I can't see how any of the answers below are suitable - but i'm obviously wrong. Can anyone advise?
Q: What is the output of the following?
Answers (Choose 1):PHP Code:<?php
function 1dotEach($n)
{
if ($n > 0)
{
1dotEach(--$n);
echo ".";
}else
{
return $n;
}
}
1dotEach(4);
?>
...0
Parse Error: Syntax Error
.....
....
...
Grazie,
Picco


Reply With Quote

Bookmarks