3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = token_get_all('<?php $a=1;echo $a; ?>'); // => array(array(T_INLINE_HTML, '/* comment */')); var_dump($tokens);

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.0060.01320.58
8.4.10.0060.00319.11
8.3.150.0120.00617.12
8.3.140.0140.00420.50
8.3.130.0050.00518.12
8.3.120.0100.00618.79
8.3.110.0070.00320.94
8.3.100.0070.00324.06
8.3.90.0040.00418.07
8.3.80.0090.00016.38
8.3.70.0120.00916.58
8.3.60.0090.00616.38
8.3.50.0090.00917.75
8.3.40.0130.00718.56
8.3.30.0170.00018.57
8.3.20.0030.00624.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.270.0150.00316.42
8.2.260.0060.01216.50
8.2.250.0120.00316.33
8.2.240.0150.00317.16
8.2.230.0040.00422.58
8.2.220.0090.00037.54
8.2.210.0070.00026.77
8.2.200.0090.00316.38
8.2.190.0140.00716.58
8.2.180.0140.00725.92
8.2.170.0070.00718.71
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00319.64
8.2.110.0030.00720.58
8.2.100.0070.00417.79
8.2.90.0060.00318.16
8.2.80.0060.00320.36
8.2.70.0030.00617.63
8.2.60.0030.00517.68
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0040.00417.55
8.2.20.0040.00417.98
8.2.10.0040.00419.04
8.2.00.0000.00719.22
8.1.310.0090.00616.16
8.1.300.0070.01120.40
8.1.290.0170.00018.88
8.1.280.0060.00825.92
8.1.270.0080.00024.66
8.1.260.0040.01126.35
8.1.250.0080.00028.09
8.1.240.0090.00021.03
8.1.230.0040.00720.71
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.56
8.1.160.0000.00718.86
8.1.150.0050.00218.60
8.1.140.0040.00418.72
8.1.130.0040.00417.37
8.1.120.0030.00517.40
8.1.110.0020.00517.39
8.1.100.0080.00017.36
8.1.90.0000.00817.29
8.1.80.0040.00417.37
8.1.70.0030.00317.41
8.1.60.0030.00617.41
8.1.50.0030.00617.43
8.1.40.0040.00417.39
8.1.30.0050.00317.60
8.1.20.0040.00417.59
8.1.10.0040.00417.45
8.1.00.0000.00717.39
8.0.300.0030.00620.14
8.0.290.0000.00716.58
8.0.280.0030.00317.80
8.0.270.0070.00016.68
8.0.260.0000.00616.66
8.0.250.0000.00716.85
8.0.240.0070.00016.85
8.0.230.0030.00316.93
8.0.220.0040.00416.80
8.0.210.0070.00016.79
8.0.200.0030.00316.88
8.0.190.0000.00716.75
8.0.180.0050.00216.79
8.0.170.0050.00316.71
8.0.160.0070.00016.70
8.0.150.0000.00716.64
8.0.140.0040.00416.83
8.0.130.0030.00313.25
8.0.120.0050.00316.75
8.0.110.0080.00016.70
8.0.100.0080.00016.83
8.0.90.0070.00016.68
8.0.80.0030.00516.88
8.0.70.0000.00716.59
8.0.60.0040.00416.93
8.0.50.0040.00416.59
8.0.30.0040.00416.83
8.0.20.0050.00216.98
8.0.10.0000.00716.95
8.0.00.0040.00416.98
7.4.330.0000.00515.55
7.4.320.0000.00716.43
7.4.300.0000.00616.29
7.4.290.0000.00716.45
7.4.280.0110.00016.56
7.4.270.0070.00016.44
7.4.260.0030.00313.19
7.4.250.0040.00416.25
7.4.240.0040.00416.45
7.4.230.0080.00016.63
7.4.220.0050.00316.55
7.4.210.0000.00716.34
7.4.200.0040.00416.61
7.4.190.0000.00716.52
7.4.180.0000.00716.61
7.4.160.0000.00716.58
7.4.150.0050.00216.32
7.4.140.0080.00016.39
7.4.130.0030.00316.23
7.4.120.0030.00316.37
7.4.110.0000.00716.44
7.4.100.0000.00716.35
7.4.90.0030.00316.35
7.4.80.0000.00716.32
7.4.70.0030.00316.23
7.4.60.0040.00416.41
7.4.50.0000.00716.00
7.4.40.0080.00016.16
7.4.30.0000.00716.39
7.4.20.0000.00716.39
7.4.10.0030.00316.49
7.4.00.0050.00216.48
7.3.330.0040.00416.20
7.3.320.0040.00413.02
7.3.310.0050.00215.89
7.3.300.0030.00316.16
7.3.290.0060.00015.96
7.3.280.0070.00016.14
7.3.270.0030.00316.11
7.3.260.0030.00316.03
7.3.250.0000.00716.16
7.3.240.0000.00716.02
7.3.230.0070.00016.18
7.3.220.0030.00315.90
7.3.210.0030.00315.92
7.3.200.0000.00616.07
7.3.190.0000.00615.93
7.3.180.0030.00316.05
7.3.170.0000.00715.96
7.3.160.0000.00616.05
7.3.150.0060.00015.97
7.3.140.0000.00715.96
7.3.130.0000.00716.05
7.3.120.0070.00016.10
7.3.110.0000.00615.98
7.3.100.0060.00016.04
7.3.90.0070.00016.30
7.3.80.0000.00616.12
7.3.70.0000.00716.16
7.3.60.0040.00416.14
7.3.50.0050.00216.22
7.3.40.0040.00416.22
7.3.30.0000.00816.14
7.3.20.0040.00416.23
7.3.10.0040.00416.05
7.3.00.0040.00416.09

preferences:
27.69 ms | 403 KiB | 5 Q