3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = -0.05648055; $b = -0.00000545; var_dump($a); var_dump($b); $c = bcadd($a,$b); $d = $a + $b; echo $c . "\n"; echo $d;
Output for git.master, git.master_jit, rfc.property-hooks
float(-0.05648055) float(-5.45E-6) Fatal error: Uncaught ValueError: bcadd(): Argument #2 ($num2) is not well-formed in /in/Vm8Li:8 Stack trace: #0 /in/Vm8Li(8): bcadd('-0.05648055', '-5.45E-6') #1 {main} thrown in /in/Vm8Li on line 8
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:
48.04 ms | 401 KiB | 8 Q