3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $capacities = array(50000,200000,5000000); foreach ($capacities as $c) { echo sprintf("Capacity of %s will be allowed to overdraw by %s.\n", $c, log($c)*10 ); }
based on Cq2Wv
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Capacity of 50000 will be allowed to overdraw by 108.1977828441. Capacity of 200000 will be allowed to overdraw by 122.0607264553. Capacity of 5000000 will be allowed to overdraw by 154.24948470398.
Output for hhvm-3.10.0

Process exited with code 153.