3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '<?php public function enum($value, ...$items) {}'; $tokens = token_get_all($string); foreach ($tokens as $token) { if (is_array($token) === true) { $name = token_name($token[0]); echo "TOKEN $name FOUND: ".$token[1]."\n"; } }

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.0000.01418.30
8.3.50.0160.00521.16
8.3.40.0140.00718.61
8.3.30.0070.00719.09
8.3.20.0040.00420.39
8.3.10.0040.00423.53
8.3.00.0040.00419.22
8.2.180.0040.01116.36
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.75
8.2.110.0000.01021.11
8.2.100.0080.00517.63
8.2.90.0000.00819.21
8.2.80.0040.00417.97
8.2.70.0090.00317.50
8.2.60.0040.00718.15
8.2.50.0060.00318.07
8.2.40.0040.00418.16
8.2.30.0030.00518.09
8.2.20.0070.00017.75
8.2.10.0040.00418.00
8.2.00.0080.00017.66
8.1.280.0070.00725.92
8.1.270.0040.00423.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00723.75
8.1.230.0070.00418.97
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00617.25
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0080.00021.94
8.1.150.0000.00818.89
8.1.140.0040.00417.46
8.1.130.0000.00717.83
8.1.120.0080.00017.50
8.1.110.0040.00417.36
8.1.100.0000.00717.36
8.1.90.0040.00417.46
8.1.80.0050.00217.49
8.1.70.0000.00717.32
8.1.60.0000.00917.62
8.1.50.0090.00017.58
8.1.40.0000.00817.55
8.1.30.0040.00417.60
8.1.20.0000.00817.59
8.1.10.0020.00517.59
8.1.00.0020.00517.37
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.48
8.0.270.0040.00417.23
8.0.260.0040.00418.45
8.0.250.0070.00016.97
8.0.240.0040.00416.82
8.0.230.0070.00016.86
8.0.220.0040.00416.77
8.0.210.0030.00616.92
8.0.200.0070.00016.93
8.0.190.0000.00716.82
8.0.180.0000.00716.84
8.0.170.0040.00416.96
8.0.160.0070.00016.95
8.0.150.0040.00416.68
8.0.140.0030.00316.89
8.0.130.0030.00313.32
8.0.120.0000.00816.75
8.0.110.0040.00416.89
8.0.100.0000.00816.86
8.0.90.0070.00016.96
8.0.80.0070.01316.84
8.0.70.0040.00416.89
8.0.60.0030.00316.88
8.0.50.0040.00416.72
8.0.30.0070.01416.99
8.0.20.0100.01717.40
8.0.10.0000.00917.01
8.0.00.0120.00716.64
7.4.330.0040.00015.02
7.4.320.0000.00616.50
7.4.300.0060.00016.61
7.4.290.0000.00716.53
7.4.280.0000.00916.60
7.4.270.0030.00316.49
7.4.260.0040.00416.50
7.4.250.0070.00016.61
7.4.240.0030.00316.59
7.4.230.0000.00716.50
7.4.220.0080.00916.61
7.4.210.0100.00316.46
7.4.200.0040.00416.39
7.4.160.0070.01316.52
7.4.150.0090.00917.40
7.4.140.0120.00717.86
7.4.130.0080.01316.64
7.4.120.0070.01016.51
7.4.110.0270.01416.55
7.4.100.0160.00416.30
7.4.90.0080.00816.48
7.4.80.0160.00619.39
7.4.70.0140.00416.39
7.4.60.0100.00716.37
7.4.50.0000.00816.47
7.4.40.0120.00616.50
7.4.30.0050.01116.28
7.4.00.0070.00814.94
7.3.330.0000.00613.21
7.3.320.0000.00613.07
7.3.310.0030.00316.36
7.3.300.0030.00316.23
7.3.290.0090.00616.32
7.3.280.0090.00816.35
7.3.270.0060.01817.40
7.3.260.0100.00716.33
7.3.250.0070.01016.55
7.3.240.0120.00316.44
7.3.230.0080.00816.46
7.3.210.0080.01116.31
7.3.200.0070.01019.39
7.3.190.0090.00616.45
7.3.180.0060.01616.56
7.3.170.0060.01116.36
7.3.160.0090.00616.53
7.3.120.0050.01315.09
7.3.110.0090.00714.92
7.3.100.0000.01415.03
7.3.90.0050.01114.71
7.3.80.0030.00914.81
7.3.70.0040.00914.82
7.3.60.0090.00614.89
7.3.50.0060.00814.84
7.3.40.0090.00614.88
7.3.30.0060.00614.89
7.3.20.0030.01016.60
7.3.10.0050.00916.87
7.3.00.0050.00716.41
7.2.330.0150.00316.80
7.2.320.0070.01016.49
7.2.310.0060.01216.64
7.2.300.0130.00316.69
7.2.290.0090.00916.57
7.2.250.0110.00814.88
7.2.240.0060.01315.18
7.2.230.0090.00515.03
7.2.220.0060.00815.21
7.2.210.0070.00615.11
7.2.200.0020.00915.02
7.2.190.0030.01015.12
7.2.180.0050.00815.04
7.2.170.0080.00615.08
7.2.00.0000.00819.53
7.1.330.0070.00815.76
7.1.320.0050.00615.83
7.1.310.0040.01115.91
7.1.300.0090.00715.80
7.1.290.0030.01115.77
7.1.280.0040.00915.87
7.1.270.0060.00615.75
7.1.260.0080.00515.75
7.1.100.0040.00718.30
7.1.70.0030.00717.19
7.1.60.0090.01219.32
7.1.50.0270.01617.01
7.1.00.0100.09022.57
7.0.200.0100.00016.93
7.0.140.0000.07721.97
7.0.60.0100.08319.86
7.0.50.0030.07317.84
7.0.40.0030.04320.09
7.0.30.0570.07020.02
7.0.20.0270.07020.30
7.0.10.0030.07320.30
7.0.00.0170.08020.09
5.6.280.0030.07721.06
5.6.210.0070.08020.75
5.6.200.0100.08018.23
5.6.190.0000.04320.41
5.6.180.0170.08020.27
5.6.170.0170.05020.41
5.6.160.0170.04020.54
5.6.150.0030.05718.22
5.6.140.0070.03718.15
5.6.130.0100.05018.11
5.6.120.0070.04020.98
5.6.110.0030.04321.00
5.6.100.0070.08321.12
5.6.90.0030.08320.97
5.6.80.0030.06720.52
5.6.70.3230.03720.39
5.5.350.0270.07720.41
5.5.340.0100.07717.91
5.5.330.0000.06320.43
5.5.320.0300.04720.26
5.5.310.0200.04320.29
5.5.300.0070.04017.97
5.5.290.0070.08017.91
5.5.280.0070.08320.87
5.5.270.0100.07320.84
5.5.260.0070.08320.95
5.5.250.0100.07020.61
5.5.240.4230.03720.15
5.4.450.0230.06319.58
5.4.440.0230.08319.38
5.4.430.0300.05719.38
5.4.420.0370.05719.42
5.4.410.0200.04319.44
5.4.400.0200.04319.16
5.4.390.0300.07018.94
5.4.380.0330.07319.25
5.4.370.0100.04019.13
5.4.360.0270.03018.79
5.4.350.0170.04019.13
5.4.340.0200.03019.22
5.4.320.0130.03719.13
5.4.310.0130.03719.06
5.4.300.0130.03718.80
5.4.290.0270.03018.91
5.4.280.0230.06718.92
5.4.270.0270.05019.05
5.4.260.0100.04319.24
5.4.250.0100.04018.80
5.4.240.0170.03318.89
5.4.230.0100.04019.07
5.4.220.0100.04018.92
5.4.210.0070.04719.13
5.4.200.0200.03019.26
5.4.190.0170.03318.77
5.4.180.0170.03318.91
5.4.170.0070.04318.87
5.4.160.0200.05319.23
5.4.150.0170.04719.14
5.4.140.0330.04316.45
5.4.130.0070.08316.29
5.4.120.0200.05016.27
5.4.110.0170.04316.46
5.4.100.0300.05316.06
5.4.90.0230.04716.39
5.4.80.0300.06716.39
5.4.70.0230.06716.39
5.4.60.0200.05016.31
5.4.50.0300.07016.41
5.4.40.0170.04316.43
5.4.30.0170.05016.18
5.4.20.0230.03716.36
5.4.10.0230.05316.22
5.4.00.0300.03715.80
5.3.290.0130.03714.52
5.3.280.0200.04014.54
5.3.270.0170.03714.52
5.3.260.0100.04014.70
5.3.250.0230.05314.54
5.3.240.0200.03714.46
5.3.230.0200.07314.48
5.3.220.0300.07014.43
5.3.210.0130.05314.41
5.3.200.0200.07714.41
5.3.190.0200.04714.45
5.3.180.0270.06714.50
5.3.170.0300.06714.43
5.3.160.0270.04714.44
5.3.150.0230.07314.43
5.3.140.0200.05314.40
5.3.130.0230.06714.50
5.3.120.0130.05714.45
5.3.110.0200.07314.40
5.3.100.0230.04713.97
5.3.90.0370.04313.98
5.3.80.0270.06014.00
5.3.70.0300.06313.84
5.3.60.0200.06713.98
5.3.50.0230.05314.04
5.3.40.0270.07013.75
5.3.30.0170.04713.76
5.3.20.0270.04313.72
5.3.10.0230.05713.64
5.3.00.0230.06713.52
5.2.170.0130.05712.18
5.2.160.0230.06312.18
5.2.150.0230.05712.18
5.2.140.0270.05312.18
5.2.130.0230.05012.18
5.2.120.0270.03312.18
5.2.110.0270.05312.18
5.2.100.0170.04012.18
5.2.90.0170.04012.18
5.2.80.0270.05012.18
5.2.70.0200.03712.18
5.2.60.0170.04012.18
5.2.50.0300.04312.18
5.2.40.0130.06012.18
5.2.30.0170.04712.18
5.2.20.0100.04712.18
5.2.10.0230.05312.18
5.2.00.0200.04712.18
5.1.60.0070.03712.18
5.1.50.0170.03712.18
5.1.40.0230.04312.18
5.1.30.0230.05012.18
5.1.20.0230.03712.18
5.1.10.0230.05712.18
5.1.00.0170.05312.18
5.0.50.0100.04312.18
5.0.40.0070.04712.18
5.0.30.0130.06012.18
5.0.20.0130.03712.18
5.0.10.0070.04312.18
5.0.00.0170.05712.18
4.4.90.0070.02312.18
4.4.80.0070.02312.18
4.4.70.0070.02312.18
4.4.60.0130.02012.18
4.4.50.0170.01712.18
4.4.40.0070.04712.18
4.4.30.0030.02312.18
4.4.20.0100.01712.18
4.4.10.0200.03312.18
4.4.00.0170.03712.18
4.3.110.0130.01712.18
4.3.100.0130.02312.18
4.3.90.0130.03012.18
4.3.80.0100.05012.18
4.3.70.0070.03712.18
4.3.60.0100.03012.18
4.3.50.0130.03012.18
4.3.40.0100.04712.18
4.3.30.0030.03712.18
4.3.20.0030.03012.18
4.3.10.0130.02712.18
4.3.00.0070.02712.18

preferences:
45.67 ms | 401 KiB | 5 Q