3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = token_get_all("<?php $builder = new StdClass(); $builder->add('username', TextType::class, array('label' => 'form.username'))"); foreach ($a as $t) { if (isset($t[1])) { echo token_name($t[0]), "\n"; } else { echo $t, "\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.0110.00416.74
8.3.50.0100.00821.93
8.3.40.0100.00318.76
8.3.30.0040.01218.49
8.3.20.0120.00820.33
8.3.10.0040.00423.70
8.3.00.0140.00419.51
8.2.180.0070.01416.88
8.2.170.0040.01122.96
8.2.160.0100.00320.29
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00317.75
8.2.120.0080.00026.35
8.2.110.0030.00620.35
8.2.100.0070.00717.88
8.2.90.0040.00419.17
8.2.80.0090.00017.97
8.2.70.0000.00917.61
8.2.60.0030.00518.16
8.2.50.0030.00618.07
8.2.40.0080.00019.45
8.2.30.0000.00720.61
8.2.20.0000.00917.85
8.2.10.0040.00418.13
8.2.00.0000.00718.00
8.1.280.0120.00325.92
8.1.270.0030.00723.79
8.1.260.0040.00428.09
8.1.250.0070.00728.09
8.1.240.0060.00322.54
8.1.230.0120.00017.79
8.1.220.0060.00317.74
8.1.210.0090.00018.77
8.1.200.0030.00617.25
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0000.00818.58
8.1.160.0050.00222.00
8.1.150.0040.00718.77
8.1.140.0030.00619.59
8.1.130.0030.00317.70
8.1.120.0050.00317.50
8.1.110.0020.00517.42
8.1.100.0050.00217.49
8.1.90.0040.00417.51
8.1.80.0070.00317.36
8.1.70.0000.00817.34
8.1.60.0090.00317.46
8.1.50.0000.00917.52
8.1.40.0000.00817.48
8.1.30.0000.00917.55
8.1.20.0040.00417.61
8.1.10.0040.00417.63
8.1.00.0080.00017.39
8.0.300.0030.00518.77
8.0.290.0050.00216.63
8.0.280.0000.00718.45
8.0.270.0030.00317.25
8.0.260.0030.00317.27
8.0.250.0070.00017.05
8.0.240.0070.00016.91
8.0.230.0030.00417.02
8.0.220.0000.00716.91
8.0.210.0000.00816.93
8.0.200.0000.00817.07
8.0.190.0070.00016.98
8.0.180.0040.00416.98
8.0.170.0080.00016.98
8.0.160.0050.00317.04
8.0.150.0030.00516.94
8.0.140.0000.00716.92
8.0.130.0000.00613.32
8.0.120.0040.00416.82
8.0.110.0040.00416.92
8.0.100.0040.00416.85
8.0.90.0040.00417.02
8.0.80.0070.00717.00
8.0.70.0040.00416.80
8.0.60.0000.00716.82
8.0.50.0050.00316.83
8.0.30.0110.00917.18
8.0.20.0190.01917.40
8.0.10.0040.00417.00
8.0.00.0070.01116.94
7.4.330.0000.00616.79
7.4.320.0030.00316.42
7.4.300.0040.00416.61
7.4.290.0050.00216.59
7.4.280.0040.00416.57
7.4.270.0040.00416.59
7.4.260.0070.00016.58
7.4.250.0070.00016.48
7.4.240.0030.00316.49
7.4.230.0000.00716.30
7.4.220.0120.00916.63
7.4.210.0060.00916.59
7.4.200.0040.00416.41
7.4.160.0060.01116.30
7.4.150.0030.01317.40
7.4.140.0120.00717.86
7.4.130.0130.00716.64
7.4.120.0080.01016.60
7.4.110.0150.00416.53
7.4.100.0100.00916.54
7.4.90.0100.01016.66
7.4.80.0090.00919.39
7.4.70.0070.01016.56
7.4.60.0060.00916.58
7.4.50.0000.01216.56
7.4.40.0130.00316.57
7.4.30.0140.00316.55
7.4.10.0070.01314.80
7.4.00.0060.00715.02
7.3.330.0050.00013.12
7.3.320.0030.00313.13
7.3.310.0020.00516.24
7.3.300.0040.00416.35
7.3.290.0030.01116.38
7.3.280.0100.00716.44
7.3.270.0120.00617.40
7.3.260.0110.00716.38
7.3.250.0080.01316.58
7.3.240.0120.00716.35
7.3.230.0120.00916.39
7.3.210.0110.00616.38
7.3.200.0060.01716.45
7.3.190.0070.01016.32
7.3.180.0110.00616.42
7.3.170.0100.01016.46
7.3.160.0070.01016.36
7.3.130.0160.00014.93
7.3.120.0100.00714.87
7.3.110.0080.00814.80
7.3.100.0030.01314.81
7.3.90.0050.00914.64
7.3.80.0040.00914.81
7.3.70.0060.00614.90
7.3.60.0060.00814.86
7.3.50.0050.00914.82
7.3.40.0020.01114.97
7.3.30.0030.01114.90
7.3.20.0030.01016.74
7.3.10.0030.00916.59
7.3.00.0060.00916.72
7.2.330.0060.01216.42
7.2.320.0140.00916.39
7.2.310.0070.01016.67
7.2.300.0110.00716.84
7.2.290.0110.01416.46
7.2.260.0060.01015.29
7.2.250.0100.00915.21
7.2.240.0070.01114.89
7.2.230.0070.01014.87
7.2.220.0120.00315.00
7.2.210.0050.00915.08
7.2.200.0000.01314.96
7.2.190.0050.00814.74
7.2.180.0020.01014.96
7.2.170.0030.01015.12
7.2.160.0040.00814.94
7.2.150.0030.00716.82
7.2.140.0130.00316.74
7.2.130.0060.00916.83
7.2.120.0080.00616.69
7.2.110.0090.00616.89
7.2.100.0040.00916.85
7.2.90.0050.00816.83
7.2.80.0090.00416.88
7.2.70.0080.00616.70
7.2.60.0050.01116.76
7.2.50.0050.00817.02
7.2.40.0040.00816.97
7.2.30.0040.01117.03
7.2.20.0070.00716.93
7.2.10.0070.00917.03
7.2.00.0070.00717.61
7.1.330.0080.00615.80
7.1.320.0060.00715.60
7.1.310.0050.00715.76
7.1.300.0060.00815.83
7.1.290.0050.00815.72
7.1.280.0030.01115.69
7.1.270.0030.01015.89
7.1.260.0070.00515.80
7.1.250.0000.01416.04
7.1.240.0020.01015.78
7.1.230.0050.00815.68
7.1.220.0110.00315.63
7.1.210.0050.01015.72
7.1.200.0100.00215.74
7.1.190.0060.00715.78
7.1.180.0090.00515.82
7.1.170.0070.00815.89
7.1.160.0050.01015.70
7.1.150.0060.00615.74
7.1.140.0070.00415.68
7.1.130.0060.00815.69
7.1.120.0080.00515.62
7.1.110.0060.00715.81
7.1.100.0040.00716.62
7.1.90.0060.00815.60
7.1.80.0060.00815.85
7.1.70.0060.00816.22
7.1.60.0060.00916.93
7.1.50.0070.01016.09
7.1.40.0090.00615.50
7.1.30.0030.00815.51
7.1.20.0050.00915.80
7.1.10.0060.00615.84
7.1.00.0050.03018.06
7.0.330.0000.01515.32
7.0.320.0090.00615.41
7.0.310.0020.00815.38
7.0.300.0050.00915.35
7.0.290.0030.00915.45
7.0.280.0090.00515.28
7.0.270.0050.00715.37
7.0.260.0050.00915.19
7.0.250.0050.00715.45
7.0.240.0030.01015.42
7.0.230.0080.00815.31
7.0.220.0100.00515.41
7.0.210.0060.00815.42
7.0.200.0110.00915.19
7.0.190.0030.01115.44
7.0.180.0090.00415.54
7.0.170.0080.00615.52
7.0.160.0080.00615.59
7.0.150.0030.00915.41
7.0.140.0080.00715.20
7.0.130.0070.00615.54
7.0.120.0020.00715.31
7.0.110.0040.00815.32
7.0.100.0060.00615.37
7.0.90.0060.00615.45
7.0.80.0060.00615.38
7.0.70.0050.00915.38
7.0.60.0080.03016.92
7.0.50.0030.03216.20
7.0.40.0090.02715.65
7.0.30.0130.01715.66
7.0.20.0120.02215.84
7.0.10.0060.01815.72
7.0.00.0050.02015.49
5.6.400.0070.01014.48
5.6.390.0030.00914.29
5.6.380.0050.00914.26
5.6.370.0120.00314.47
5.6.360.0030.00914.38
5.6.350.0030.00814.45
5.6.340.0030.01014.44
5.6.330.0070.00714.30
5.6.320.0070.00714.57
5.6.310.0020.00814.45
5.6.300.0100.00314.40
5.6.290.0050.01014.50
5.6.280.0050.03416.57
5.6.270.0060.00814.54
5.6.260.0050.00614.61
5.6.250.0100.00314.31
5.6.240.0100.00514.43
5.6.230.0030.00814.29
5.6.220.0040.00714.30
5.6.210.0050.02916.53
5.6.200.0020.03215.72
5.6.190.0090.02416.49
5.6.180.0120.02716.45
5.6.170.0110.03416.37
5.6.160.0060.03116.24
5.6.150.0050.03015.64
5.6.140.0050.03215.78
5.6.130.0080.02815.52
5.6.120.0110.02816.69
5.6.110.0050.03716.58
5.6.100.0080.02216.54
5.6.90.0020.03116.67
5.6.80.0080.03016.53
5.6.70.0070.00714.36
5.6.60.0060.00614.34
5.6.50.0040.00914.26
5.6.40.0080.00614.37
5.6.30.0050.00914.27
5.6.20.0040.00714.35
5.6.10.0050.00514.39
5.6.00.0070.00714.27
5.5.380.0030.00912.88
5.5.370.0020.00912.71
5.5.360.0080.00412.76
5.5.350.0140.03115.42
5.5.340.0100.01814.41
5.5.330.0060.02015.16
5.5.320.0010.01815.30
5.5.310.0090.02915.39
5.5.300.0080.02914.55
5.5.290.0040.03414.48
5.5.280.0040.02515.55
5.5.270.0050.02715.46
5.5.260.0100.02915.57
5.5.250.0010.02115.40
5.5.240.0090.03315.21
5.5.230.0040.00712.75
5.5.220.0030.00712.69
5.5.210.0060.00712.70
5.5.200.0020.00912.80
5.5.190.0060.00512.76
5.5.180.0060.00512.73
5.5.170.0040.01114.23
5.5.160.0060.00912.68
5.5.150.0070.00712.80
5.5.140.0060.00612.66
5.5.130.0050.00612.84
5.5.120.0060.00512.79
5.5.110.0100.00312.88
5.5.100.0030.00812.63
5.5.90.0090.00212.70
5.5.80.0040.00512.90
5.5.70.0070.00512.85
5.5.60.0040.00812.59
5.5.50.0090.00412.85
5.5.40.0030.00812.50
5.5.30.0070.00812.71
5.5.20.0050.00712.68
5.5.10.0080.00112.82
5.5.00.0020.00812.74

preferences:
69.27 ms | 401 KiB | 5 Q