3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new BCMath\Number("1.2"); $b = gmp_init("3"); var_dump( $a + $b, $b + $a );

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.20.0120.00819.66
8.4.10.0130.00619.56
8.3.150.0140.00016.97
8.3.140.0060.00318.28
8.3.130.0000.00816.68
8.3.120.0090.00918.86
8.3.110.0230.00817.45
8.3.100.0090.00018.51
8.3.50.0080.00316.77
8.2.260.0100.00717.16
8.2.250.0100.00316.63
8.2.240.0060.00318.70
8.2.230.0000.01018.22
8.2.220.0110.00718.20
8.1.310.0090.00916.84
8.1.300.0080.00018.22

preferences:
45.38 ms | 403 KiB | 5 Q