3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 3.14 => "pi" ); var_dump($a);
based on eLPaa
Output for 4.3.0 - 7.1.0
array(1) { [3]=> string(2) "pi" }