3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $allowAutoSwitch = array( 1 => true, 4 => true, 5 => true, 6 => true, ); echo serialize($allowAutoSwitch);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a:4:{i:1;b:1;i:4;b:1;i:5;b:1;i:6;b:1;}