3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = array( array( array('foo1'), array('foo2'), ), array( array('bar1'), array('bar2'), ), ); $rows = call_user_func_array('array_merge', $results); print_r($rows);

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.60.0100.01018.56
8.3.50.0080.01021.99
8.3.40.0110.00418.59
8.3.30.0060.01218.75
8.3.20.0080.00020.29
8.3.10.0050.00321.73
8.3.00.0080.00022.52
8.2.180.0040.01816.61
8.2.170.0100.00722.96
8.2.160.0090.00920.35
8.2.150.0070.00024.18
8.2.140.0040.01124.66
8.2.130.0100.00726.16
8.2.120.0020.00519.41
8.2.110.0090.00022.09
8.2.100.0070.00419.18
8.2.90.0040.00419.21
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0030.00618.09
8.2.30.0040.00418.04
8.2.20.0000.00817.50
8.2.10.0080.00017.66
8.2.00.0050.00317.74
8.1.280.0000.01425.92
8.1.270.0080.00020.30
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00023.83
8.1.230.0070.00419.13
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0030.00517.30
8.1.180.0040.00418.75
8.1.170.0030.00518.59
8.1.160.0030.00322.13
8.1.150.0040.00418.49
8.1.140.0040.00417.35
8.1.130.0030.00317.82
8.1.120.0040.00417.43
8.1.110.0030.00517.26
8.1.100.0050.00317.36
8.1.90.0030.00317.31
8.1.80.0020.00517.36
8.1.70.0000.00717.36
8.1.60.0100.00017.42
8.1.50.0040.00417.45
8.1.40.0000.00717.45
8.1.30.0070.00017.43
8.1.20.0050.00317.65
8.1.10.0040.00417.43
8.1.00.0000.00817.34
8.0.300.0000.00718.77
8.0.290.0070.00017.18
8.0.280.0070.00018.29
8.0.270.0000.00717.20
8.0.260.0000.00816.71
8.0.250.0030.00516.95
8.0.240.0030.00616.93
8.0.230.0090.00016.91
8.0.220.0000.00716.72
8.0.210.0070.00016.87
8.0.200.0050.00216.90
8.0.190.0060.00316.77
8.0.180.0000.00716.88
8.0.170.0070.00016.87
8.0.160.0040.00416.66
8.0.150.0040.00316.81
8.0.140.0000.00716.80
8.0.130.0000.00513.25
8.0.120.0000.00816.79
8.0.110.0050.00216.74
8.0.100.0000.00716.68
8.0.90.0040.00416.74
8.0.80.0000.01616.70
8.0.70.0000.00716.65
8.0.60.0070.00016.89
8.0.50.0000.00716.85
8.0.30.0130.00617.02
8.0.20.0090.00817.40
8.0.10.0040.00416.82
8.0.00.0120.00916.77
7.4.330.0060.00015.00
7.4.320.0030.00316.45
7.4.300.0000.00616.51
7.4.290.0070.00016.57
7.4.280.0040.00416.54
7.4.270.0000.00716.46
7.4.260.0040.00416.41
7.4.250.0040.00416.41
7.4.240.0020.00616.53
7.4.230.0040.00416.57
7.4.220.0200.00616.50
7.4.210.0090.00816.46
7.4.200.0000.00716.55
7.4.190.0000.00816.59
7.4.160.0070.00716.38
7.4.150.0090.00917.40
7.4.140.0060.01117.86
7.4.130.0060.01416.42
7.4.120.0100.00716.50
7.4.110.0060.01816.44
7.4.100.0170.00516.34
7.4.90.0030.01316.53
7.4.80.0160.00619.39
7.4.70.0090.00616.46
7.4.60.0130.00316.54
7.4.50.0050.00016.21
7.4.40.0060.00622.77
7.4.30.0060.01016.33
7.4.00.0060.00914.60
7.3.330.0000.00612.89
7.3.320.0030.00313.07
7.3.310.0040.00415.98
7.3.300.0030.00316.12
7.3.290.0060.00916.22
7.3.280.0050.01116.13
7.3.270.0030.01417.40
7.3.260.0070.01016.14
7.3.250.0120.00516.21
7.3.240.0070.01116.09
7.3.230.0130.00716.53
7.3.210.0000.01716.03
7.3.200.0100.00719.39
7.3.190.0090.00916.44
7.3.180.0090.00616.12
7.3.170.0120.00916.36
7.3.160.0080.01216.45
7.3.120.0080.00414.73
7.3.10.0000.01316.29
7.3.00.0070.00716.71
7.2.330.0110.00816.31
7.2.320.0100.01316.47
7.2.310.0120.00616.40
7.2.300.0090.00616.38
7.2.290.0030.01516.28
7.2.130.0090.00616.81
7.2.120.0040.00816.56
7.2.110.0060.01016.62
7.2.100.0050.00516.84
7.2.90.0030.01416.82
7.2.80.0030.01016.92
7.2.70.0070.00716.74
7.2.60.0090.00616.75
7.2.50.0080.00816.54
7.2.40.0030.00816.86
7.2.30.0070.00716.69
7.2.20.0070.01116.73
7.2.10.0110.00016.73
7.2.00.0050.00818.19
7.1.250.0070.00715.74
7.1.100.0050.00518.02
7.1.70.0040.00416.92
7.1.60.0070.01719.82
7.1.50.0060.01916.96
7.1.00.0030.07322.30
7.0.200.0000.01016.82
7.0.140.0070.07022.22
7.0.60.0030.09020.00
7.0.50.0130.07717.84
7.0.40.0070.08720.26
7.0.30.0230.06720.21
7.0.20.0230.06020.12
7.0.10.0200.03720.31
7.0.00.0030.05020.06
5.6.280.0030.07321.03
5.6.210.0130.05020.76
5.6.200.0130.07318.11
5.6.190.0070.07720.47
5.6.180.3430.04320.53
5.6.170.0330.07020.48
5.6.160.0000.04320.55
5.6.150.0170.05318.15
5.6.140.0100.07718.27
5.6.130.0070.08018.15
5.6.120.0030.04020.91
5.6.110.0070.05021.07
5.6.100.0130.05721.12
5.6.90.0070.03720.94
5.6.80.0130.07720.36
5.6.70.0070.05020.50
5.5.350.0170.07720.44
5.5.340.0030.04718.08
5.5.330.0130.07020.45
5.5.320.0200.08020.51
5.5.310.0200.06320.29
5.5.300.0100.08017.95
5.5.290.0100.06317.98
5.5.280.0100.07320.76
5.5.270.0130.05020.86
5.5.260.0030.07720.67
5.5.250.0070.06020.66
5.5.240.0070.05720.22
5.4.450.0630.06019.48
5.4.440.0600.07719.55
5.4.430.0500.05319.30
5.4.420.0570.04719.38
5.4.410.0330.05319.34
5.4.400.0130.06018.75
5.4.390.1030.05718.73
5.4.380.0130.06318.55
5.4.370.0170.05018.67
5.4.360.0170.05018.76
5.4.350.0050.04012.00
5.4.340.0080.05912.00
5.4.320.0060.03712.48
5.4.310.0050.04212.48
5.4.300.0080.03512.48
5.4.290.0070.05012.48
5.4.280.0070.04312.38
5.4.270.0050.03812.38
5.4.260.0070.03812.38
5.4.250.0130.05019.00
5.4.240.0100.05318.92
5.4.230.0070.05318.89
5.4.220.0230.04718.63
5.4.210.0130.05318.59
5.4.200.0230.05018.62
5.4.190.0070.06018.99
5.4.180.0130.05018.93
5.4.170.0230.03718.90
5.4.160.0070.05318.92
5.4.150.0130.05018.93
5.4.140.0000.06316.43
5.4.130.0130.04716.59
5.4.120.0100.05316.39
5.4.110.0100.05716.63
5.4.100.0070.05716.43
5.4.90.0070.05716.42
5.4.80.0130.05316.35
5.4.70.0130.06016.25
5.4.60.0100.05316.58
5.4.50.0100.04716.50
5.4.40.0070.04716.55
5.4.30.0070.05316.57
5.4.20.0070.07316.32
5.4.10.0070.05316.33
5.4.00.0070.06016.09
5.3.290.0090.04912.80
5.3.280.0070.05314.55
5.3.270.0130.04714.58
5.3.260.0000.06314.66
5.3.250.0170.06314.60
5.3.240.0000.06014.73
5.3.230.0030.07014.68
5.3.220.0000.05714.46
5.3.210.0030.06314.72
5.3.200.0070.07714.64
5.3.190.0130.06314.39
5.3.180.0100.06014.63
5.3.170.0130.07714.69
5.3.160.0070.05314.55
5.3.150.0100.05014.52
5.3.140.0070.05714.68
5.3.130.0170.05714.63
5.3.120.0100.05014.63
5.3.110.0170.04314.67
5.3.100.0100.06314.12
5.3.90.0070.07313.98
5.3.80.0130.04314.07
5.3.70.0000.05714.18
5.3.60.0070.05014.00
5.3.50.0070.05014.02
5.3.40.0030.07013.93
5.3.30.0030.05313.97
5.3.20.0000.05313.68
5.3.10.0130.04313.72
5.3.00.0030.07313.62
5.2.170.0030.06311.10
5.2.160.0130.04311.12
5.2.150.0030.06311.31
5.2.140.0030.04311.20
5.2.130.0100.04011.16
5.2.120.0100.04011.25
5.2.110.0000.05710.92
5.2.100.0070.03711.04
5.2.90.0100.03710.99
5.2.80.0130.03711.16
5.2.70.0100.05310.91
5.2.60.0070.04311.13
5.2.50.0000.05311.19
5.2.40.0000.06011.06
5.2.30.0130.03710.94
5.2.20.0100.05011.04
5.2.10.0170.04011.03
5.2.00.0100.04710.79
5.1.60.0030.03710.05
5.1.50.0070.0339.78
5.1.40.0070.03010.02
5.1.30.0070.03310.41
5.1.20.0000.04310.18
5.1.10.0030.03710.02
5.1.00.0100.0479.83
5.0.50.0100.0338.59
5.0.40.0070.0238.31
5.0.30.0100.0378.27
5.0.20.0030.0278.43
5.0.10.0030.0278.22
5.0.00.0000.0438.13
4.4.90.0070.0235.86
4.4.80.0000.0305.80
4.4.70.0030.0235.85
4.4.60.0030.0205.79
4.4.50.0000.0235.80
4.4.40.0070.0305.76
4.4.30.0070.0235.78
4.4.20.0100.0175.96
4.4.10.0070.0275.81
4.4.00.0030.0335.87
4.3.110.0000.0235.73
4.3.100.0070.0175.69
4.3.90.0030.0235.65
4.3.80.0000.0375.64
4.3.70.0030.0235.68
4.3.60.0030.0205.81
4.3.50.0000.0375.65
4.3.40.0030.0335.65
4.3.30.0000.0275.62
4.3.20.0000.0275.62
4.3.10.0100.0235.62
4.3.00.0070.0176.51

preferences:
41.34 ms | 401 KiB | 5 Q