3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-(float)"+0"); var_dump(+(float)"-0");
Output for 7.0.2 - 7.3.1
float(-0) float(-0)
Output for 5.3.20 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.0.1
float(0) float(0)