3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = token_get_all("<?php class RegistrationFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $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.40.0110.00718.98
8.3.30.0120.00318.69
8.3.20.0110.00420.14
8.3.10.0000.00823.64
8.3.00.0040.00419.17
8.2.170.0040.01122.96
8.2.160.0100.01020.52
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00317.38
8.2.120.0050.00326.35
8.2.110.0060.00320.47
8.2.100.0150.00317.68
8.2.90.0040.00419.41
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0040.00418.05
8.2.50.0030.00618.07
8.2.40.0050.00319.31
8.2.30.0000.00720.62
8.2.20.0000.00917.87
8.2.10.0040.00418.17
8.2.00.0000.00718.07
8.1.270.0070.00423.73
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0090.00022.59
8.1.230.0050.00517.79
8.1.220.0000.00917.76
8.1.210.0000.00818.77
8.1.200.0100.00017.23
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0000.00818.78
8.1.160.0030.00322.00
8.1.150.0090.00018.79
8.1.140.0040.00419.64
8.1.130.0060.00317.64
8.1.120.0000.00717.48
8.1.110.0040.00417.42
8.1.100.0020.00517.49
8.1.90.0030.00517.38
8.1.80.0090.00017.46
8.1.70.0070.00017.42
8.1.60.0060.00317.47
8.1.50.0100.00017.43
8.1.40.0060.00317.43
8.1.30.0030.00617.63
8.1.20.0050.00317.47
8.1.10.0000.00717.48
8.1.00.0030.00517.47
8.0.300.0000.00818.77
8.0.290.0050.00216.63
8.0.280.0070.00018.36
8.0.270.0000.00717.20
8.0.260.0080.00017.13
8.0.250.0000.00816.97
8.0.240.0000.00716.92
8.0.230.0000.00717.03
8.0.220.0030.00316.80
8.0.210.0000.00816.92
8.0.200.0030.00317.00
8.0.190.0090.00016.91
8.0.180.0080.00016.83
8.0.170.0000.00817.01
8.0.160.0040.00416.91
8.0.150.0040.00416.92
8.0.140.0000.00716.88
8.0.130.0000.00513.39
8.0.120.0000.00816.89
8.0.110.0040.00416.78
8.0.100.0000.00716.89
8.0.90.0000.00717.00
8.0.80.0080.00816.84
8.0.70.0030.00516.92
8.0.60.0000.00716.82
8.0.50.0000.00717.07
8.0.30.0060.01417.03
8.0.20.0110.00917.40
8.0.10.0070.00016.97
8.0.00.0100.00916.82
7.4.330.0020.00216.70
7.4.320.0030.00316.59
7.4.300.0000.00716.50
7.4.290.0030.00316.52
7.4.280.0060.00316.49
7.4.270.0080.00016.51
7.4.260.0040.00416.38
7.4.250.0000.00716.51
7.4.240.0000.00716.45
7.4.230.0030.00316.55
7.4.220.0070.01116.52
7.4.210.0090.00616.55
7.4.200.0040.00416.41
7.4.160.0080.00816.27
7.4.150.0080.01117.40
7.4.140.0130.00717.86
7.4.130.0100.00716.48
7.4.120.0070.01016.56
7.4.110.0130.00716.54
7.4.100.0170.00416.70
7.4.90.0100.01116.42
7.4.80.0090.00919.39
7.4.70.0090.00916.57
7.4.60.0070.01016.59
7.4.50.0000.01316.52
7.4.40.0070.01016.29
7.4.30.0070.01316.61
7.4.00.0090.00914.98
7.3.330.0050.00013.21
7.3.320.0060.00013.23
7.3.310.0050.00316.44
7.3.300.0030.00316.38
7.3.290.0000.00716.19
7.3.280.0140.00516.41
7.3.270.0310.01617.40
7.3.260.0180.00616.43
7.3.250.0090.01116.43
7.3.240.0100.00816.38
7.3.230.0150.00416.39
7.3.210.0090.00916.60
7.3.200.0120.01216.69
7.3.190.0160.00816.58
7.3.180.0130.00316.42
7.3.170.0130.00616.59
7.3.160.0000.01816.42
7.2.330.0120.00616.70
7.2.320.0150.00616.54
7.2.310.0100.01616.51
7.2.300.0100.01316.81
7.2.290.0030.00816.59
7.2.60.0090.00617.07
7.2.00.0090.00319.34
7.1.200.0040.00415.76
7.1.100.0120.01218.18
7.1.70.0000.00717.03
7.1.60.0100.01419.48
7.1.50.0090.01316.85
7.1.00.0030.07722.46
7.0.200.0340.00014.91
7.0.60.0070.07319.94
7.0.50.0100.05717.90
7.0.40.0000.09019.98
7.0.30.0200.05320.11
7.0.20.0430.07020.20
7.0.10.0030.04319.99
7.0.00.0070.03720.20
5.6.210.0100.07720.69
5.6.200.0070.08318.17
5.6.190.0030.05020.67
5.6.180.0430.04720.77
5.6.170.0300.07320.54
5.6.160.0100.08720.51
5.6.150.0030.04018.10
5.6.140.0030.08318.09
5.6.130.0230.07018.21
5.6.120.0000.04320.98
5.6.110.0070.06721.03
5.6.100.0070.08021.08
5.6.90.0100.06720.96
5.6.80.0200.06020.36
5.5.350.0300.08020.45
5.5.340.0030.04718.01
5.5.330.0170.07720.40
5.5.320.0000.07720.15
5.5.310.0170.05020.13
5.5.300.0030.08717.98
5.5.290.0070.08017.94
5.5.280.0030.04020.96
5.5.270.0100.03720.87
5.5.260.0200.04720.76
5.5.250.0130.07020.66
5.5.240.0200.05720.12

preferences:
50.5 ms | 400 KiB | 5 Q