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 5.3.0 - 5.3.24, 5.3.26 - 5.4.16
Parse error: syntax error, unexpected '=' in /in/1bICD on line 12
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected '=' in /in/KL7No on line 12
Process exited with code 255.