3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('green', 'red', 'yellow'); $b = array('avocado', 'apple', 'banana'); $c = array_combine($a, $b); print_r($c);

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.40.0040.01118.57
8.3.30.0100.00318.68
8.3.20.0040.00418.54
8.3.10.0080.00020.92
8.3.00.0080.00023.52
8.2.170.0110.00422.96
8.2.160.0070.00720.52
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0070.00020.91
8.2.110.0120.00419.02
8.2.100.0190.00318.33
8.2.90.0040.00418.22
8.2.80.0050.00319.20
8.2.70.0110.00148.41
8.2.60.0130.00337.94
8.2.50.0110.00438.16
8.2.40.0100.00438.55
8.2.30.0110.00438.82
8.2.20.0090.00338.03
8.2.10.0100.00438.14
8.2.00.0110.00438.02
8.1.270.0000.00823.99
8.1.260.0020.00526.35
8.1.250.0050.00228.09
8.1.240.0150.00621.04
8.1.230.0030.00920.80
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00648.34
8.1.190.0100.00537.68
8.1.180.0120.00437.98
8.1.170.0100.00438.03
8.1.160.0090.00638.29
8.1.150.0110.00538.35
8.1.140.0090.00537.92
8.1.130.0110.00333.07
8.1.120.0070.00633.26
8.1.110.0080.00533.25
8.1.100.0090.00433.28
8.1.90.0080.00433.23
8.1.80.0070.00533.16
8.1.70.0060.00633.22
8.1.60.0070.00633.33
8.1.50.0110.00333.14
8.1.40.0120.00527.96
8.1.30.0120.00528.02
8.1.20.0090.00728.06
8.1.10.0060.00726.43
8.1.00.0060.00726.37
8.0.300.0070.00020.21
8.0.290.0040.00847.96
8.0.280.0080.00638.07
8.0.270.0070.00737.68
8.0.260.0090.00433.16
8.0.250.0090.00432.85
8.0.240.0080.00532.83
8.0.230.0110.00232.80
8.0.220.0060.00732.74
8.0.210.0100.00232.78
8.0.200.0100.00232.82
8.0.190.0050.00732.80
8.0.180.0060.00732.80
8.0.170.0100.00427.48
8.0.160.0080.00527.42
8.0.150.0110.00427.37
8.0.140.0090.00325.91
8.0.130.0080.00422.19
8.0.120.0060.00625.91
8.0.110.0090.00325.68
8.0.100.0080.00325.68
8.0.90.0080.00525.65
8.0.80.0090.00425.66
8.0.70.0100.00325.69
8.0.60.0070.00525.62
8.0.50.0070.00425.65
8.0.30.0080.00524.64
8.0.20.0090.00624.73
8.0.10.0110.00424.63
8.0.00.0080.00723.04
7.4.330.0080.00331.87
7.4.320.0100.00532.34
7.4.300.0100.00432.33
7.4.290.0070.00732.32
7.4.280.0130.00427.03
7.4.270.0090.00625.46
7.4.260.0110.00525.05
7.4.250.0120.00425.48
7.4.240.0090.00725.47
7.4.230.0080.00525.48
7.4.220.0100.00525.54
7.4.210.0080.00722.80
7.4.200.0080.00525.48
7.4.190.0080.00425.54
7.4.180.0100.00327.03
7.4.160.0120.00425.50
7.4.150.0100.00425.61
7.4.140.0090.00623.79
7.4.130.0120.00422.70
7.4.120.0090.00622.67
7.4.110.0070.00723.38
7.4.100.0100.00623.48
7.4.90.0080.00823.44
7.4.80.0110.00523.74
7.4.70.0100.00523.41
7.4.60.0100.00623.44
7.4.50.0100.00523.39
7.4.40.0090.00624.09
7.4.30.0080.00623.42
7.4.20.0080.00724.32
7.4.10.0110.00424.28
7.4.00.0090.00523.24
7.3.330.0120.00324.80
7.3.320.0130.00424.78
7.3.310.0150.00225.25
7.3.300.0110.00525.27
7.3.290.0140.00325.30
7.3.280.0120.00623.29
7.3.270.0120.00725.45
7.3.260.0130.00523.77
7.3.250.0130.00522.56
7.3.240.0100.00823.28
7.3.230.0130.00523.31
7.3.220.0150.00424.13
7.3.210.0160.00623.26
7.3.200.0120.00723.63
7.3.190.0120.00723.24
7.3.180.0110.00723.27
7.3.170.0130.00523.26
7.3.160.0130.00523.27
7.3.150.0110.00624.16
7.3.140.0130.00624.10
7.3.130.0140.00524.16
7.3.120.0100.00823.13
7.3.110.0120.00624.10
7.3.100.0120.00624.11
7.3.90.0100.00724.27
7.3.80.0130.00424.13
7.3.70.0120.00624.17
7.3.60.0130.00424.22
7.3.50.0140.00524.19
7.3.40.0130.00524.21
7.3.30.0120.00624.21
7.3.20.0150.00625.05
7.3.10.0210.00722.29
7.3.00.0190.00621.82
7.2.340.0150.00722.75
7.2.330.0170.00523.38
7.2.320.0140.00623.45
7.2.310.0140.00823.41
7.2.300.0140.00723.39
7.2.290.0150.00623.42
7.2.280.0160.00624.25
7.2.270.0160.00524.20
7.2.260.0140.00724.28
7.2.250.0170.00424.30
7.2.240.0160.00624.30
7.2.230.0140.00624.27
7.2.220.0140.00522.90
7.2.210.0140.00624.29
7.2.200.0140.00824.31
7.2.190.0190.00624.32
7.2.180.0130.00824.26
7.2.170.0160.00624.36
7.2.160.0140.00724.35
7.2.150.0170.00525.14
7.2.140.0160.00625.15
7.2.130.0210.00622.50
7.2.120.0210.00722.49
7.2.110.0400.00820.93
7.2.100.0500.00720.76
7.2.90.0460.00720.77
7.2.80.0460.00620.78
7.2.70.0450.00720.82
7.2.60.0400.00620.58
7.2.50.0430.00620.84
7.2.40.0380.00720.86
7.2.30.0420.00720.86
7.2.20.0360.00820.63
7.2.10.0440.00820.48
7.2.00.0320.00820.46
7.1.330.0110.00924.45
7.1.320.0160.00524.48
7.1.310.0170.00624.39
7.1.300.0190.00424.46
7.1.290.0150.00524.47
7.1.280.0140.00624.41
7.1.270.0130.00824.42
7.1.260.0160.00424.44
7.1.250.0200.00421.59
7.1.240.0230.00322.24
7.1.230.0480.00520.49
7.1.220.0430.00620.40
7.1.210.0610.00720.30
7.1.200.0450.00720.02
7.1.190.0490.00520.33
7.1.180.0420.00420.31
7.1.170.0490.00520.29
7.1.160.0400.00720.27
7.1.150.0400.00520.30
7.1.140.0370.00620.05
7.1.130.0370.00719.75
7.1.120.0420.00619.83
7.1.110.0390.00719.76
7.1.100.0350.00819.70
7.1.90.0360.00719.89
7.1.80.0330.00819.84
7.1.70.0320.00819.50
7.1.60.0350.00925.20
7.1.50.0350.01025.16
7.1.40.0330.00725.07
7.1.30.0360.00725.09
7.1.20.0330.00724.97
7.1.10.0240.00719.45
7.1.00.0240.00719.37
7.0.330.0200.00821.97
7.0.320.0250.00522.06
7.0.310.0500.00620.03
7.0.300.0440.00620.03
7.0.290.0500.00620.01
7.0.280.0420.00620.05
7.0.270.0400.00719.49
7.0.260.0430.00719.47
7.0.250.0390.00819.46
7.0.240.0350.00719.50
7.0.230.0320.00619.62
7.0.220.0370.00719.55
7.0.210.0330.00619.48
7.0.200.0290.00619.34
7.0.190.0290.00519.33
7.0.180.0240.00819.25
7.0.170.0260.00719.17
7.0.160.0230.00719.26
7.0.150.0240.00819.25
7.0.140.0240.00719.27
7.0.130.0250.00619.27
7.0.120.0250.00519.30
7.0.110.0240.00719.12
7.0.100.0230.00719.22
7.0.90.0210.00819.18
7.0.80.0240.00719.20
7.0.70.0260.00719.19
7.0.60.0240.00619.17
7.0.50.0260.00719.12
7.0.40.0220.00619.29
7.0.30.0260.00619.28
7.0.20.0250.00719.24
7.0.10.0350.00619.29
7.0.00.0270.00519.00
5.6.400.0130.00522.25
5.6.390.0130.00723.85
5.6.380.0140.00620.10
5.6.370.0150.00620.12
5.6.360.0120.00820.20
5.6.350.0140.00720.21
5.6.340.0150.00720.08
5.6.330.0130.00820.16
5.6.320.0170.00520.21
5.6.310.0130.00920.24
5.6.300.0130.01720.27
5.6.290.0140.01520.28
5.6.280.0140.01620.21
5.6.270.0140.01820.35
5.6.260.0130.01820.29
5.6.250.0140.01720.31
5.6.240.0150.01520.29
5.6.230.0140.01820.28
5.6.220.0140.01620.26
5.6.210.0130.01720.26
5.6.200.0150.01820.25
5.6.190.0140.01720.32
5.6.180.0130.01720.28
5.6.170.0150.01620.25
5.6.160.0150.01720.31
5.6.150.0130.01720.30
5.6.140.0150.01520.31
5.6.130.0150.01620.31
5.6.120.0140.01720.27
5.6.110.0130.01720.24
5.6.100.0150.01620.26
5.6.90.0140.01520.25
5.6.80.0120.01620.17
5.6.70.0120.01620.14
5.6.60.0120.01820.12
5.6.50.0130.01520.18
5.6.40.0140.01720.11
5.6.30.0140.01720.12
5.6.20.0130.01620.12
5.6.10.0150.01420.14
5.6.00.0150.01620.07
5.5.380.0120.01718.69
5.5.370.0120.01618.65
5.5.360.0120.01518.61
5.5.350.0120.01418.63
5.5.340.0130.01718.71
5.5.330.0130.01618.75
5.5.320.0120.01818.74
5.5.310.0130.01718.71
5.5.300.0130.01518.79
5.5.290.0130.01618.71
5.5.280.0140.01518.73
5.5.270.0150.01418.76
5.5.260.0140.01518.71
5.5.250.0110.01718.70
5.5.240.0110.01618.66
5.5.230.0110.01518.59
5.5.220.0120.01518.55
5.5.210.0110.01518.59
5.5.200.0120.01718.62
5.5.190.0140.01518.55
5.5.180.0120.01518.56
5.5.170.0110.00819.54
5.5.160.0130.01518.57
5.5.150.0130.01318.52
5.5.140.0120.01318.57
5.5.130.0120.01418.50
5.5.120.0130.01318.54
5.5.110.0110.01618.52
5.5.100.0120.01518.55
5.5.90.0130.01218.52
5.5.80.0130.01418.59
5.5.70.0130.01318.57
5.5.60.0110.01618.53
5.5.50.0120.01418.53
5.5.40.0110.01418.54
5.5.30.0110.01418.56
5.5.20.0120.01518.59
5.5.10.0110.01518.53
5.5.00.0130.01418.56
5.4.450.0110.01518.01
5.4.440.0120.01418.03
5.4.430.0120.01518.00
5.4.420.0120.01318.04
5.4.410.0120.01417.98
5.4.400.0110.01417.88
5.4.390.0110.01417.93
5.4.380.0100.01517.90
5.4.370.0110.01617.87
5.4.360.0110.01417.91
5.4.350.0120.01317.91
5.4.340.0120.01317.91
5.4.330.0090.00617.69
5.4.320.0120.01417.95
5.4.310.0100.01617.93
5.4.300.0110.01417.92
5.4.290.0100.01417.96
5.4.280.0120.01417.90
5.4.270.0100.01517.90
5.4.260.0110.01417.89
5.4.250.0120.01317.83
5.4.240.0100.01617.89
5.4.230.0110.01317.88
5.4.220.0130.01317.82
5.4.210.0110.01317.90
5.4.200.0110.01417.87
5.4.190.0110.01517.88
5.4.180.0120.01417.83
5.4.170.0140.01317.87
5.4.160.0110.01317.85
5.4.150.0110.01417.90
5.4.140.0110.01317.50
5.4.130.0110.01317.45
5.4.120.0120.01317.47
5.4.110.0130.01217.47
5.4.100.0130.01217.48
5.4.90.0120.01317.48
5.4.80.0110.01417.48
5.4.70.0100.01417.52
5.4.60.0110.01317.49
5.4.50.0110.01317.43
5.4.40.0120.01217.48
5.4.30.0110.01217.45
5.4.20.0100.01317.49
5.4.10.0100.01317.46
5.4.00.0110.01217.37
5.3.290.0120.01317.31
5.3.280.0110.01217.26
5.3.270.0080.01417.31
5.3.260.0110.01317.32
5.3.250.0100.01517.31
5.3.240.0100.01317.23
5.3.230.0100.01317.27
5.3.220.0110.01417.16
5.3.210.0100.01417.19
5.3.200.0100.01317.21
5.3.190.0120.01317.22
5.3.180.0100.01417.27
5.3.170.0110.01317.27
5.3.160.0100.01417.27
5.3.150.0110.01317.25
5.3.140.0110.01317.25
5.3.130.0090.01517.25
5.3.120.0100.01417.23
5.3.110.0090.01517.26
5.3.100.0110.01317.16
5.3.90.0100.01317.13
5.3.80.0090.01417.07
5.3.70.0100.01317.10
5.3.60.0110.01217.16
5.3.50.0110.01217.07
5.3.40.0100.01417.05
5.3.30.0100.01217.10
5.3.20.0080.01617.08
5.3.10.0100.01316.98
5.3.00.0090.01416.99

preferences:
51.58 ms | 400 KiB | 5 Q