3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 41; $a = 1; $b = 2; return $var == 42 ? $a : $b; var_dump(array() < new StdClass());
based on Q57cn
Output for 4.3.0 - 7.2.0