3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 200.51; $b = 200.50; print_r(abs($a-$b)); print_r(abs(bcsub($a-$b)));
Output for git.master, git.master_jit, rfc.property-hooks
0.0099999999999909 Fatal error: Uncaught ArgumentCountError: bcsub() expects at least 2 arguments, 1 given in /in/voncP:7 Stack trace: #0 /in/voncP(7): bcsub(0.0099999999999909) #1 {main} thrown in /in/voncP on line 7
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:
56.38 ms | 401 KiB | 8 Q