3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $false = false; $data = $false or 'this is right'; if($data != 'this is right') { echo 'ERROR'; } var_dump($data);
Output for 4.3.0 - 7.1.0
ERRORbool(false)