3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = function($i) { return function($i) { var_dump($i); } }; $f(1)(2);

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.0000.08719.01
5.4.260.0130.07319.12
5.4.250.0200.07019.21
5.4.240.0170.05318.99
5.4.230.0100.07719.05
5.4.220.0130.05719.05
5.4.210.0170.05019.12
5.4.200.0070.05719.13
5.4.190.0070.05718.82
5.4.180.0070.06018.89
5.4.170.0100.05718.95
5.4.160.0130.05318.98
5.4.150.0030.06319.04
5.4.140.0100.06016.68
5.4.130.0170.05316.77
5.4.120.0130.05716.73
5.4.110.0070.06316.63
5.4.100.0170.05716.67
5.4.90.0030.05316.72
5.4.80.0000.06316.46
5.4.70.0130.04716.67
5.4.60.0200.05716.61
5.4.50.0030.07316.55
5.4.40.0170.06316.60
5.4.30.0130.04716.40
5.4.20.0070.05016.45
5.4.10.0170.05316.61
5.4.00.0130.06316.06
5.3.280.0200.05714.59
5.3.270.0170.05314.66
5.3.260.0130.05714.88
5.3.250.0070.06314.66
5.3.240.0070.06714.89
5.3.230.0170.04714.79
5.3.220.0070.06014.85
5.3.210.0100.06014.74
5.3.200.0100.05314.87
5.3.190.0100.04714.79
5.3.180.0100.07314.43
5.3.170.0130.05314.84
5.3.160.0100.07014.79
5.3.150.0230.06314.87
5.3.140.0070.05714.56
5.3.130.0100.06714.55
5.3.120.0100.05714.43
5.3.110.0230.05714.81
5.3.100.0070.06714.04
5.3.90.0070.05014.02
5.3.80.0070.05714.08
5.3.70.0070.06014.25
5.3.60.0100.05014.21
5.3.50.0070.05714.25
5.3.40.0070.06014.12
5.3.30.0170.07313.96
5.3.20.0000.06713.98
5.3.10.0170.06013.65
5.3.00.0170.06013.91
5.2.170.0130.03711.28
5.2.160.0100.05711.35
5.2.150.0070.04711.34
5.2.140.0130.05011.36
5.2.130.0100.05011.33
5.2.120.0100.03711.31
5.2.110.0200.04011.33
5.2.100.0100.05311.27
5.2.90.0000.05311.31
5.2.80.0130.04011.07
5.2.70.0000.07310.90
5.2.60.0130.05010.86
5.2.50.0070.05710.80
5.2.40.0070.04711.14
5.2.30.0100.05710.89
5.2.20.0100.03711.06
5.2.10.0000.05010.85
5.2.00.0070.06310.91
5.1.60.0070.0339.86
5.1.50.0070.04310.13
5.1.40.0100.04010.27
5.1.30.0070.05010.55
5.1.20.0030.05010.41
5.1.10.0030.03710.04
5.1.00.0130.04310.11
5.0.50.0100.0238.77
5.0.40.0170.0308.70
5.0.30.0070.0408.25
5.0.20.0070.0338.39
5.0.10.0030.0278.15
5.0.00.0100.0578.30
4.4.90.0100.0237.16
4.4.80.0070.0207.16
4.4.70.0000.0277.16
4.4.60.0030.0307.16
4.4.50.0070.0277.16
4.4.40.0030.0437.16
4.4.30.0000.0377.16
4.4.20.0130.0137.16
4.4.10.0130.0277.16
4.4.00.0030.0377.16
4.3.110.0030.0207.16
4.3.100.0070.0207.16
4.3.90.0070.0207.16
4.3.80.0000.0377.15
4.3.70.0070.0237.15
4.3.60.0100.0137.15
4.3.50.0030.0277.15
4.3.40.0000.0337.15
4.3.30.0030.0307.15
4.3.20.0030.0307.15
4.3.10.0030.0207.15
4.3.00.0070.0236.44

preferences:
138.54 ms | 1394 KiB | 7 Q