3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(array( 31 => 31, "32" => "32", "33" => (int) "33")); var_dump(array(031 => 031, "032" => "032", "033" => (int)"033"));
based on WdVQH
Output for 4.3.0 - 7.1.0
array(3) { [31]=> int(31) [32]=> string(2) "32" [33]=> int(33) } array(3) { [25]=> int(25) ["032"]=> string(3) "032" ["033"]=> int(33) }