3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach([true, false] as $bool) { print $bool . ': ' .var_export($bool) . "\n"; }
based on RE8WI
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
true1: false:
Output for hhvm-3.18.5 - 3.22.0
true1: 1 false: 1