3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<10;$i++) var_dump($i-log(intval(pow(10,$i)),10));
based on hXRZl
Output for 7.0.0 - 7.2.0
float(0) float(0) float(0) float(0) float(0) float(0) float(0) float(0) float(0) float(0)
Output for 5.3.22 - 5.6.28
float(0) float(0) float(0) float(4.4408920985006E-16) float(0) float(0) float(8.8817841970013E-16) float(0) float(0) float(1.7763568394003E-15)