3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(log(2), log(3), log(4), log(5), log(6), log(7), log(8), log(9), log(10));
Output for 4.3.0 - 7.1.0
float(0.69314718055995) float(1.0986122886681) float(1.3862943611199) float(1.6094379124341) float(1.7917594692281) float(1.9459101490553) float(2.0794415416798) float(2.1972245773362) float(2.302585092994)