Examveda
Examveda

What will be the output of the following PHP code?
<?php
$a = 5;
$b = 5;
span class="sys-fun">echo ($a === $b);
?>

A. 5 === 5

B. Error

C. 1

D. False

Answer: Option C

Solution(By Examveda Team)

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

This Question Belongs to PHP >> Basic PHP

Join The Discussion

Related Questions on Basic PHP