3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array("runtime"=>1.234,"event_id"=>"event", "name"=>"name"); $res = var_export($a, true); echo str_replace('array(', '', $res);
Output for 5.3.22 - 5.4.21, 5.6.28, 7.0.20 - 7.2.0
array ( 'runtime' => 1.234, 'event_id' => 'event', 'name' => 'name', )
Output for 5.4.22 - 5.6.21, 7.0.0 - 7.0.6
array ( 'runtime' => 1.23399999999999998578915, 'event_id' => 'event', 'name' => 'name', )