?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$one = "one";
$two = "one";
print($one == $two);
?>
<?php
$one = "one";
$two = "one";
print($one == $two);
?>
Answer & Solution
Correct Answer:
Option
C
Since both the strings are equal the result 1 is printed on the screen.
Join the Discussion
Login to post a comment or share your explanation.
Login