3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $capacities = array(25,150,5000,50000,200000,5000000); foreach ($capacities as $c) { echo sprintf("Capacity of %s will be allowed to overdraw by %s.\n", $c, log($c)*4); }
based on tU3Eh
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Capacity of 25 will be allowed to overdraw by 12.875503299473. Capacity of 150 will be allowed to overdraw by 20.042541176385. Capacity of 5000 will be allowed to overdraw by 34.068772765665. Capacity of 50000 will be allowed to overdraw by 43.279113137641. Capacity of 200000 will be allowed to overdraw by 48.824290582121. Capacity of 5000000 will be allowed to overdraw by 61.699793881594.