3v4l.org

run code in 300+ PHP versions simultaneously
<?php function1() { echo 'bla 0'; } $bla = array ( 'function1', 'function2' ); $bla[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.320.0330.07019.24
5.4.310.0200.06019.13
5.4.300.0270.06018.96
5.4.290.0330.07319.16
5.4.280.0400.06719.22
5.4.270.0230.04319.16
5.4.260.0370.04719.20
5.4.250.0470.04019.22
5.4.240.0230.05019.16
5.4.230.0270.05019.13
5.4.220.0330.05319.21
5.4.210.0370.06019.19
5.4.200.0330.04719.12
5.4.190.0330.07319.23
5.4.180.0330.04019.05
5.4.170.0270.06718.91
5.4.160.0230.04019.08
5.4.150.0230.03718.96
5.4.140.0230.04716.50
5.4.130.0270.04316.35
5.4.120.0230.03716.43
5.4.110.0330.06016.63
5.4.100.0230.07316.22
5.4.90.0270.06316.54
5.4.80.0270.05716.47
5.4.70.0300.05716.50
5.4.60.0330.07316.46
5.4.50.0270.05016.45
5.4.40.0370.03716.24
5.4.30.0270.07716.44
5.4.20.0330.04316.41
5.4.10.0230.07316.48
5.4.00.0370.04315.89
5.3.290.0370.07014.48
5.3.280.0300.07314.52
5.3.270.0230.05014.43
5.3.260.0270.07314.39
5.3.250.0330.03314.58
5.3.240.0270.06314.48
5.3.230.0300.05714.52
5.3.220.0270.07014.49
5.3.210.0330.04014.51
5.3.200.0370.06714.49
5.3.190.0400.05714.46
5.3.180.0330.03714.51
5.3.170.0230.05314.65
5.3.160.0400.03714.35
5.3.150.0370.06714.44
5.3.140.0370.06014.45
5.3.130.0270.06714.47
5.3.120.0270.06314.47
5.3.110.0370.07014.47
5.3.100.0230.05013.98
5.3.90.0330.06713.92
5.3.80.0300.06713.83
5.3.70.0300.04013.95
5.3.60.0330.05313.94
5.3.50.0400.04313.76
5.3.40.0300.06713.96
5.3.30.0300.06313.84
5.3.20.0230.06313.63
5.3.10.0270.04013.68
5.3.00.0300.06013.57
5.2.170.0170.04011.00
5.2.160.0270.05711.08
5.2.150.0200.06011.09
5.2.140.0270.03311.00
5.2.130.0230.02710.98
5.2.120.0330.05011.09
5.2.110.0270.04711.12
5.2.100.0230.04010.93
5.2.90.0200.03011.09
5.2.80.0200.03310.95
5.2.70.0330.04311.11
5.2.60.0170.03710.89
5.2.50.0200.06711.01
5.2.40.0130.03311.07
5.2.30.0270.05310.95
5.2.20.0230.05010.89
5.2.10.0200.05010.89
5.2.00.0300.04710.72
5.1.60.0200.0539.99
5.1.50.0270.04310.00
5.1.40.0200.03310.04
5.1.30.0230.05010.34
5.1.20.0270.04710.35
5.1.10.0270.04310.06
5.1.00.0230.02710.06
5.0.50.0170.0239.63
5.0.40.0030.0279.63
5.0.30.0100.0339.63
5.0.20.0100.0479.63
5.0.10.0070.0439.63
5.0.00.0130.0579.63
4.4.90.0130.0309.63
4.4.80.0130.0179.63
4.4.70.0130.0279.63
4.4.60.0100.0279.63
4.4.50.0100.0339.63
4.4.40.0070.0439.63
4.4.30.0100.0309.63
4.4.20.0100.0339.63
4.4.10.0100.0209.63
4.4.00.0100.0309.63
4.3.110.0100.0179.63
4.3.100.0070.0209.63
4.3.90.0200.0209.63
4.3.80.0130.0509.63
4.3.70.0130.0339.63
4.3.60.0130.0279.63
4.3.50.0070.0209.63
4.3.40.0100.0479.63
4.3.30.0070.0309.63
4.3.20.0100.0339.63
4.3.10.0070.0279.63
4.3.00.0030.0379.63

preferences:
148.59 ms | 1394 KiB | 7 Q