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); }
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
float(0) float(15.051499783199) float(23.856062735983) float(30.102999566398) float(34.948500216801) float(38.907562519182) float(42.254902000713) float(45.154499349597) float(47.712125471966) float(50)
Output for hhvm-3.10.0

Process exited with code 153.