3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; $t = 5; var_dump($t[5']);

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.0130.04019.15
5.4.310.0130.04019.27
5.4.300.0270.04019.05
5.4.290.0200.03319.11
5.4.280.0300.03719.13
5.4.270.0200.03319.24
5.4.260.0270.04319.21
5.4.250.0200.06019.09
5.4.240.0230.04319.13
5.4.230.0170.04719.22
5.4.220.0230.07318.83
5.4.210.0230.04319.30
5.4.200.0200.04018.86
5.4.190.0270.04019.23
5.4.180.0170.03719.30
5.4.170.0300.03719.12
5.4.160.0200.07319.07
5.4.150.0370.04719.20
5.4.140.0230.04016.65
5.4.130.0170.03316.28
5.4.120.0100.04716.29
5.4.110.0330.05716.40
5.4.100.0170.03716.41
5.4.90.0170.04316.46
5.4.80.0130.04316.54
5.4.70.0130.03716.44
5.4.60.0370.04016.54
5.4.50.0200.04016.48
5.4.40.0100.05016.45
5.4.30.0170.03316.53
5.4.20.0230.03716.33
5.4.10.0170.03316.48
5.4.00.0100.04015.88
5.3.290.0300.03314.57
5.3.280.0170.05314.69
5.3.270.0230.03314.48
5.3.260.0130.05314.51
5.3.250.0300.03314.55
5.3.240.0170.07014.46
5.3.230.0130.04014.47
5.3.220.0230.05014.43
5.3.210.0100.04314.59
5.3.200.0170.04714.45
5.3.190.0170.05714.41
5.3.180.0170.04314.46
5.3.170.0070.05314.40
5.3.160.0200.05714.55
5.3.150.0200.04314.66
5.3.140.0170.03714.46
5.3.130.0270.02714.40
5.3.120.0330.05714.56
5.3.110.0200.07014.40
5.3.100.0170.07713.95
5.3.90.0330.06313.97
5.3.80.0400.06713.96
5.3.70.0130.03713.88
5.3.60.0300.05313.88
5.3.50.0300.04013.96
5.3.40.0170.03313.96
5.3.30.0200.06713.77
5.3.20.0230.04013.49
5.3.10.0200.06713.71
5.3.00.0170.05013.47
5.2.170.0230.05310.99
5.2.160.0170.06310.99
5.2.150.0170.06010.99
5.2.140.0200.05311.05
5.2.130.0170.02711.04
5.2.120.0270.03310.99
5.2.110.0170.05710.94
5.2.100.0200.05711.11
5.2.90.0230.04710.94
5.2.80.0170.05710.94
5.2.70.0130.03711.27
5.2.60.0130.03011.06
5.2.50.0400.04710.92
5.2.40.0130.02711.04
5.2.30.0200.04710.86
5.2.20.0130.05010.82
5.2.10.0170.05710.94
5.2.00.0230.05010.82
5.1.60.0170.0479.97
5.1.50.0300.0279.93
5.1.40.0200.0479.87
5.1.30.0300.04010.41
5.1.20.0070.05010.52
5.1.10.0130.05310.18
5.1.00.0200.0479.96
5.0.50.0100.0238.41
5.0.40.0170.0338.34
5.0.30.0100.0638.24
5.0.20.0230.0238.07
5.0.10.0070.0478.14
5.0.00.0130.0578.08
4.4.90.0100.0207.68
4.4.80.0070.0377.68
4.4.70.0170.0307.68
4.4.60.0070.0237.68
4.4.50.0100.0337.68
4.4.40.0070.0407.68
4.4.30.0070.0237.68
4.4.20.0100.0377.68
4.4.10.0130.0307.68
4.4.00.0070.0507.68
4.3.110.0100.0337.68
4.3.100.0070.0337.68
4.3.90.0070.0177.68
4.3.80.0100.0307.68
4.3.70.0070.0137.68
4.3.60.0070.0207.68
4.3.50.0070.0237.68
4.3.40.0030.0537.68
4.3.30.0100.0207.68
4.3.20.0000.0237.68
4.3.10.0030.0177.68
4.3.00.0070.0337.68

preferences:
133.41 ms | 1394 KiB | 7 Q