3v4l.org

run code in 300+ PHP versions simultaneously
<?php $precision = 18; while ($precision--) { ini_set('precision', $precision); echo $precision . ":" . (342349.23 - 341765.07) . "\n"; } echo "\n"; $precision = 18; $foo = 342349.23; while ($precision--) { ini_set('precision', $precision); echo $precision . ":" . ($foo - 341765.07) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
17:584.15999999997 16:584.15999999997 15:584.15999999997 14:584.15999999997 13:584.15999999997 12:584.15999999997 11:584.15999999997 10:584.15999999997 9:584.15999999997 8:584.15999999997 7:584.15999999997 6:584.15999999997 5:584.15999999997 4:584.15999999997 3:584.15999999997 2:584.15999999997 1:584.15999999997 0:584.15999999997 17:584.15999999997439 16:584.1599999999744 15:584.159999999974 14:584.15999999997 13:584.16 12:584.16 11:584.16 10:584.16 9:584.16 8:584.16 7:584.16 6:584.16 5:584.16 4:584.2 3:584 2:5.8E+2 1:6.0E+2 0:6.0E+2

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:
33.32 ms | 402 KiB | 8 Q