Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following PHP code?
<?php
$a = 5;
$b = 5;
echo ($a === $b);
?>

What will be the output of the following PHP code?
<?php
$a = 5;
$b = 5;
echo ($a === $b);
?>
a) 5 === 5
b) Error
c) 1
d) False

Answer: c
Explanation: === operator returns 1 if $a and $b are equivalent and $a and $b have the same type.

Join The Discussion