3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $floatable = (float) "8.1122"; $vars = array($floatable => "value"); var_dump($vars);
based on EuD3U
Output for 4.3.0 - 7.2.0
array(1) { [8]=> string(5) "value" }