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

Home | Discussion Forum

Free Online Test

Taiyari24Hour

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



View More Related Question

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

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

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

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

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

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

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

UP Gk Online Test

taiyari24hour.com

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