3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(log(1000, 10)); var_dump(3-log(1000, 10));
based on qMg6W
Output for 7.0.0 - 7.2.0
float(3) float(0)
Output for 5.5.0 - 5.6.28
float(3) float(4.4408920985006E-16)