3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $zero = 0; $one = 1; $two = 2; $three = 3; if($zero) { echo '0'; } if($one) { echo '1'; } if($two) { echo '2'; }
Output for 4.3.0 - 7.1.0
12