PHP files have a default file extension of..

Home | Discussion Forum

PHP files have a default file extension of..

Free Online Test

View More Related Question

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

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

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

3) Which of the below symbols is a newline character?

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

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

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

UP Gk Online Test

taiyari24hour.com