3v4l.org

run code in 300+ PHP versions simultaneously
<?php $attribute = <<<EOF <?php #[Block( id: 'test', label: new TranslatableMarkup('test') )] class A {} EOF; foreach (token_get_all($attribute) as $token) { if (is_array($token)) { print token_name($token[0]) . ' ' . $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.4.20.0130.00617.80
8.4.10.0030.00519.69
8.3.150.0070.00018.76
8.3.140.0080.00818.27
8.3.130.0080.00018.44
8.3.120.0080.00018.86
8.3.110.0040.01120.94
8.3.100.0120.00524.06
8.3.90.0070.00726.77
8.3.80.0060.00317.97
8.3.70.0000.01516.63
8.3.60.0170.00716.63
8.3.50.0150.00016.66
8.3.40.0130.00320.38
8.3.30.0090.00621.91
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.270.0100.01017.00
8.2.260.0000.00816.45
8.2.250.0000.00816.40
8.2.240.0070.00317.21
8.2.230.0070.01022.58
8.2.220.0040.00437.54
8.2.210.0150.00326.77
8.2.200.0090.00016.63
8.2.190.0140.00416.58
8.2.180.0090.00616.63
8.2.170.0090.00619.08
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0110.00018.16
8.2.110.0110.00920.38
8.2.100.0090.01018.91
8.2.90.0110.00518.92
8.2.80.0080.00518.85
8.2.70.0100.01218.79
8.2.60.0150.00818.81
8.2.50.0100.01318.71
8.2.40.0130.00518.74
8.2.30.0130.01118.78
8.2.20.0110.00618.87
8.2.10.0080.00719.13
8.2.00.0120.00919.03
8.1.310.0050.00318.63
8.1.300.0050.00315.90
8.1.290.0090.00030.84
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00318.63
8.1.230.0120.00318.61
8.1.220.0050.00718.57
8.1.210.0020.00819.94
8.1.200.0090.00418.48
8.1.190.0080.00318.38
8.1.180.0090.00518.32
8.1.170.0100.00218.45
8.1.160.0160.00518.77
8.1.150.0070.00520.48
8.1.140.0110.00218.49
8.1.130.0100.00318.55
8.1.120.0110.00218.62
8.1.110.0160.00318.54
8.1.100.0090.00918.63
8.1.90.0100.00418.65
8.1.80.0140.00518.59
8.1.70.0060.00518.81
8.1.60.0160.00418.55
8.1.50.0090.00318.56
8.1.40.0090.00418.85
8.1.30.0110.00518.89
8.1.20.0130.00518.73
8.1.10.0100.00518.68
8.1.00.0060.00518.71
8.0.300.0090.00517.76
8.0.290.0100.00317.87
8.0.280.0060.00417.98
8.0.270.0070.00717.89
8.0.260.0070.00617.84
8.0.250.0090.00417.82
8.0.240.0110.00017.93
8.0.230.0070.00318.24
8.0.220.0090.00317.85
8.0.210.0090.00317.91
8.0.200.0120.00217.90
8.0.190.0040.00717.92
8.0.180.0110.00317.82
8.0.170.0080.00317.96
8.0.160.0120.00217.95
8.0.150.0090.00517.79
8.0.140.0110.00817.88
8.0.130.0090.00517.95
8.0.120.0130.00217.78
8.0.110.0110.00117.96
8.0.100.0090.00517.81
8.0.90.0080.00317.91
8.0.80.0160.00217.86
8.0.70.0100.00317.83
8.0.60.0090.00517.88
8.0.50.0060.00817.91
8.0.30.0160.00318.00
8.0.20.0100.00318.00
8.0.10.0090.00318.10
8.0.00.0030.00619.95
7.4.330.0040.00414.22
7.4.320.0030.00717.46
7.4.300.0050.00517.44
7.4.290.0080.00117.54
7.4.280.0040.00417.47
7.4.270.0030.00617.46
7.4.260.0060.00317.47
7.4.250.0040.00517.48
7.4.240.0080.00217.46
7.4.230.0090.00017.41
7.4.220.0030.00617.46
7.4.210.0030.00617.47
7.4.200.0080.00217.39
7.4.190.0130.00217.50
7.4.180.0050.00417.61
7.4.160.0060.00317.54
7.4.150.0070.00117.62
7.4.140.0050.00417.40
7.4.130.0040.00417.49
7.4.120.0020.00717.40
7.4.110.0190.00917.25
7.4.100.0230.00717.48
7.4.90.0220.00417.34
7.4.80.0240.00517.32
7.4.70.0230.00317.45
7.4.60.0250.00717.28
7.4.50.0260.00317.28
7.4.40.0130.00517.26
7.4.30.0180.00517.10
7.4.20.0170.00217.35
7.4.10.0240.00217.28
7.4.00.0060.00617.37
7.3.330.0160.00217.41
7.3.320.0210.00717.32
7.3.310.0280.00217.37
7.3.300.0170.00217.16
7.3.290.0120.00617.13
7.3.280.0210.00817.07
7.3.270.0250.00317.31
7.3.260.0240.00817.33
7.3.250.0230.00417.20
7.3.240.0190.01017.15
7.3.230.0240.00317.08
7.3.220.0220.00916.98
7.3.210.0280.00317.15
7.3.200.0290.00317.27
7.3.190.0280.00217.40
7.3.180.0110.00817.15
7.3.170.0260.00217.18
7.3.160.0230.00517.18
7.3.150.0210.00817.18
7.3.140.0230.00317.13
7.3.130.0250.00617.28
7.3.120.0230.00617.16
7.3.110.0210.00617.23
7.3.100.0090.01117.13
7.3.90.0240.00417.21
7.3.80.0190.01017.24
7.3.70.0200.00517.09
7.3.60.0180.00717.28
7.3.50.0180.00017.45
7.3.40.0170.00517.27
7.3.30.0210.00517.38
7.3.20.0160.00617.30
7.3.10.0200.00817.28
7.3.00.0080.00417.54
7.2.340.0050.00517.43
7.2.330.0140.00516.88
7.2.320.0150.00417.40
7.2.310.0140.00517.18
7.2.300.0150.00417.24
7.2.290.0180.00517.37
7.2.280.0130.00617.17
7.2.270.0160.00217.43
7.2.260.0180.00117.31
7.2.250.0160.00817.42
7.2.240.0120.00617.39
7.2.230.0150.00417.32
7.2.220.0160.00517.27
7.2.210.0220.00617.34
7.2.200.0190.00117.51
7.2.190.0150.00417.45
7.2.180.0150.00317.43
7.2.170.0120.00717.54
7.2.160.0170.00217.68
7.2.150.0170.00417.44
7.2.140.0150.00517.54
7.2.130.0130.00717.50
7.2.120.0130.00717.56
7.2.110.0210.00017.55
7.2.100.0120.00917.57
7.2.90.0180.00317.39
7.2.80.0180.00317.49
7.2.70.0220.00017.51
7.2.60.0180.00517.39
7.2.50.0430.00517.40
7.2.40.0180.00217.68
7.2.30.0150.00517.64
7.2.20.0150.00517.66
7.2.10.0140.00617.66
7.2.00.0080.00417.79
7.1.330.0070.00216.57
7.1.320.0160.00216.51
7.1.310.0160.00116.39
7.1.300.0140.00716.50
7.1.290.0140.00416.45
7.1.280.0150.00316.41
7.1.270.0160.00116.41
7.1.260.0080.00916.50
7.1.250.0110.00916.40
7.1.240.0180.00716.38
7.1.230.0150.00316.46
7.1.220.0130.00416.48
7.1.210.0130.00416.49
7.1.200.0170.00216.52
7.1.190.0220.00316.29
7.1.180.0440.01117.20
7.1.170.0390.00518.39
7.1.160.0140.00417.28
7.1.150.0290.00717.31
7.1.140.0230.00517.12
7.1.130.0230.00417.17
7.1.120.0190.00317.35
7.1.110.0200.00317.31
7.1.100.0260.00317.29
7.1.90.0230.00417.24
7.1.80.0150.00617.22
7.1.70.0160.00517.13
7.1.60.0170.00417.30
7.1.50.0160.00617.49
7.1.40.0120.00417.34
7.1.30.0140.00317.43
7.1.20.0060.01017.31
7.1.10.0140.00517.18
7.1.00.0150.00117.40
7.0.330.0230.01116.92
7.0.320.0200.00816.95
7.0.310.0270.00417.04
7.0.300.0250.00217.03
7.0.290.0440.00216.93
7.0.280.0280.00316.99
7.0.270.0180.00316.95
7.0.260.0130.00316.86
7.0.250.0200.00217.10
7.0.240.0150.00217.24
7.0.230.0150.00117.15
7.0.220.0130.00317.02
7.0.210.0150.00117.05
7.0.200.0150.00317.26
7.0.190.0160.00516.91
7.0.180.0210.00517.18
7.0.170.0170.00017.20
7.0.160.0150.00216.85
7.0.150.0210.00517.07
7.0.140.0200.00417.10
7.0.130.0220.00217.00
7.0.120.0150.00717.19
7.0.110.0220.00517.08
7.0.100.0210.00816.81
7.0.90.0180.00416.98
7.0.80.0170.00716.95
7.0.70.0180.00516.88
7.0.60.0130.00316.83
7.0.50.0140.00416.88
7.0.40.0180.00716.88
7.0.30.0200.00716.95
7.0.20.0180.00516.90
7.0.10.0120.00517.02
7.0.00.0190.00816.95
5.6.400.0180.00516.83
5.6.390.0150.00916.90
5.6.380.0100.00616.95
5.6.370.0140.00816.77
5.6.360.0120.00416.89
5.6.350.0140.00316.85
5.6.340.0110.00316.87
5.6.330.0070.00216.89
5.6.320.0060.00816.92
5.6.310.0080.00616.88
5.6.300.0050.00816.65
5.6.290.0040.00416.90
5.6.280.0090.00516.81
5.6.270.0090.00616.88
5.6.260.0050.00816.86
5.6.250.0090.00016.72
5.6.240.0110.00716.88
5.6.230.0020.00817.07
5.6.220.0070.00316.96
5.6.210.0090.00216.71
5.6.200.0050.00516.98
5.6.190.0040.00417.02
5.6.180.0080.00117.01
5.6.170.0040.00417.13
5.6.160.0050.00417.06
5.6.150.0030.00517.18
5.6.140.0040.00416.97
5.6.130.0070.00116.94
5.6.120.0030.00516.97
5.6.110.0070.00317.00
5.6.100.0060.00316.94
5.6.90.0060.00316.85
5.6.80.0070.00116.80
5.6.70.0080.00017.00
5.6.60.0020.00617.01
5.6.50.0080.00016.80
5.6.40.0020.00716.96
5.6.30.0070.00116.95
5.6.20.0050.00316.86
5.6.10.0080.00016.97
5.6.00.0090.00416.82
5.5.380.0090.00716.86
5.5.370.0110.00517.04
5.5.360.0140.00216.73
5.5.350.0120.00316.56
5.5.340.0120.00616.60
5.5.330.0210.00416.80
5.5.320.0190.00616.72
5.5.310.0210.01216.71
5.5.300.0230.00816.77
5.5.290.0200.00416.66
5.5.280.0220.00716.61
5.5.270.0230.00516.46
5.5.260.0320.00116.60
5.5.250.0180.00716.94
5.5.240.0130.00616.97
5.5.230.0110.00516.82
5.5.220.0160.00016.61
5.5.210.0180.00416.87
5.5.200.0150.00016.61
5.5.190.0120.00416.67
5.5.180.0150.00816.63
5.5.170.0130.00316.74
5.5.160.0090.00216.71
5.5.150.0060.00616.65
5.5.140.0120.00516.59
5.5.130.0120.00216.52
5.5.120.0070.00516.52
5.5.110.0100.00516.68
5.5.100.0030.00916.83
5.5.90.0100.00516.80
5.5.80.0090.00516.88
5.5.70.0110.00316.94
5.5.60.0100.00316.87
5.5.50.0080.00616.87
5.5.40.0170.00616.70
5.5.30.0130.00616.94
5.5.20.0090.00716.92
5.5.10.0100.00416.79
5.5.00.0120.00316.95
5.4.450.0010.00714.22
5.4.440.0070.00014.22
5.4.430.0040.00614.22
5.4.420.0100.00314.22
5.4.410.0100.00314.22
5.4.400.0050.00314.22
5.4.390.0050.00514.22
5.4.380.0050.00614.22
5.4.370.0030.00514.22
5.4.360.0050.00714.22
5.4.350.0050.00514.22
5.4.340.0070.00214.22
5.4.330.0060.00314.22
5.4.320.0050.00214.22
5.4.310.0060.00014.22
5.4.300.0070.00114.22
5.4.290.0030.00314.22
5.4.280.0040.00114.22
5.4.270.0060.00314.22
5.4.260.0050.00114.22
5.4.250.0030.00314.22
5.4.240.0030.00314.22
5.4.230.0160.00014.22
5.4.220.0070.00314.22
5.4.210.0060.00314.22
5.4.200.0020.00714.22
5.4.190.0070.00014.22
5.4.180.0030.00314.22
5.4.170.0060.00014.22
5.4.160.0050.00214.22
5.4.150.0070.00014.22
5.4.140.0070.00014.22
5.4.130.0050.00214.22
5.4.120.0030.00314.22
5.4.110.0050.00114.22
5.4.100.0030.00314.22
5.4.90.0000.00614.22
5.4.80.0020.00514.22
5.4.70.0020.00514.22
5.4.60.0070.00014.22
5.4.50.0050.00114.22
5.4.40.0070.00014.22
5.4.30.0030.00314.22
5.4.20.0050.00214.22
5.4.10.0040.00214.22
5.4.00.0050.00214.22
5.3.290.0050.00214.22
5.3.280.0050.00214.22
5.3.270.0050.00114.22
5.3.260.0050.00214.22
5.3.250.0030.00314.22
5.3.240.0030.00314.22
5.3.230.0050.00214.22
5.3.220.0040.00314.22
5.3.210.0000.00614.22
5.3.200.0050.00114.22
5.3.190.0030.00314.22
5.3.180.0060.00014.22
5.3.170.0050.00214.22
5.3.160.0070.00014.22
5.3.150.0050.00214.22
5.3.140.0050.00214.22
5.3.130.0060.00014.22
5.3.120.0050.00214.22
5.3.110.0020.00514.22
5.3.100.0030.00314.22
5.3.90.0050.00214.22
5.3.80.0020.00514.22
5.3.70.0030.00314.22
5.3.60.0030.00314.22
5.3.50.0030.00314.22
5.3.40.0070.00014.22
5.3.30.0050.00214.22
5.3.20.0040.00314.22
5.3.10.0070.00014.22
5.3.00.0030.00314.22
5.2.170.0030.00314.22
5.2.160.0000.00614.22
5.2.150.0050.00214.22
5.2.140.0020.00614.22
5.2.130.0080.00014.22
5.2.120.0030.00314.22
5.2.110.0060.00014.22
5.2.100.0020.00414.22
5.2.90.0060.00114.22
5.2.80.0030.00314.22
5.2.70.0030.00314.22
5.2.60.0060.00014.22
5.2.50.0050.00114.22
5.2.40.0030.00314.22
5.2.30.0040.00214.22
5.2.20.0030.00314.22
5.2.10.0030.00314.22
5.2.00.0030.00314.22
5.1.60.0040.00114.22
5.1.50.0030.00314.22
5.1.40.0030.00314.22
5.1.30.0050.00014.22
5.1.20.0030.00314.22
5.1.10.0050.00014.22
5.1.00.0030.00314.22
5.0.50.0030.00214.22
5.0.40.0010.00414.22
5.0.30.0010.00414.22
5.0.20.0020.00314.22
5.0.10.0030.00214.22
5.0.00.0040.00114.22
4.4.90.0000.00314.22
4.4.80.0010.00114.22
4.4.70.0010.00114.22
4.4.60.0020.00014.22
4.4.50.0010.00114.22
4.4.40.0010.00114.22
4.4.30.0000.00314.22
4.4.20.0020.00014.22
4.4.10.0010.00114.22
4.4.00.0000.00214.22
4.3.110.0020.00014.22
4.3.100.0020.00014.22
4.3.90.0010.00114.22
4.3.80.0010.00114.22
4.3.70.0000.00214.22
4.3.60.0020.00014.22
4.3.50.0010.00114.22
4.3.40.0010.00114.22
4.3.30.0020.00014.22
4.3.20.0020.00014.22
4.3.10.0010.00114.22
4.3.00.0020.00014.22

preferences:
31.09 ms | 402 KiB | 5 Q