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 ___:

Free Online Test



View More Related Question

1) What will be the output of the following code?

function track()
{
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();

2) Which of the following php statement/statements will store 111 in variable num?

  1. int $num = 111;
  2. int mum = 111;
  3. $num = 111;
  4. 111 = $num;

3) What will be the output of the following php code?

 $num  = "1";
$num1 = "2";
print $num+$num1;
?>

4) Which of the below statements is equivalent to $add += $add ?

5) What will be the output of the following PHP code?

$num = 10;
echo 'What is her age? n She is $num years old';

UP Gk Online Test

taiyari24hour.com

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