3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $moved = 'foo'; echo 1; $isNotSet = !isset($moved); echo 2; $moveSuccess = true; echo 3; if(($isNotSet === true) || ($moveSuccess === true) || 1){ echo 4; }else{ echo 5; } echo 6;
Output for 4.3.0 - 7.1.0
12346