3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0*-1.0); var_dump(0*-1.0 == +0.0);
based on ZNhlg
Output for 5.2.1 - 7.1.7
float(-0) bool(true)
Output for 4.3.0 - 5.2.0
float(0) bool(true)