3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hello() { return array("Nakka", "Chandra"); } echo {hello()}[0];

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.0170.06718.86
5.4.260.0070.06018.88
5.4.250.0200.06018.94
5.4.240.0100.05719.01
5.4.230.0130.07719.14
5.4.220.0100.07318.95
5.4.210.0200.07019.01
5.4.200.0200.05019.00
5.4.190.0130.06018.99
5.4.180.0130.06319.00
5.4.170.0030.08018.97
5.4.160.0200.06318.81
5.4.150.0130.05319.00
5.4.140.0130.05316.54
5.4.130.0070.07316.70
5.4.120.0130.06316.62
5.4.110.0130.06016.69
5.4.100.0130.05016.57
5.4.90.0100.05316.68
5.4.80.0070.06016.68
5.4.70.0200.04316.51
5.4.60.0070.08016.70
5.4.50.0100.05016.55
5.4.40.0170.06016.71
5.4.30.0030.05316.61
5.4.20.0070.07316.68
5.4.10.0100.07316.39
5.4.00.0170.06016.12
5.3.280.0130.05014.78
5.3.270.0100.08014.88
5.3.260.0170.06014.86
5.3.250.0130.05014.89
5.3.240.0100.07014.89
5.3.230.0100.06314.86
5.3.220.0100.07014.88
5.3.210.0070.05714.83
5.3.200.0100.05314.85
5.3.190.0100.05714.87
5.3.180.0070.05314.64
5.3.170.0130.04714.82
5.3.160.0000.05714.68
5.3.150.0130.06714.57
5.3.140.0100.06714.83
5.3.130.0030.06014.77
5.3.120.0070.05314.84
5.3.110.0100.07014.66
5.3.100.0100.06714.35
5.3.90.0100.06014.33
5.3.80.0130.05314.01
5.3.70.0100.07014.22
5.3.60.0170.05714.30
5.3.50.0130.06314.16
5.3.40.0130.06314.00
5.3.30.0030.05713.96
5.3.20.0170.05713.95
5.3.10.0030.06013.85
5.3.00.0070.05313.68
5.2.170.0170.04711.40
5.2.160.0000.06011.14
5.2.150.0070.06010.99
5.2.140.0170.05011.13
5.2.130.0170.05011.40
5.2.120.0100.05311.14
5.2.110.0100.05311.27
5.2.100.0100.04011.09
5.2.90.0030.06711.38
5.2.80.0200.05011.38
5.2.70.0070.05711.32
5.2.60.0070.06011.31
5.2.50.0130.05011.26
5.2.40.0200.04711.21
5.2.30.0030.06011.17
5.2.20.0100.04011.17
5.2.10.0030.04711.14
5.2.00.0170.05010.98
5.1.60.0030.0439.87
5.1.50.0130.02710.04
5.1.40.0070.03310.26
5.1.30.0170.04710.21
5.1.20.0000.04710.52
5.1.10.0030.04710.38
5.1.00.0070.03710.36
5.0.50.0030.0338.73
5.0.40.0130.0308.46
5.0.30.0030.0608.53
5.0.20.0100.0308.18
5.0.10.0070.0338.37
5.0.00.0100.0408.37
4.4.90.0100.0207.44
4.4.80.0030.0237.44
4.4.70.0070.0277.44
4.4.60.0070.0177.44
4.4.50.0070.0277.44
4.4.40.0030.0477.44
4.4.30.0030.0207.44
4.4.20.0030.0207.44
4.4.10.0030.0277.44
4.4.00.0000.0437.44
4.3.110.0070.0237.44
4.3.100.0070.0177.44
4.3.90.0070.0237.44
4.3.80.0100.0377.44
4.3.70.0000.0277.44
4.3.60.0030.0207.44
4.3.50.0000.0237.44
4.3.40.0030.0377.44
4.3.30.0100.0177.44
4.3.20.0000.0237.44
4.3.10.0000.0277.44
4.3.00.0070.0238.24

preferences:
142.27 ms | 1394 KiB | 7 Q