3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(array_merge(null, array(1,2)))

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)
5.6.80.0030.07020.53
5.5.240.0000.08020.15
5.4.400.0070.06018.81
5.4.390.0170.05018.61
5.4.380.0100.06318.57
5.4.370.0270.04018.77
5.4.360.0170.05018.51
5.4.350.0270.04018.63
5.4.340.0130.05318.45
5.4.320.0130.05318.68
5.4.310.0200.04718.70
5.4.300.0130.05318.52
5.4.290.0230.04018.59
5.4.280.0270.04018.71
5.4.270.0170.05018.60
5.4.260.0230.04718.73
5.4.250.0130.05718.59
5.4.240.0100.06018.72
5.4.230.0200.06318.48
5.4.220.0170.05718.58
5.4.210.0200.05018.49
5.4.200.0130.05716.74
5.4.190.0130.05018.71
5.4.180.0130.05318.55
5.4.170.0170.05318.48
5.4.160.0230.04318.72
5.4.150.0300.03718.55
5.4.140.0100.05316.26
5.4.130.0230.04716.36
5.4.120.0230.04316.17
5.4.110.0200.06716.12
5.4.100.0230.04316.35
5.4.90.0130.05316.18
5.4.80.0100.05316.14
5.4.70.0100.05716.11
5.4.60.0170.05016.14
5.4.50.0130.05316.13
5.4.40.0130.05016.19
5.4.30.0130.04716.26
5.4.20.0070.05316.16
5.4.10.0070.05716.22
5.4.00.0100.05015.71
5.3.290.0130.05314.63
5.3.280.0170.05014.69
5.3.270.0170.05314.63
5.3.260.0070.06314.52
5.3.250.0200.04714.59
5.3.240.0170.05714.61
5.3.230.0130.05314.65
5.3.220.0130.05014.55
5.3.210.0200.04714.51
5.3.200.0030.06314.54
5.3.190.0130.05314.56
5.3.180.0130.05314.53
5.3.170.0170.04714.64
5.3.160.0130.05314.54
5.3.150.0130.05314.53
5.3.140.0100.05314.52
5.3.130.0300.04014.58
5.3.120.0130.05314.54
5.3.110.0200.05314.44
5.3.100.0100.05314.13
5.3.90.0200.04314.02
5.3.80.0200.04313.96
5.3.70.0170.04714.12
5.3.60.0170.05013.91
5.3.50.0270.04313.93
5.3.40.0130.05014.04
5.3.30.0300.05313.89
5.3.20.0200.04313.67
5.3.10.0230.05713.63
5.3.00.0300.05313.63
5.2.170.0100.04711.28
5.2.160.0100.04011.28
5.2.150.0100.04311.15
5.2.140.0130.04011.08
5.2.130.0100.04011.01
5.2.120.0130.04011.16
5.2.110.0130.03711.03
5.2.100.0030.04711.14
5.2.90.0030.04711.09
5.2.80.0170.04011.07
5.2.70.0030.04711.02
5.2.60.0130.04011.08
5.2.50.0170.03711.16
5.2.40.0070.04310.92
5.2.30.0130.03710.96
5.2.20.0100.04310.88
5.2.10.0100.04010.90
5.2.00.0130.04310.87
5.1.60.0130.03010.03
5.1.50.0230.03710.06
5.1.40.0100.03310.05
5.1.30.0070.03710.31
5.1.20.0130.03310.34
5.1.10.0100.03310.18
5.1.00.0100.03710.07
5.0.50.0030.0338.56
5.0.40.0130.0208.48
5.0.30.0030.0478.29
5.0.20.0000.0338.30
5.0.10.0100.0238.36
5.0.00.0070.0408.27
4.4.90.0070.0205.90
4.4.80.0030.0235.86
4.4.70.0030.0235.80
4.4.60.0100.0175.92
4.4.50.0100.0175.87
4.4.40.0100.0305.90
4.4.30.0030.0235.82
4.4.20.0070.0205.94
4.4.10.0070.0205.99
4.4.00.0070.0335.91
4.3.110.0030.0235.80
4.3.100.0070.0205.85
4.3.90.0000.0235.81
4.3.80.0030.0335.77
4.3.70.0030.0235.81
4.3.60.0070.0205.80
4.3.50.0030.0235.79
4.3.40.0100.0305.77
4.3.30.0030.0234.55
4.3.20.0070.0204.64
4.3.10.0030.0274.48
4.3.00.0070.0237.02

preferences:
145.71 ms | 1394 KiB | 7 Q