Which of the conditional statements is/are supported by PHP?
  1. if stat

Home | Discussion Forum

Free Online Test

Taiyari24Hour

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

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



View More Related Question

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

2) Which of the following PHP statements will output Hello World on the screen?

  1. echo (“Hello World”);
  2. print (“Hello World”);
  3. printf (“Hello World”);
  4. sprintf (“Hello World”);

3) Which of following variables can be assigned a value to it?

  1. $3hello
  2. $_hello
  3. $this
  4. $This

4) PHP files have a default file extension of..

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

$color = "maroon";
$var = $color[2];
echo "$var";

UP Gk Online Test

taiyari24hour.com

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