3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hello() { return array("Nakka", "Chandra"); } var_dump (((object)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.0070.06019.05
5.4.260.0170.07319.07
5.4.250.0100.05318.85
5.4.240.0030.06019.14
5.4.230.0130.05019.07
5.4.220.0170.06718.95
5.4.210.0130.06719.08
5.4.200.0170.04718.82
5.4.190.0100.07719.06
5.4.180.0130.06318.99
5.4.170.0070.05718.95
5.4.160.0130.07318.97
5.4.150.0100.07718.99
5.4.140.0100.06316.66
5.4.130.0030.05716.44
5.4.120.0200.05016.73
5.4.110.0100.06016.57
5.4.100.0130.04316.64
5.4.90.0130.04716.64
5.4.80.0170.05016.51
5.4.70.0170.06716.66
5.4.60.0200.05016.50
5.4.50.0100.05016.50
5.4.40.0170.06316.45
5.4.30.0070.06016.61
5.4.20.0170.04716.55
5.4.10.0130.05016.64
5.4.00.0200.05015.84
5.3.280.0100.05014.77
5.3.270.0170.06314.66
5.3.260.0300.06014.69
5.3.250.0100.05714.89
5.3.240.0070.06014.72
5.3.230.0100.05314.87
5.3.220.0100.05714.75
5.3.210.0100.05014.84
5.3.200.0230.03714.62
5.3.190.0170.06714.45
5.3.180.0070.05714.83
5.3.170.0070.07714.63
5.3.160.0130.05714.83
5.3.150.0070.06014.83
5.3.140.0270.06314.61
5.3.130.0130.06014.84
5.3.120.0130.05014.60
5.3.110.0130.05314.81
5.3.100.0070.07014.09
5.3.90.0100.06714.29
5.3.80.0070.06014.23
5.3.70.0130.06014.23
5.3.60.0130.04313.99
5.3.50.0030.07014.12
5.3.40.0230.05014.15
5.3.30.0170.04313.76
5.3.20.0100.06313.86
5.3.10.0200.05313.70
5.3.00.0130.06713.52
5.2.170.0130.05011.15
5.2.160.0130.03311.35
5.2.150.0130.05311.19
5.2.140.0070.05711.34
5.2.130.0170.03711.09
5.2.120.0030.06011.38
5.2.110.0030.05711.28
5.2.100.0170.04711.36
5.2.90.0070.04311.30
5.2.80.0130.04311.11
5.2.70.0100.06011.35
5.2.60.0030.05011.11
5.2.50.0100.04011.24
5.2.40.0000.07011.17
5.2.30.0070.05310.97
5.2.20.0070.04011.22
5.2.10.0070.04011.12
5.2.00.0100.03710.98
5.1.60.0100.03310.18
5.1.50.0070.03310.23
5.1.40.0130.03310.24
5.1.30.0130.04010.63
5.1.20.0030.03710.57
5.1.10.0070.03710.36
5.1.00.0000.04710.14
5.0.50.0100.0238.64
5.0.40.0030.0278.59
5.0.30.0130.0508.48
5.0.20.0100.0338.49
5.0.10.0130.0378.36
5.0.00.0100.0378.36
4.4.90.0030.0337.44
4.4.80.0070.0277.44
4.4.70.0030.0307.44
4.4.60.0200.0237.44
4.4.50.0000.0237.44
4.4.40.0070.0337.44
4.4.30.0000.0377.44
4.4.20.0070.0277.44
4.4.10.0100.0207.44
4.4.00.0070.0337.44
4.3.110.0070.0307.44
4.3.100.0100.0207.44
4.3.90.0070.0177.44
4.3.80.0070.0307.44
4.3.70.0070.0207.44
4.3.60.0100.0237.44
4.3.50.0070.0237.44
4.3.40.0030.0337.44
4.3.30.0030.0277.44
4.3.20.0170.0237.44
4.3.10.0000.0237.44
4.3.00.0200.0178.24

preferences:
140.69 ms | 1394 KiB | 7 Q