3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 10; $i++) { var_dump(log10($i % 10 + 1) * 50 + 1); }
Output for 4.3.0 - 7.1.0
float(1) float(16.051499783199) float(24.856062735983) float(31.102999566398) float(35.948500216801) float(39.907562519182) float(43.254902000713) float(46.154499349597) float(48.712125471966) float(51)