3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = null; $y = $x || 5; echo $y; $x = 3; $y = $x || 5; echo $y;
Output for 5.3.17 - 7.2.0
11