Examveda
Examveda

What will be the output of the following PHP code ?
<?php
$one = "one";
$two = "two";
print($one==$two);
?>

A. true

B. false

C. nothing

D. error

Answer: Option C

Solution(By Examveda Team)

Since we are equating two unequal strings we do not get any output.

This Question Belongs to PHP >> Operators And Expressions In Php

Join The Discussion

Related Questions on Operators and Expressions in php