3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array ( 'zero' => 0, 'simple' => 12, 'one-thousand' => 1000.0, 'negative one-thousand' => -1000.0, ); var_export($a);
Output for 7.0.2 - 7.2.0
array ( 'zero' => 0, 'simple' => 12, 'one-thousand' => 1000.0, 'negative one-thousand' => -1000.0, )
Output for 5.3.21 - 7.0.1
array ( 'zero' => 0, 'simple' => 12, 'one-thousand' => 1000, 'negative one-thousand' => -1000, )