3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 1; $y = '1'; if($i===1){ echo 'i is great<br />'; } if($i==true){ echo 'i is true<br />'; } if($i===true){ echo 'i is not totaly true<br />'; } if($y===1){ echo 'y is great<br />'; }
Output for 4.3.0 - 7.1.0
i is great<br />i is true<br />