3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x[10.0] = 'test'; $x['10'] = 'testss'; var_dump($x);
Output for 4.3.0 - 7.1.0
array(1) { [10]=> string(6) "testss" }