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) We can use _________ to comment a single line?

  1. /?
  2. //
  3. #
  4. /* */

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

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 PHP code?

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

5) What will be the output of the following PHP code?

$a = "clue";
$a .= "get";
echo "$a";

UP Gk Online Test

taiyari24hour.com

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