3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234 $timeOut = ''; if ($time > 60 * 60) { $timeOut .= gmdate('H', $time) . 'hours, '; } if ($time > 60) { $timeOut .= gmdate('i', $time) . 'min, '; } $timeOut .= number_format($time % 60, 2); echo $text . ' (' . number_format($time, 2) . ' sec)' . "\n\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)
5.4.270.0300.05019.24
5.4.260.0200.03718.85
5.4.250.0230.07019.30
5.4.240.0200.05318.94
5.4.230.0200.06019.23
5.4.220.0100.08719.06
5.4.210.0230.04019.16
5.4.200.0130.05019.07
5.4.190.0200.07719.13
5.4.180.0200.04318.97
5.4.170.0130.04318.81
5.4.160.0230.04319.20
5.4.150.0230.04019.14
5.4.140.0230.05716.36
5.4.130.0200.07316.33
5.4.120.0230.05716.35
5.4.110.0300.05316.45
5.4.100.0230.06316.59
5.4.90.0100.05316.55
5.4.80.0200.07016.52
5.4.70.0270.05016.19
5.4.60.0330.05016.53
5.4.50.0200.05716.32
5.4.40.0170.05016.18
5.4.30.0130.05716.47
5.4.20.0370.07016.44
5.4.10.0230.06716.51
5.4.00.0370.04715.90
5.3.280.0330.05714.43
5.3.270.0170.04014.45
5.3.260.0230.04014.64
5.3.250.0170.03714.64
5.3.240.0230.06314.70
5.3.230.0170.03714.64
5.3.220.0230.05714.45
5.3.210.0200.06714.44
5.3.200.0200.04314.41
5.3.190.0200.08014.66
5.3.180.0270.06314.59
5.3.170.0170.08014.61
5.3.160.0230.07014.61
5.3.150.0300.05014.42
5.3.140.0230.06014.60
5.3.130.0270.03014.38
5.3.120.0330.06714.64
5.3.110.0200.08014.39
5.3.100.0170.07313.99
5.3.90.0200.05314.05
5.3.80.0200.03713.97
5.3.70.0330.06013.85
5.3.60.0270.07013.91
5.3.50.0270.06313.85
5.3.40.0230.08013.72
5.3.30.0200.05713.86
5.3.20.0170.05313.64
5.3.10.0200.07013.53
5.3.00.0200.06013.62
5.2.170.0200.05712.23
5.2.160.0130.04712.23
5.2.150.0230.06012.23
5.2.140.0230.05312.23
5.2.130.0200.06312.23
5.2.120.0230.04012.23
5.2.110.0170.06012.23
5.2.100.0100.04712.23
5.2.90.0230.05712.23
5.2.80.0200.05712.23
5.2.70.0270.05312.23
5.2.60.0300.05012.23
5.2.50.0170.03012.23
5.2.40.0100.03012.23
5.2.30.0130.05712.23
5.2.20.0130.05312.23
5.2.10.0130.02312.23
5.2.00.0070.03312.23
5.1.60.0070.03012.23
5.1.50.0170.05312.23
5.1.40.0130.02012.23
5.1.30.0100.04312.23
5.1.20.0170.03312.23
5.1.10.0130.05712.23
5.1.00.0130.05712.23
5.0.50.0100.03712.23
5.0.40.0070.02312.23
5.0.30.0030.06312.23
5.0.20.0070.04712.23
5.0.10.0100.03012.23
5.0.00.0000.05312.23
4.4.90.0100.03312.23
4.4.80.0130.02712.23
4.4.70.0100.02712.23
4.4.60.0070.01312.23
4.4.50.0030.01712.23
4.4.40.0030.04012.23
4.4.30.0070.03012.23
4.4.20.0100.02712.23
4.4.10.0030.03712.23
4.4.00.0070.03312.23
4.3.110.0100.03012.23
4.3.100.0100.02012.23
4.3.90.0100.03012.23
4.3.80.0000.04012.23
4.3.70.0070.03712.23
4.3.60.0070.03312.23
4.3.50.0070.02012.23
4.3.40.0070.03712.23
4.3.30.0030.02712.23
4.3.20.0070.02012.23
4.3.10.0100.02312.23
4.3.00.0030.02712.23

preferences:
142.4 ms | 1394 KiB | 7 Q