3v4l.org

run code in 300+ PHP versions simultaneously
<?php function b($t, $m) { echo __FUNCTION__, $m, "\n"; } set_error_handler(function ($t, $m) { echo __FUNCTION__, $m, "\n"; } E_USER_WARNING); set_error_handler('b', 0); trigger_error('foo'); restore_error_handler(); trigger_error('bar');

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)
7.0.20.0330.06320.15
7.0.10.0070.08720.16
7.0.00.0070.08720.14
5.6.170.0170.04320.50
5.6.160.0100.08720.47
5.6.150.0030.08018.21
5.6.140.0000.04718.18
5.6.130.0070.07318.23
5.6.120.0200.07021.15
5.6.110.0070.08021.10
5.6.100.0070.08021.05
5.6.90.0030.05020.98
5.6.80.0070.08320.49
5.5.310.0330.05020.28
5.5.300.0070.06017.94
5.5.290.0000.04717.94
5.5.280.0000.04720.68
5.5.270.0100.04720.87
5.5.260.0130.07720.76
5.5.250.0000.08720.58
5.5.240.0200.07320.26

preferences:
145.04 ms | 1394 KiB | 7 Q