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.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.240.0060.00318.70
8.2.230.0000.01018.22
8.2.220.0110.00718.20
8.1.300.0080.00018.22

preferences:
23.41 ms | 403 KiB | 5 Q