3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { echo "a"; } function a($a) { echo "a [" . $a . "]"; } a(); a("123"); ?>

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.260.0200.03719.13
5.4.250.0070.04319.07
5.4.240.0100.04018.96
5.4.230.0170.03318.98
5.4.220.0200.06019.07
5.4.210.0130.04019.16
5.4.200.0130.03719.08
5.4.190.0200.03318.84
5.4.180.0100.04018.97
5.4.170.0170.04719.07
5.4.160.0170.03719.32
5.4.150.0170.03719.16
5.4.140.0130.03716.39
5.4.130.0300.03016.32
5.4.120.0170.03316.40
5.4.110.0230.02716.40
5.4.100.0100.04016.64
5.4.90.0100.03716.31
5.4.80.0230.03316.45
5.4.70.0130.03316.58
5.4.60.0100.03716.24
5.4.50.0230.03716.43
5.4.40.0300.06016.52
5.4.30.0200.06016.48
5.4.20.0100.04016.51
5.4.10.0200.03016.23
5.4.00.0200.06715.77
5.3.280.0170.04714.71
5.3.270.0200.04014.61
5.3.260.0130.03714.62
5.3.250.0170.04014.51
5.3.240.0170.04014.60
5.3.230.0170.04014.58
5.3.220.0070.04314.59
5.3.210.0100.04014.57
5.3.200.0200.03014.59
5.3.190.0230.02714.54
5.3.180.0130.03714.57
5.3.170.0200.03714.62
5.3.160.0200.03014.54
5.3.150.0170.03714.54
5.3.140.0230.03714.61
5.3.130.0100.06014.45
5.3.120.0170.05314.45
5.3.110.0100.04314.61
5.3.100.0200.07314.26
5.3.90.0270.06714.01
5.3.80.0100.08014.23
5.3.70.0170.04014.05
5.3.60.0200.04014.00
5.3.50.0130.04014.00
5.3.40.0170.04013.86
5.3.30.0200.04013.82
5.3.20.0170.06013.64
5.3.10.0200.07313.88
5.3.00.0230.04013.61
5.2.170.0130.04712.24
5.2.160.0070.07012.24
5.2.150.0200.02312.24
5.2.140.0200.05012.24
5.2.130.0170.04312.24
5.2.120.0270.02012.24
5.2.110.0170.02712.24
5.2.100.0130.03012.24
5.2.90.0200.05312.24
5.2.80.0200.06012.24
5.2.70.0170.06012.24
5.2.60.0270.05312.24
5.2.50.0200.05312.24
5.2.40.0230.05712.24
5.2.30.0200.03012.24
5.2.20.0200.05312.24
5.2.10.0170.06012.24
5.2.00.0270.05012.24
5.1.60.0130.04012.24
5.1.50.0130.03712.24
5.1.40.0170.03712.24
5.1.30.0200.05712.24
5.1.20.0200.04712.24
5.1.10.0130.02712.24
5.1.00.0200.04712.24
5.0.50.0170.02012.24
5.0.40.0070.03312.24
5.0.30.0070.05712.24
5.0.20.0030.02312.24
5.0.10.0070.02312.24
5.0.00.0100.03012.24
4.4.90.0100.03012.24
4.4.80.0100.02712.24
4.4.70.0030.02712.24
4.4.60.0070.02312.24
4.4.50.0100.03312.24
4.4.40.0130.04712.24
4.4.30.0070.03712.24
4.4.20.0070.02012.24
4.4.10.0100.02712.24
4.4.00.0130.04712.24
4.3.110.0070.02012.24
4.3.100.0070.01712.24
4.3.90.0100.01312.24
4.3.80.0130.05012.24
4.3.70.0100.03312.24
4.3.60.0130.02312.24
4.3.50.0070.03712.24
4.3.40.0070.05312.24
4.3.30.0070.03712.24
4.3.20.0030.03312.24
4.3.10.0030.03312.24
4.3.00.0070.03312.24

preferences:
142.9 ms | 1386 KiB | 7 Q