3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '052'; var_dump($a += 1); $c = array('052' => 'nanana'); $d = array(42 => 'batman'); var_dump(array_merge($c, $d));
Output for 4.3.0 - 7.2.0
int(53) array(2) { ["052"]=> string(6) "nanana" [0]=> string(6) "batman" }