3v4l.org

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