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.3.140.0070.00716.55
8.3.130.0170.00917.41
8.3.120.0200.00718.47
8.3.110.0200.00817.94
8.3.100.0270.00832.87
8.3.90.0310.00929.08
8.3.80.0310.00829.05
8.3.70.0280.00829.11
8.3.60.0290.00729.11
8.3.50.0320.00929.08
8.3.40.0290.00829.47
8.3.30.0300.00829.49
8.3.20.0270.00829.46
8.3.10.0280.01229.41
8.3.00.0230.00830.26
8.2.250.0100.00418.30
8.2.240.0170.01116.90
8.2.230.0200.00818.53
8.2.220.0290.00929.10
8.2.210.0270.00528.98
8.2.200.0220.00829.04
8.2.190.0240.00829.04
8.2.180.0270.00629.07
8.2.170.0280.01129.54
8.2.160.0340.00529.51
8.2.150.0330.00629.53
8.2.140.0360.00929.47
8.2.130.0370.00829.55
8.2.120.0330.01129.54
8.2.110.0340.00929.51
8.2.100.0280.01029.54
8.2.90.0340.00629.52
8.2.80.0310.00429.52
8.2.70.0260.00729.52
8.2.60.0310.00629.57
8.2.50.0350.00729.50
8.2.40.0280.00929.58
8.2.30.0290.00929.46
8.2.20.0290.00929.47
8.2.10.0270.00829.52
8.2.00.0260.01329.54
8.1.300.0250.00618.18
8.1.290.0300.00628.93
8.1.280.0320.00928.93
8.1.270.0290.00829.39
8.1.260.0350.00729.43
8.1.250.0360.00829.40
8.1.240.0290.00729.41
8.1.230.0300.01029.32
8.1.220.0290.01029.40
8.1.210.0340.00929.33
8.1.200.0320.00729.32
8.1.190.0290.01029.36
8.1.180.0260.01129.32
8.1.170.0310.00729.29
8.1.160.0280.00729.41
8.1.150.0290.00629.37
8.1.140.0290.00429.37
8.1.130.0320.00629.36
8.1.120.0270.01129.36
8.1.110.0330.00429.37
8.1.100.0340.00729.45
8.1.90.0280.01029.34
8.1.80.0320.00829.41
8.1.70.0290.00929.37
8.1.60.0360.00729.43
8.1.50.0320.00929.39
8.1.40.0320.00729.43
8.1.30.0300.00529.43
8.1.20.0240.01129.51
8.1.10.0300.00729.41
8.1.00.0340.00829.35

preferences:
25.52 ms | 403 KiB | 5 Q