3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = token_get_all(<<<EOF <?php echo ""; EOF ); foreach ($tokens as $token) { if (is_array($token)) { echo "Line {$token[2]}: ", token_name($token[0]), " ('{$token[1]}')", 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.4.20.0090.00621.31
8.4.10.0260.00618.49
8.3.150.0090.00918.92
8.3.140.0220.00916.42
8.3.130.0200.00817.24
8.3.120.0250.00717.82
8.3.110.0230.00917.55
8.3.100.0290.00831.23
8.3.90.0320.00927.00
8.3.80.0300.01026.92
8.3.70.0300.00927.00
8.3.60.0300.00726.99
8.3.50.0340.00826.96
8.3.40.0300.00727.46
8.3.30.0290.00827.49
8.3.20.0270.00927.47
8.3.10.0300.01127.42
8.3.00.0210.00828.13
8.2.260.0200.00716.52
8.2.250.0160.00617.71
8.2.240.0200.01116.81
8.2.230.0230.00817.95
8.2.220.0290.00926.98
8.2.210.0280.00626.90
8.2.200.0230.00826.94
8.2.190.0240.00826.92
8.2.180.0250.00626.96
8.2.170.0290.00927.57
8.2.160.0340.00527.54
8.2.150.0330.00627.54
8.2.140.0350.00927.50
8.2.130.0370.00827.50
8.2.120.0310.01227.50
8.2.110.0340.00927.52
8.2.100.0280.01027.50
8.2.90.0310.00627.55
8.2.80.0280.00427.53
8.2.70.0250.00627.53
8.2.60.0290.00527.57
8.2.50.0310.00727.51
8.2.40.0250.00827.58
8.2.30.0290.00827.43
8.2.20.0300.00827.49
8.2.10.0250.00927.49
8.2.00.0250.01227.54
8.1.310.0230.01015.82
8.1.300.0270.00617.48
8.1.290.0290.00726.72
8.1.280.0320.00826.80
8.1.270.0300.00827.35
8.1.260.0330.00927.40
8.1.250.0340.00927.33
8.1.240.0290.00727.39
8.1.230.0310.00927.30
8.1.220.0290.01027.39
8.1.210.0330.01027.28
8.1.200.0310.00727.27
8.1.190.0290.01027.32
8.1.180.0280.01027.25
8.1.170.0310.00727.28
8.1.160.0280.00827.38
8.1.150.0280.00627.30
8.1.140.0260.00427.31
8.1.130.0310.00627.32
8.1.120.0260.01127.34
8.1.110.0330.00427.30
8.1.100.0330.00727.39
8.1.90.0290.00927.30
8.1.80.0300.00927.36
8.1.70.0300.00827.30
8.1.60.0340.00727.41
8.1.50.0280.00927.40
8.1.40.0320.00727.37
8.1.30.0310.00527.39
8.1.20.0270.01127.47
8.1.10.0310.00727.39
8.1.00.0330.00827.33

preferences:
47.74 ms | 403 KiB | 5 Q