3v4l.org

run code in 300+ PHP versions simultaneously
<?php function info() { $data = func_get_args(); $format = array_shift($data); $message = vsprintf($format, $data); $this->setMessage($message, self::INFO); } info('x');

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.5.60.0170.04019.56
5.5.50.0270.09019.46
5.5.40.0270.05719.38
5.5.30.0300.06719.23
5.5.20.0400.05719.32
5.5.10.0200.08019.22
5.5.00.0370.07019.27
5.4.220.0170.03719.24
5.4.210.0170.04018.84
5.4.200.0270.07319.20
5.4.190.0300.07019.15
5.4.180.0100.05018.91
5.4.170.0270.07718.84
5.4.160.0200.04318.96
5.4.150.0200.07318.84
5.4.140.0130.06016.39
5.4.130.0200.07316.50
5.4.120.0200.07016.34
5.4.110.0270.05316.39
5.4.100.0200.07016.39
5.4.90.0230.04016.29
5.4.80.0200.03316.41
5.4.70.0230.05316.28
5.4.60.0230.06716.29
5.4.50.0200.07016.43
5.4.40.0330.06016.41
5.4.30.0330.03016.34
5.4.20.0270.06316.40
5.4.10.0300.06316.32
5.4.00.0200.07315.75
5.3.270.0270.07014.75
5.3.260.0130.06314.61
5.3.250.0200.04314.60
5.3.240.0130.04314.49
5.3.230.0230.07314.61
5.3.220.0170.08014.62
5.3.210.0270.06714.59
5.3.200.0230.07014.57
5.3.190.0200.04714.65
5.3.180.0230.05014.55
5.3.170.0200.04714.59
5.3.160.0200.04314.71
5.3.150.0230.07014.71
5.3.140.0200.07314.60
5.3.130.0200.06714.57
5.3.120.0370.03014.62
5.3.110.0230.07314.43
5.3.100.0230.07313.95
5.3.90.0230.07013.94
5.3.80.0270.07014.05
5.3.70.0230.03313.96
5.3.60.0230.04713.97
5.3.50.0200.03713.94
5.3.40.0200.08014.11
5.3.30.0270.06713.96
5.3.20.0200.05013.72
5.3.10.0230.05313.82
5.3.00.0200.07013.64
5.2.170.0170.03012.82
5.2.160.0200.03312.82
5.2.150.0200.05712.82
5.2.140.0330.03312.82
5.2.130.0200.05312.82
5.2.120.0270.04712.82
5.2.110.0170.06012.82
5.2.100.0270.02712.82
5.2.90.0200.03012.82
5.2.80.0170.02712.82
5.2.70.0270.02712.82
5.2.60.0170.06312.82
5.2.50.0170.06312.82
5.2.40.0130.04012.82
5.2.30.0130.04012.82
5.2.20.0100.03312.82
5.2.10.0200.05712.82
5.2.00.0100.05012.82
5.1.60.0170.05012.82
5.1.50.0130.05312.82
5.1.40.0170.05012.82
5.1.30.0230.03312.82
5.1.20.0200.05012.82
5.1.10.0070.05012.82
5.1.00.0170.04712.82
5.0.50.0100.02712.82
5.0.40.0100.04312.82
5.0.30.0070.04712.82
5.0.20.0130.04312.82
5.0.10.0170.03012.82
5.0.00.0100.06312.82
4.4.90.0100.04312.82
4.4.80.0070.03712.82
4.4.70.0100.01712.82
4.4.60.0130.03012.82
4.4.50.0070.02312.82
4.4.40.0070.05012.82
4.4.30.0070.03712.82
4.4.20.0070.03712.82
4.4.10.0070.02712.82
4.4.00.0070.05312.82
4.3.110.0170.02312.82
4.3.100.0100.01712.82
4.3.90.0070.03312.82
4.3.80.0100.03312.82
4.3.70.0100.02012.82
4.3.60.0070.02012.82
4.3.50.0070.03012.82
4.3.40.0070.05312.82
4.3.30.0030.01712.82
4.3.20.0030.04012.82
4.3.10.0070.03012.82
4.3.00.0000.02712.82

preferences:
144.51 ms | 1394 KiB | 7 Q