PHP MCQ - English
A PHP script should start with ___ and end with ___:
Home | Discussion ForumFree Online Test
A PHP script should start with ___ and end with ___:
< php >
< ? php ? >
< ? ? >
< ?php ? >
Answer : D
Free Online Test
View More Related Question
1) A PHP script should start with ___ and end with ___:
2) What will be the output of the following code?
$foo = 'Bob';
$bar = &$foo;
$bar = "My name is $bar";
echo $bar;
echo $foo;
?>
3) What will be the output of the following code?function track()
{
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();
4) Which of the below symbols is a newline character?
5) What will be the output of the following php code?
$num = "1";
$num1 = "2";
print $num+$num1;
?>