3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-0.0); var_dump(+(-0.0)); var_export(1.0); echo PHP_EOL; var_export(INF);
based on 5Ap32
Output for 7.0.3 - 7.2.0
float(-0) float(-0) 1.0 INF
Output for 7.0.2
float(-0) float(-0) 1.0 INF.0
Output for 5.3.21 - 7.0.1
float(0) float(0) 1 INF