3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = .0; $x = -$x; var_dump($x);
Output for 7.0.2 - 7.2.0
float(-0)
Output for 5.3.20 - 7.0.1
float(0)