Which of the following php statement/statements will store 111 in variable num?<

Home | Discussion Forum

Free Online Test

Taiyari24Hour

Which of the following php statement/statements will store 111 in variable num?

  1. int $num = 111;
  2. int mum = 111;
  3. $num = 111;
  4. 111 = $num;



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

$num = 10;
echo 'What is her age? n She is $num years old';

3) Which version of PHP introduced Try/catch Exception?

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

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

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

UP Gk Online Test

taiyari24hour.com

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