3v4l.org

run code in 300+ PHP versions simultaneously
<?php $php = '<?php $var = readonly /* commment */ ();'; foreach (token_get_all($php) as $token) { if (is_array($token)) { echo token_name($token[0]) . "\n"; } else { echo $token . "\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.110.0040.00416.84
8.3.100.0040.01116.49
8.3.90.0000.00826.77
8.3.80.0090.00016.50
8.3.70.0070.01416.75
8.3.60.0110.00316.50
8.3.50.0070.00720.35
8.3.40.0070.01418.63
8.3.30.0070.01019.04
8.3.20.0030.00624.18
8.3.10.0080.00024.66
8.3.00.0070.00026.16
8.2.230.0040.01120.94
8.2.220.0030.00624.06
8.2.210.0090.00626.77
8.2.200.0060.00316.75
8.2.190.0130.00716.75
8.2.180.0110.00325.92
8.2.170.0100.01018.95
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0030.00620.35
8.2.100.0090.00317.72
8.2.90.0000.00817.75
8.2.80.0030.00518.77
8.2.70.0040.00417.74
8.2.60.0030.00617.63
8.2.50.0040.00417.98
8.2.40.0000.00718.28
8.2.30.0000.00818.13
8.2.20.0050.00320.45
8.2.10.0050.00217.94
8.2.00.0040.00419.29
8.1.290.0040.00830.84
8.1.280.0150.00025.92
8.1.270.0000.00723.99
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00623.77
8.1.230.0070.00421.04
8.1.220.0090.00018.69
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0070.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00317.62
8.1.160.0040.00418.82
8.1.150.0040.00418.69
8.1.140.0040.00417.38
8.1.130.0040.00419.00
8.1.120.0050.00317.47
8.1.110.0000.00717.49
8.1.100.0000.00817.35
8.1.90.0090.00017.47
8.1.80.0000.00817.45
8.1.70.0080.00017.46
8.1.60.0070.00017.48
8.1.50.0230.00217.46
8.1.40.0120.00617.40
8.1.30.0070.00717.62
8.1.20.0100.00617.56
8.1.10.0130.00517.51
8.1.00.0090.00317.44
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0070.00016.87
8.0.260.0030.00318.39
8.0.250.0030.00317.00
8.0.240.0070.00016.96
8.0.230.0030.00316.98
8.0.220.0040.00416.90
8.0.210.0000.00716.88
8.0.200.0000.00716.96
8.0.190.0050.00316.91
8.0.180.0100.00116.84
8.0.170.0100.00116.76
8.0.160.0060.00416.82
8.0.150.0050.00416.81
8.0.140.0130.00016.70
8.0.130.0110.00516.78
8.0.120.0150.00716.84
8.0.110.0180.00316.82
8.0.100.0140.00716.82
8.0.90.0110.00916.84
8.0.80.0090.00716.90
8.0.70.0130.00516.80
8.0.60.0190.00116.77
8.0.50.0130.00616.75
8.0.30.0120.00716.79
8.0.20.0120.00716.95
8.0.10.0150.00216.93
7.4.330.0000.00515.55
7.4.320.0030.00316.59
7.4.300.0030.00316.46
7.4.290.0130.00416.58
7.4.280.0160.00216.44
7.4.270.0130.00416.59
7.4.260.0120.00316.46
7.4.250.0110.00616.40
7.4.240.0120.00716.43
7.4.230.0120.00416.59
7.4.220.0120.00416.44
7.4.210.0150.00416.47
7.4.200.0130.00716.48
7.4.190.0150.00616.60
7.4.180.0230.00216.57
7.4.160.0180.00116.54
7.4.150.0140.00616.48
7.4.140.0130.00716.42
7.4.130.0130.00316.50
7.4.120.0130.00216.46
7.4.110.0120.00516.37
7.4.100.0180.00216.55
7.4.90.0150.00516.41
7.4.80.0140.00616.36
7.4.70.0140.00516.43
7.4.60.0210.00016.41
7.4.50.0160.00416.30
7.4.40.0140.00516.19
7.4.30.0170.00216.28
7.4.20.0150.00316.31
7.4.10.0130.00416.27
7.4.00.0150.00316.41

preferences:
33.68 ms | 403 KiB | 5 Q