3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo () { throw new Exception(); } try { array_map('foo', array(1)); } catch (Exception $e) { echo $e->getMessage(); }

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.0130.00318.68
8.3.30.0100.00718.89
8.3.20.0040.01420.32
8.3.10.0040.00423.66
8.3.00.0050.00322.39
8.2.170.0130.00322.96
8.2.160.0100.00320.40
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00617.50
8.2.110.0060.00322.30
8.2.100.0040.00819.21
8.2.90.0040.00417.75
8.2.80.0040.00419.11
8.2.70.0040.00418.04
8.2.60.0080.00017.79
8.2.50.0080.00018.10
8.2.40.0040.00420.31
8.2.30.0090.00018.11
8.2.20.0030.00617.68
8.2.10.0000.00718.05
8.2.00.0070.00017.92
8.1.270.0030.00520.38
8.1.260.0100.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.48
8.1.230.0040.00818.74
8.1.220.0000.00817.76
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0000.00818.46
8.1.160.0000.00722.10
8.1.150.0040.00418.98
8.1.140.0000.00817.40
8.1.130.0030.00317.73
8.1.120.0080.00017.43
8.1.110.0040.00417.51
8.1.100.0030.00517.51
8.1.90.0040.00417.28
8.1.80.0060.00317.35
8.1.70.0000.00717.45
8.1.60.0040.00417.57
8.1.50.0040.00417.54
8.1.40.0030.00617.50
8.1.30.0030.00517.62
8.1.20.0040.00417.53
8.1.10.0030.00517.45
8.1.00.0040.00417.53
8.0.300.0040.00421.55
8.0.290.0000.00916.63
8.0.280.0000.00718.49
8.0.270.0030.00317.18
8.0.260.0060.00017.18
8.0.250.0000.00816.93
8.0.240.0060.00316.96
8.0.230.0000.00716.86
8.0.220.0050.00216.89
8.0.210.0000.00816.77
8.0.200.0000.00616.91
8.0.190.0000.00716.95
8.0.180.0030.00316.86
8.0.170.0040.00416.87
8.0.160.0030.00516.88
8.0.150.0000.00716.84
8.0.140.0030.00316.86
8.0.130.0030.00313.35
8.0.120.0040.00417.02
8.0.110.0040.00416.94
8.0.100.0070.00016.75
8.0.90.0000.00716.92
8.0.80.0080.00817.00
8.0.70.0030.00616.85
8.0.60.0050.00316.79
8.0.50.0040.00416.91
8.0.30.0150.00516.97
8.0.20.0130.00617.40
8.0.10.0000.00717.09
8.0.00.0090.00916.82
7.4.330.0030.00315.08
7.4.320.0060.00016.45
7.4.300.0080.00016.58
7.4.290.0080.00016.56
7.4.280.0030.00616.48
7.4.270.0040.00416.44
7.4.260.0000.00716.54
7.4.250.0040.00416.45
7.4.240.0040.00416.57
7.4.230.0040.00416.49
7.4.220.0120.00416.53
7.4.210.0100.00816.60
7.4.200.0070.00016.58
7.4.160.0060.00916.60
7.4.150.0100.01017.40
7.4.140.0030.01717.86
7.4.130.0040.01616.61
7.4.120.0160.00616.51
7.4.110.0140.00316.70
7.4.100.0060.01216.65
7.4.90.0070.01716.54
7.4.80.0090.01219.39
7.4.70.0040.01516.62
7.4.60.0100.00616.61
7.4.50.0070.00016.50
7.4.40.0080.00816.43
7.4.30.0180.00616.32
7.4.00.0080.01014.87
7.3.330.0000.00513.32
7.3.320.0030.00213.12
7.3.310.0060.00016.19
7.3.300.0000.00716.16
7.3.290.0030.00316.18
7.3.280.0080.01216.30
7.3.270.0070.01017.40
7.3.260.0100.00716.45
7.3.250.0080.00816.37
7.3.240.0070.01016.40
7.3.230.0150.00716.39
7.3.210.0100.00616.46
7.3.200.0140.00816.33
7.3.190.0120.00416.49
7.3.180.0120.00316.34
7.3.170.0190.00316.49
7.3.160.0160.00516.37
7.3.120.0080.00914.78
7.3.110.0100.00614.60
7.3.100.0020.01414.77
7.3.90.0050.00714.80
7.3.80.0120.00414.81
7.3.70.0060.00914.75
7.3.60.0090.00714.76
7.3.50.0070.00814.78
7.3.40.0050.01014.63
7.3.30.0060.00514.73
7.3.20.0090.00616.69
7.3.10.0100.00316.76
7.3.00.0100.00516.72
7.2.330.0100.00716.63
7.2.320.0070.01016.73
7.2.310.0060.01216.74
7.2.300.0100.00616.50
7.2.290.0030.01316.74
7.2.250.0050.01315.05
7.2.240.0050.01314.90
7.2.230.0050.00914.90
7.2.220.0020.00914.97
7.2.210.0080.01015.11
7.2.200.0020.01014.89
7.2.190.0080.00814.92
7.2.180.0080.00614.87
7.2.170.0040.00914.97
7.2.60.0030.01317.02
7.2.00.0000.01019.35
7.1.330.0080.00815.64
7.1.320.0040.00715.62
7.1.310.0050.01015.56
7.1.300.0030.00915.71
7.1.290.0060.00815.63
7.1.280.0040.00715.55
7.1.270.0080.00415.66
7.1.260.0070.00615.64
7.1.200.0000.01515.44
7.1.100.0040.00818.37
7.1.70.0000.01317.01
7.1.60.0130.01020.03
7.1.50.0190.01634.45
7.1.00.0070.07322.30
7.0.200.0370.00714.97
7.0.100.0530.06319.95
7.0.90.0430.07719.90
7.0.80.0430.07719.96
7.0.70.0430.08020.00
7.0.60.0430.08020.04
7.0.50.0470.08020.36
7.0.40.0100.07720.13
7.0.30.0070.04320.04
7.0.20.0130.04720.09
7.0.10.0170.07320.17
7.0.00.0130.07320.04
5.6.280.0000.07720.86
5.6.250.0100.07720.50
5.6.240.0000.08720.60
5.6.230.0000.09320.63
5.6.220.0100.06320.59
5.6.210.0070.07720.55
5.6.200.0070.08720.94
5.6.190.0170.07321.08
5.6.180.0170.07320.96
5.6.170.0200.04321.02
5.6.160.0170.07321.08
5.6.150.0030.05720.95
5.6.140.0070.08021.11
5.6.130.0130.07321.04
5.6.120.0100.08021.02
5.6.110.0100.08021.01
5.6.100.0070.08321.03
5.6.90.0130.07321.07
5.6.80.0070.05020.49
5.6.70.0000.04320.50
5.6.60.0070.07320.46
5.6.50.0030.07020.39
5.6.40.0070.07720.43
5.6.30.0100.07720.53
5.6.20.0000.08020.46
5.6.10.0100.06720.40
5.6.00.0030.08720.37
5.5.380.0070.07720.50
5.5.370.0100.04320.42
5.5.360.0070.05320.34
5.5.350.0070.08020.36
5.5.340.0100.07720.92
5.5.330.0070.07320.89
5.5.320.0100.07720.80
5.5.310.0000.08320.86
5.5.300.0100.08320.88
5.5.290.0030.07320.77
5.5.280.0130.08020.91
5.5.270.0070.08020.84
5.5.260.0100.08020.90
5.5.250.0030.08020.64
5.5.240.0100.07720.31
5.5.230.0100.08320.30
5.5.220.0030.08020.17
5.5.210.0130.07320.28
5.5.200.0070.08320.27
5.5.190.0070.05020.23
5.5.180.0030.08020.23
5.5.160.0070.08020.26
5.5.150.0100.07320.11
5.5.140.0130.07020.08
5.5.130.0070.07720.25
5.5.120.0070.07720.15
5.5.110.0100.07320.11
5.5.100.0100.07720.02
5.5.90.0070.08020.01
5.5.80.0030.08720.07
5.5.70.0030.08320.06
5.5.60.0000.08020.08
5.5.50.0070.07319.93
5.5.40.0030.08320.05
5.5.30.0100.04320.05
5.5.20.0070.07720.06
5.5.10.0030.05319.98
5.5.00.0130.07319.97
5.4.450.0100.07319.46
5.4.440.0070.07719.45
5.4.430.0130.07019.41
5.4.420.0000.08719.18
5.4.410.0000.08319.09
5.4.400.0070.03718.96
5.4.390.0130.06319.04
5.4.380.0130.06719.13
5.4.370.0070.04319.21
5.4.360.0170.03719.03
5.4.350.0100.07019.16
5.4.340.0130.06719.16
5.4.320.0100.07719.13
5.4.310.0200.06719.13
5.4.300.0070.07319.04
5.4.290.0130.04019.03
5.4.280.0030.08019.04
5.4.270.0100.04019.13
5.4.260.0130.07019.13
5.4.250.0130.06719.12
5.4.240.0100.06719.13
5.4.230.0130.07019.16
5.4.220.0100.07718.85
5.4.210.0070.07718.94
5.4.200.0130.07318.86
5.4.190.0070.07319.04
5.4.180.0030.08018.86
5.4.170.0100.06719.21
5.4.160.0030.07719.02
5.4.150.0100.07319.11
5.4.140.0070.07016.36
5.4.130.0130.06316.37
5.4.120.0170.06316.40
5.4.110.0100.06016.50
5.4.100.0030.07016.38
5.4.90.0130.06716.43
5.4.80.0030.07016.41
5.4.70.0070.07016.50
5.4.60.0100.07316.37
5.4.50.0130.06716.36
5.4.40.0100.07016.30
5.4.30.0100.07016.36
5.4.20.0170.06316.44
5.4.10.0000.05716.44
5.4.00.0100.07015.73
5.3.290.0130.06714.78
5.3.280.0070.07714.59
5.3.270.0030.08014.54
5.3.260.0070.07714.60
5.3.250.0000.07014.70
5.3.240.0170.06314.54
5.3.230.0070.07714.59
5.3.220.0070.07714.52
5.3.210.0100.06714.68
5.3.200.0100.07014.50
5.3.190.0070.08014.68
5.3.180.0070.07714.52
5.3.170.0070.07314.57
5.3.160.0170.07014.69
5.3.150.0130.06314.64
5.3.140.0130.07014.65
5.3.130.0070.07314.53
5.3.120.0100.04714.62
5.3.110.0130.05014.57
5.3.100.0100.07313.98
5.3.90.0030.07314.08
5.3.80.0130.06714.01
5.3.70.0100.06714.01
5.3.60.0030.07313.98
5.3.50.0030.07313.94
5.3.40.0100.07013.88
5.3.30.0030.07313.96
5.3.20.0130.06313.61
5.3.10.0070.07313.58
5.3.00.0100.07013.77
5.2.170.0100.05711.15
5.2.160.0000.04711.25
5.2.150.0100.05311.06
5.2.140.0070.06011.06
5.2.130.0100.05011.21
5.2.120.0100.05311.02
5.2.110.0070.06011.16
5.2.100.0030.06711.13
5.2.90.0030.06011.22
5.2.80.0000.06311.20
5.2.70.0070.05711.15
5.2.60.0070.04710.96
5.2.50.0070.06010.90
5.2.40.0000.06310.89
5.2.30.0170.05010.86
5.2.20.0070.06311.09
5.2.10.0030.06310.81
5.2.00.0070.06310.63
5.1.60.0130.0479.84
5.1.50.0100.04710.02
5.1.40.0070.05010.09
5.1.30.0100.02710.40
5.1.20.0100.05710.36
5.1.10.0030.0539.92
5.1.00.0030.0509.73
5.0.50.0000.0508.45
5.0.40.0070.0438.14
5.0.30.0000.0678.14
5.0.20.0000.0408.14
5.0.10.0130.0338.14
5.0.00.0000.0638.14
4.4.90.0000.0378.14
4.4.80.0000.0378.14
4.4.70.0030.0378.14
4.4.60.0000.0378.14
4.4.50.0000.0408.14
4.4.40.0070.0508.14
4.4.30.0070.0338.14
4.4.20.0030.0378.14
4.4.10.0030.0378.14
4.4.00.0000.0578.14
4.3.110.0070.0338.14
4.3.100.0000.0408.14
4.3.90.0030.0178.14
4.3.80.0030.0478.14
4.3.70.0000.0338.14
4.3.60.0070.0238.14
4.3.50.0000.0378.14
4.3.40.0100.0478.14
4.3.30.0030.0308.14
4.3.20.0030.0338.14
4.3.10.0070.0278.14
4.3.00.0000.0278.14

preferences:
57.59 ms | 400 KiB | 5 Q