3v4l.org

run code in 300+ PHP versions simultaneously
<?php $left = '1071.000000'; $right = '357.000000'; bcscale(100); echo bcmod($left, $right); echo PHP_EOL; echo $div = bcdiv($left, $right, 0); echo PHP_EOL; echo $mul = bcmul($div, $right, 100); echo PHP_EOL; echo $mod = bcsub($left, $mul, 100); echo PHP_EOL; echo 'ccc'; echo bcmod( '1071', '357.5' );
Output for git.master, git.master_jit, rfc.property-hooks
0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 1071.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ccc356.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.7 ms | 402 KiB | 8 Q