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

Home | Discussion Forum

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

View More Related Question

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

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

2) We can use _________ to comment a single line?

  1. /?
  2. //
  3. #
  4. /* */

3) Which of the conditional statements is/are supported by PHP?

  1. if statements
  2. if-else statements
  3. if-elseif statements
  4. switch statements

4) 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;

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

UP Gk Online Test

taiyari24hour.com

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