3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = <<<EOF <?php echo "Hello"; /** * This is an unclosed PHPDoc block EOF; $test = @token_get_all($code); echo count($test) . PHP_EOL;

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.130.0050.00518.60
8.3.120.0070.01118.73
8.3.110.0060.00320.94
8.3.100.0000.00924.06
8.3.90.0000.00826.77
8.3.80.0000.01018.43
8.3.70.0190.00016.58
8.3.60.0120.00618.10
8.3.50.0140.00720.05
8.3.40.0130.00318.88
8.3.30.0120.00319.08
8.3.20.0090.00024.18
8.3.10.0050.00324.66
8.3.00.0100.00326.16
8.2.250.0040.01116.58
8.2.240.0040.00418.80
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0070.00026.77
8.2.200.0030.00616.50
8.2.190.0090.00616.75
8.2.180.0090.00625.92
8.2.170.0080.00819.07
8.2.160.0160.00322.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00026.16
8.2.110.0060.00321.12
8.2.100.0090.00317.84
8.2.90.0000.00819.95
8.2.80.0030.00620.36
8.2.70.0080.00017.75
8.2.60.0000.00917.38
8.2.50.0040.00417.98
8.2.40.0030.00618.14
8.2.30.0000.00718.13
8.2.20.0000.00820.49
8.2.10.0040.00418.18
8.2.00.0040.00419.30
8.1.300.0030.00620.31
8.1.290.0030.00630.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00322.04
8.1.230.0070.00421.04
8.1.220.0040.00417.74
8.1.210.0000.00918.97
8.1.200.0000.00917.23
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00717.62
8.1.160.0050.00318.94
8.1.150.0030.00518.52
8.1.140.0000.00717.49
8.1.130.0030.00318.88
8.1.120.0040.00417.43
8.1.110.0040.00417.44
8.1.100.0000.00817.44
8.1.90.0040.00417.31
8.1.80.0070.00017.46
8.1.70.0000.00717.46
8.1.60.0040.00617.47
8.1.50.0100.00917.40
8.1.40.0160.00017.52
8.1.30.0130.00517.56
8.1.20.0150.00417.64
8.1.10.0110.00517.45
8.1.00.0170.00217.40
8.0.300.0080.00020.12
8.0.290.0050.00316.75
8.0.280.0000.00818.41
8.0.270.0000.00716.84
8.0.260.0040.00418.39
8.0.250.0050.00216.91
8.0.240.0030.00517.07
8.0.230.0000.00817.08
8.0.220.0040.00416.87
8.0.210.0070.00016.96
8.0.200.0030.00317.08
8.0.190.0040.00416.82
8.0.180.0140.00316.90
8.0.170.0070.00816.97
8.0.160.0110.00616.94
8.0.150.0140.00216.96
8.0.140.0070.00916.79
8.0.130.0130.00416.83
8.0.120.0120.00516.91
8.0.110.0110.00516.93
8.0.100.0080.00616.96
8.0.90.0110.00416.82
8.0.80.0080.00416.85
8.0.70.0070.00416.92
8.0.60.0060.00416.95
8.0.50.0120.00116.88
8.0.30.0100.00616.75
8.0.20.0120.00316.88
8.0.10.0130.00316.96
7.4.330.0030.00315.55
7.4.320.0030.00316.64
7.4.300.0040.00416.40
7.4.290.0060.00416.53
7.4.280.0050.00816.50
7.4.270.0070.00916.46
7.4.260.0100.00816.58
7.4.250.0110.00316.54
7.4.240.0080.00516.45
7.4.230.0150.00116.46
7.4.220.0130.00216.53
7.4.210.0100.00516.50
7.4.200.0090.00516.45
7.4.190.0100.00516.49
7.4.180.0110.00416.54
7.4.160.0130.00116.55
7.4.150.0140.00216.48
7.4.140.0070.00816.49
7.4.130.0080.00616.35
7.4.120.0130.00416.37
7.4.110.0120.00416.42
7.4.100.0120.00516.48
7.4.90.0130.00516.42
7.4.80.0090.00816.45
7.4.70.0120.00416.32
7.4.60.0130.00316.42
7.4.50.0160.00016.37
7.4.40.0130.00316.41
7.4.30.0100.00516.43
7.4.20.0110.00516.41
7.4.10.0130.00316.49
7.4.00.0090.00516.42

preferences:
31.01 ms | 403 KiB | 5 Q