Which of the following PHP statements will output Hello World on the screen?
Home | Discussion Forum

Free Online Test

Taiyari24Hour

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



View More Related Question

1) Which statement will output $x on the screen?

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

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

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

  $foo = 'Bob';
$bar = &$foo;
$bar = "My name is $bar";
echo $bar;
echo $foo;
?>

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

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

UP Gk Online Test

taiyari24hour.com

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