3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array( 1 => 'integer 1', '1' => 'string "1"', 's1' => 'string "s1"', ));
Output for 4.3.0 - 7.2.0
array(2) { [1]=> string(10) "string "1"" ["s1"]=> string(11) "string "s1"" }