3v4l.org

run code in 300+ PHP versions simultaneously
<?php public 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.0070.03412.39
5.4.260.0200.04018.89
5.4.250.0030.05318.62
5.4.240.0070.05018.89
5.4.230.0200.03718.89
5.4.220.0070.06718.57
5.4.210.0130.04318.85
5.4.200.0100.07018.73
5.4.190.0070.05718.85
5.4.180.0070.06318.83
5.4.170.0070.05318.89
5.4.160.0070.05318.65
5.4.150.0100.08018.91
5.4.140.0100.05016.27
5.4.130.0030.05316.35
5.4.120.0100.07016.37
5.4.110.0170.06316.57
5.4.100.0130.04316.43
5.4.90.0030.05716.37
5.4.80.0100.04716.36
5.4.70.0100.04316.36
5.4.60.0130.04716.58
5.4.50.0070.04716.40
5.4.40.0130.04716.43
5.4.30.0030.05016.34
5.4.20.0030.05316.42
5.4.10.0200.05016.55
5.4.00.0130.07015.83
5.3.280.0130.04314.58
5.3.270.0130.04714.60
5.3.260.0100.05014.36
5.3.250.0070.05014.55
5.3.240.0130.06714.60
5.3.230.0170.06314.54
5.3.220.0030.07714.56
5.3.210.0300.05314.46
5.3.200.0070.05314.55
5.3.190.0130.04314.30
5.3.180.0230.05714.24
5.3.170.0070.07014.63
5.3.160.0100.04714.54
5.3.150.0070.05714.55
5.3.140.0070.07014.50
5.3.130.0070.06714.40
5.3.120.0100.05014.37
5.3.110.0100.05714.53
5.3.100.0070.05014.02
5.3.90.0030.07014.00
5.3.80.0100.06313.69
5.3.70.0130.04714.00
5.3.60.0130.04313.98
5.3.50.0130.05014.00
5.3.40.0230.04713.68
5.3.30.0030.05013.73
5.3.20.0130.04013.52
5.3.10.0100.04713.46
5.3.00.0270.06313.71
5.2.170.0000.05311.18
5.2.160.0070.04310.99
5.2.150.0030.04011.21
5.2.140.0100.04011.01
5.2.130.0070.03711.15
5.2.120.0100.05311.09
5.2.110.0030.04711.13
5.2.100.0030.04011.18
5.2.90.0170.02711.09
5.2.80.0070.04710.98
5.2.70.0100.06010.88
5.2.60.0070.05710.80
5.2.50.0130.05011.07
5.2.40.0030.04010.89
5.2.30.0070.04310.76
5.2.20.0070.04710.84
5.2.10.0100.03310.68
5.2.00.0070.04010.43
5.1.60.0030.0479.98
5.1.50.0100.0309.95
5.1.40.0000.04710.06
5.1.30.0070.04710.31
5.1.20.0270.03010.57
5.1.10.0030.03710.21
5.1.00.0030.03310.30
5.0.50.0000.0338.56
5.0.40.0000.0408.26
5.0.30.0100.0378.13
5.0.20.0030.0308.38
5.0.10.0070.0378.34
5.0.00.0000.0438.20
4.4.90.0000.0237.48
4.4.80.0030.0307.48
4.4.70.0070.0177.48
4.4.60.0030.0237.48
4.4.50.0000.0237.48
4.4.40.0100.0307.48
4.4.30.0000.0307.49
4.4.20.0030.0207.48
4.4.10.0070.0177.50
4.4.00.0030.0337.50
4.3.110.0030.0237.50
4.3.100.0070.0177.50
4.3.90.0030.0277.50
4.3.80.0000.0337.36
4.3.70.0070.0237.36
4.3.60.0070.0177.36
4.3.50.0100.0177.36
4.3.40.0030.0437.36
4.3.30.0000.0277.36
4.3.20.0000.0307.36
4.3.10.0030.0277.36
4.3.00.0000.0236.88

preferences:
132.35 ms | 1398 KiB | 7 Q