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) What will be the output of the following php code?

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

2) Which of the below symbols is a newline character?

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

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

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

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

5) 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”);

UP Gk Online Test

taiyari24hour.com

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