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.0110.01119.63
8.4.10.0160.00319.58
8.3.150.0140.00317.12
8.3.140.0080.00018.50
8.3.130.0030.00616.85
8.3.120.0000.00820.72
8.3.110.0000.00918.63
8.3.100.0090.01218.35
8.3.50.0000.01016.46
8.2.260.0110.00717.13
8.2.250.0130.00318.53
8.2.240.0090.00016.88
8.2.230.0000.00818.37
8.2.220.0100.00618.27
8.1.310.0000.01516.57
8.1.300.0030.00618.34

preferences:
44.73 ms | 403 KiB | 5 Q