3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n1 = 0.0000000100; $n2 = 0.0000000200; $sum = bcadd($n1, $n2, 10); printf("sum = %s", $sum);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: bcadd(): Argument #1 ($num1) is not well-formed in /in/BKU7J:5 Stack trace: #0 /in/BKU7J(5): bcadd('1.0E-8', '2.0E-8', 10) #1 {main} thrown in /in/BKU7J on line 5
Process exited with code 255.

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:
152.04 ms | 405 KiB | 5 Q