3v4l.org

run code in 300+ PHP versions simultaneously
<?php $constants = preg_grep('/^T_/', array_keys(get_defined_constants())); $constants = array_combine($constants, array_map('constant', $constants)); asort($constants); var_dump(array_slice($constants, 0, 1, true));

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.0060.01216.75
8.3.50.0000.01516.66
8.3.40.0040.01118.79
8.3.30.0070.00718.87
8.3.20.0040.01620.41
8.3.10.0040.00421.98
8.3.00.0000.00723.51
8.2.180.0150.00316.63
8.2.170.0040.01222.96
8.2.160.0140.00020.48
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00719.33
8.2.120.0080.00026.35
8.2.110.0030.00620.42
8.2.100.0040.00818.05
8.2.90.0000.00919.36
8.2.80.0050.00317.97
8.2.70.0030.00617.88
8.2.60.0000.00818.05
8.2.50.0030.00618.09
8.2.40.0040.00422.32
8.2.30.0070.00019.48
8.2.20.0030.00717.86
8.2.10.0040.00418.19
8.2.00.0000.00818.01
8.1.280.0160.01025.92
8.1.270.0090.00622.18
8.1.260.0040.00428.09
8.1.250.0040.00828.09
8.1.240.0000.00923.80
8.1.230.0040.00717.89
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.50
8.1.190.0080.00017.48
8.1.180.0030.00518.10
8.1.170.0040.00418.75
8.1.160.0040.00420.98
8.1.150.0040.00418.95
8.1.140.0040.00417.69
8.1.130.0040.00417.72
8.1.120.0040.00417.65
8.1.110.0040.00417.73
8.1.100.0040.00417.69
8.1.90.0000.00717.61
8.1.80.0030.00317.70
8.1.70.0050.00217.62
8.1.60.0040.00417.68
8.1.50.0040.00417.67
8.1.40.0030.00617.75
8.1.30.0050.00317.89
8.1.20.0000.00817.95
8.1.10.0080.00017.79
8.1.00.0030.00617.64
8.0.300.0040.00418.77
8.0.290.0050.00317.00
8.0.280.0080.00018.63
8.0.270.0050.00217.12
8.0.260.0060.00017.42
8.0.250.0030.00517.29
8.0.240.0000.00817.21
8.0.230.0000.00717.30
8.0.220.0000.00817.22
8.0.210.0040.00417.19
8.0.200.0000.00617.17
8.0.190.0040.00417.22
8.0.180.0050.00317.04
8.0.170.0000.00717.06
8.0.160.0040.00417.14
8.0.150.0040.00416.98
8.0.140.0040.00417.09
8.0.130.0030.00313.49
8.0.120.0040.00416.99
8.0.110.0000.00817.13
8.0.100.0030.00517.06
8.0.90.0040.00417.12
8.0.80.0030.01717.09
8.0.70.0000.00817.06
8.0.60.0000.00717.08
8.0.50.0050.00317.16
8.0.30.0140.00717.47
8.0.20.0120.00817.43
8.0.10.0000.00817.11
8.0.00.0090.01116.95
7.4.330.0050.00016.80
7.4.320.0030.00316.73
7.4.300.0040.00416.90
7.4.290.0070.00016.92
7.4.280.0030.00516.79
7.4.270.0030.00316.74
7.4.260.0070.00016.88
7.4.250.0040.00416.82
7.4.240.0080.00016.81
7.4.230.0040.00416.97
7.4.220.0070.01016.86
7.4.210.0060.00916.88
7.4.200.0000.00716.98
7.4.160.0110.00616.78
7.4.150.0150.00317.40
7.4.140.0100.01017.86
7.4.130.0100.00916.66
7.4.120.0080.01116.83
7.4.110.0060.01316.80
7.4.100.0120.01216.80
7.4.90.0120.00616.85
7.4.80.0040.01419.39
7.4.70.0090.00916.86
7.4.60.0080.00816.70
7.4.50.0040.01216.64
7.4.40.0090.00916.71
7.4.30.0140.00316.75
7.4.00.0120.00415.23
7.3.330.0030.00313.21
7.3.320.0000.00513.30
7.3.310.0050.00316.50
7.3.300.0070.00016.45
7.3.290.0080.00816.44
7.3.280.0130.00416.45
7.3.270.0110.01417.40
7.3.260.0090.00916.54
7.3.250.0100.01016.81
7.3.240.0120.00716.70
7.3.230.0090.00916.72
7.3.210.0030.02016.65
7.3.200.0100.00719.39
7.3.190.0150.00316.43
7.3.180.0100.01016.70
7.3.170.0090.01216.87
7.3.160.0080.00916.54
7.2.330.0150.00616.77
7.2.320.0070.01016.64
7.2.310.0140.00916.84
7.2.300.0070.01316.73
7.2.290.0120.00916.53
7.2.60.0060.00916.71
7.2.00.0000.01519.59
7.1.200.0040.00815.84
7.1.100.0030.01018.21
7.1.70.0030.01017.29
7.1.60.0150.00919.40
7.1.50.0060.01517.05
7.1.00.0100.06722.33
7.0.200.0050.00516.65
7.0.60.0170.03320.05
7.0.50.0000.05317.88
7.0.40.0170.07319.93
7.0.30.0300.06320.17
7.0.20.0300.05720.14
7.0.10.0100.07320.31
7.0.00.0030.04320.21
5.6.280.0000.05721.31
5.6.210.0070.05020.83
5.6.200.0070.07018.35
5.6.190.0030.08720.43
5.6.180.0270.03720.58
5.6.170.0230.04720.61
5.6.160.0070.04020.68
5.6.150.0100.03318.34
5.6.140.0070.08018.31
5.6.130.0030.06018.21
5.6.120.0000.05021.31
5.6.110.0070.08321.26
5.6.100.0070.07721.33
5.6.90.0070.04021.24
5.6.80.0170.07020.79
5.5.350.0300.07320.67
5.5.340.0070.06318.12
5.5.330.0030.05320.45
5.5.320.0230.04320.41
5.5.310.0270.08020.44
5.5.300.0070.03718.21
5.5.290.0100.08318.25
5.5.280.0070.04321.13
5.5.270.0000.05021.08
5.5.260.0100.06321.15
5.5.250.0170.07320.90
5.5.240.0270.07720.41
5.4.450.4370.04319.68
5.4.440.0070.05019.53
5.4.430.1600.04019.67
5.4.420.4300.04019.73
5.4.410.4600.03719.36
5.4.400.4770.03319.10
5.4.390.4170.04019.09
5.4.380.3800.03319.26
5.4.370.4100.03319.27
5.4.360.2070.04019.27
5.4.350.4430.04319.12
5.4.340.4500.03319.23
5.4.320.4630.03319.20
5.4.310.4130.04019.36
5.4.300.4300.03719.39
5.4.290.4700.03719.53
5.4.280.3200.03719.35
5.4.270.0030.06019.18
5.4.260.3500.04019.26
5.4.250.4800.03319.35
5.4.240.4800.04019.35
5.4.230.4530.03719.35
5.4.220.4230.04019.38
5.4.210.5000.03719.38
5.4.200.4270.04019.08
5.4.190.4600.03719.32
5.4.180.4500.03719.08
5.4.170.4030.03319.08
5.4.160.4530.03319.07
5.4.150.4070.04019.36
5.4.140.4100.03716.54
5.4.130.2530.04016.55
5.4.120.2100.03716.37
5.4.110.3170.03316.58
5.4.100.2970.04016.72
5.4.90.2930.03716.58
5.4.80.2000.02716.59
5.4.70.2600.03316.63
5.4.60.2300.04016.56
5.4.50.4800.03016.70
5.4.40.3000.04016.37
5.4.30.4270.03716.41
5.4.20.5130.03716.46
5.4.10.4700.03316.58
5.4.00.4270.04316.15
5.3.290.4830.04015.01
5.3.280.4670.03714.85
5.3.270.4570.03714.77
5.3.260.4570.03314.88
5.3.250.3330.03314.91
5.3.240.4270.03314.91
5.3.230.1500.03714.91
5.3.220.2500.04014.86
5.3.210.2600.04014.88
5.3.200.3170.03714.87
5.3.190.2730.04014.82
5.3.180.1900.04314.88
5.3.170.2670.04015.03
5.3.160.4230.04714.84
5.3.150.4730.03714.86
5.3.140.4900.03715.02
5.3.130.4830.03714.86
5.3.120.4570.03714.86
5.3.110.4630.04315.01
5.3.100.4530.04014.36
5.3.90.4600.03714.29
5.3.80.4330.03714.32
5.3.70.4030.03714.18
5.3.60.4100.03014.31
5.3.50.4470.03714.28
5.3.40.4100.04014.30
5.3.30.4700.03314.20
5.3.20.4870.03014.01
5.3.10.4930.03313.86
5.3.00.4530.03313.97
5.2.170.3400.03311.32
5.2.160.3470.03311.27
5.2.150.4300.02711.38
5.2.140.4230.03011.43
5.2.130.3870.02711.48
5.2.120.4030.03011.33
5.2.110.4270.02311.33
5.2.100.4130.03011.34
5.2.90.4430.03011.28
5.2.80.4170.03011.25
5.2.70.4400.03011.21
5.2.60.3900.02311.28
5.2.50.3530.03711.21
5.2.40.3100.03011.22
5.2.30.2830.03011.26
5.2.20.2770.02711.07
5.2.10.2970.02711.20
5.2.00.2870.02711.00
5.1.60.2270.03010.43
5.1.50.2500.02310.37
5.1.40.2730.02010.35
5.1.30.3100.04010.77
5.1.20.3500.02010.69
5.1.10.3100.02010.41
5.1.00.3230.02310.33
5.0.50.1670.0208.86
5.0.40.1800.0338.90
5.0.30.1330.0338.55
5.0.20.1770.0208.68
5.0.10.1930.0208.45
5.0.00.1730.0308.39
4.4.90.1870.0176.07
4.4.80.1900.0206.02
4.4.70.1500.0176.03
4.4.60.1700.0206.02
4.4.50.1770.0176.06
4.4.40.1070.0276.07
4.4.30.1330.0136.04
4.4.20.1700.0176.13
4.4.10.1970.0106.11
4.4.00.1430.0236.07
4.3.110.1670.0175.99
4.3.100.1930.0135.97
4.3.90.1630.0175.96
4.3.80.1630.0205.92
4.3.70.1330.0176.01
4.3.60.1930.0136.00
4.3.50.1430.0176.01
4.3.40.1470.0205.92
4.3.30.0370.0134.73
4.3.20.1000.0174.74
4.3.10.0600.0274.67
4.3.00.0970.0204.67

preferences:
44.12 ms | 400 KiB | 5 Q