What will be the output of the following php code?
 $num  = 

Home | Discussion Forum

Free Online Test

Taiyari24Hour

What will be the output of the following php code?

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



View More Related Question

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

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

3) What will be the output of the following php code?

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

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

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

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

UP Gk Online Test

taiyari24hour.com

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