3v4l.org

run code in 300+ PHP versions simultaneously
<?php function user((string) $name) { var_dump($name); } user('nikolajLugter'); user(3);

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.0060.03612.40
5.4.260.0170.07019.10
5.4.250.0100.05018.84
5.4.240.0170.07018.96
5.4.230.0130.05318.99
5.4.220.0170.06018.81
5.4.210.0100.07318.77
5.4.200.0170.04718.76
5.4.190.0070.07318.79
5.4.180.0130.06718.94
5.4.170.0130.05018.96
5.4.160.0170.06018.93
5.4.150.0070.06018.82
5.4.140.0130.04716.54
5.4.130.0100.04716.48
5.4.120.0100.07016.61
5.4.110.0000.06716.44
5.4.100.0170.06016.46
5.4.90.0100.07016.47
5.4.80.0130.05016.45
5.4.70.0100.06316.53
5.4.60.0030.05316.52
5.4.50.0130.04016.46
5.4.40.0070.06716.54
5.4.30.0070.04716.39
5.4.20.0070.04716.59
5.4.10.0070.07716.37
5.4.00.0100.06015.84
5.3.280.0130.06714.68
5.3.270.0100.05314.68
5.3.260.0030.05714.59
5.3.250.0100.05014.59
5.3.240.0170.06714.51
5.3.230.0130.04714.57
5.3.220.0030.07314.64
5.3.210.0100.05314.63
5.3.200.0130.06314.66
5.3.190.0070.05014.65
5.3.180.0170.04014.74
5.3.170.0100.06014.64
5.3.160.0100.05014.55
5.3.150.0200.04714.46
5.3.140.0200.03714.71
5.3.130.0030.05314.71
5.3.120.0100.05014.63
5.3.110.0130.04714.63
5.3.100.0030.07014.26
5.3.90.0130.06314.03
5.3.80.0100.04314.18
5.3.70.0100.06314.10
5.3.60.0030.05713.84
5.3.50.0030.06313.91
5.3.40.0300.05013.91
5.3.30.0070.06013.99
5.3.20.0100.04713.52
5.3.10.0070.04713.82
5.3.00.0070.04713.70
5.2.170.0000.04711.21
5.2.160.0030.04311.35
5.2.150.0200.04311.21
5.2.140.0030.04011.21
5.2.130.0030.04311.25
5.2.120.0130.05711.18
5.2.110.0100.03311.05
5.2.100.0030.04011.07
5.2.90.0030.04311.18
5.2.80.0070.04011.00
5.2.70.0030.04011.07
5.2.60.0070.05710.95
5.2.50.0100.05311.08
5.2.40.0070.05010.89
5.2.30.0000.06010.92
5.2.20.0030.04010.93
5.2.10.0030.03710.85
5.2.00.0000.04310.80
5.1.60.0100.03010.09
5.1.50.0100.02710.00
5.1.40.0000.04010.13
5.1.30.0000.03710.16
5.1.20.0030.03310.25
5.1.10.0030.03710.22
5.1.00.0100.03710.07
5.0.50.0100.0238.64
5.0.40.0030.0378.45
5.0.30.0000.0638.27
5.0.20.0030.0308.03
5.0.10.0100.0238.27
5.0.00.0030.0478.11
4.4.90.0000.0237.49
4.4.80.0030.0207.49
4.4.70.0030.0207.49
4.4.60.0030.0237.49
4.4.50.0030.0277.49
4.4.40.0000.0377.49
4.4.30.0070.0277.49
4.4.20.0030.0207.49
4.4.10.0030.0207.49
4.4.00.0030.0337.49
4.3.110.0000.0277.49
4.3.100.0000.0237.49
4.3.90.0030.0307.49
4.3.80.0000.0437.49
4.3.70.0000.0277.49
4.3.60.0070.0177.49
4.3.50.0030.0207.49
4.3.40.0100.0377.49
4.3.30.0030.0207.49
4.3.20.0030.0207.49
4.3.10.0000.0307.49
4.3.00.0000.0276.95

preferences:
139.1 ms | 1394 KiB | 7 Q