3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo{ public $boo = 100.00; } var_export(new Foo);
Output for 7.0.2 - 7.2.0
Foo::__set_state(array( 'boo' => 100.0, ))
Output for 5.3.20 - 7.0.1
Foo::__set_state(array( 'boo' => 100, ))