3v4l.org

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