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) Which of following variables can be assigned a value to it?

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

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

function track()
{
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();

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

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

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

UP Gk Online Test

taiyari24hour.com

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