3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 30; if ($var == ( 10 || 20 )) { echo "TRUE"; } var_dump(10 || 20); // results TRUE for $var = 30 ?>
Output for 4.3.0 - 7.1.0
TRUEbool(true)