<?php
echo "<b>compare both outputs</b><br><br>";
if(1=='1')
echo "equal";
//for new line
echo '<br>';
if(1==='1')
echo "equal";
else
echo "not equal";
?>
output :
compare both outputs
equal
not equal
echo "<b>compare both outputs</b><br><br>";
if(1=='1')
echo "equal";
//for new line
echo '<br>';
if(1==='1')
echo "equal";
else
echo "not equal";
?>
output :
compare both outputs
equal
not equal