A PHP script should start with ___ and end with ___:

Home | Discussion Forum

Free Online Test

Taiyari24Hour

A PHP script should start with ___ and end with ___:



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;
?>

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.