3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = {"apple"}; var_dump($hash);

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.0400.07019.11
5.4.310.0430.06018.97
5.4.300.0300.06319.20
5.4.290.0300.04019.14
5.4.280.0430.03319.13
5.4.270.0330.07719.09
5.4.260.0500.06019.13
5.4.250.0370.03719.14
5.4.240.0470.07019.12
5.4.230.0400.06719.12
5.4.220.0430.04719.21
5.4.210.0230.04718.94
5.4.200.0300.04019.17
5.4.190.0270.07319.03
5.4.180.0200.04019.12
5.4.170.0400.03719.21
5.4.160.0430.06719.24
5.4.150.0430.06719.04
5.4.140.0330.07716.26
5.4.130.0270.03716.43
5.4.120.0330.05016.39
5.4.110.0370.04716.45
5.4.100.0270.07016.48
5.4.90.0270.05016.56
5.4.80.0300.05016.50
5.4.70.0300.07016.43
5.4.60.0400.06016.42
5.4.50.0300.05716.19
5.4.40.0270.06716.43
5.4.30.0330.07016.41
5.4.20.0300.04716.42
5.4.10.0370.06316.28
5.4.00.0300.07015.84
5.3.290.0370.04714.77
5.3.280.0400.06014.52
5.3.270.0300.07314.54
5.3.260.0300.04014.70
5.3.250.0370.06714.69
5.3.240.0430.06014.53
5.3.230.0370.07014.54
5.3.220.0400.06314.45
5.3.210.0370.07314.45
5.3.200.0300.07314.51
5.3.190.0270.04014.53
5.3.180.0430.07014.49
5.3.170.0300.03714.52
5.3.160.0330.06014.50
5.3.150.0330.06014.45
5.3.140.0430.06014.64
5.3.130.0270.05314.48
5.3.120.0430.06014.48
5.3.110.0230.04714.64
5.3.100.0330.04014.13
5.3.90.0230.03713.97
5.3.80.0270.03713.95
5.3.70.0300.06013.95
5.3.60.0470.04013.89
5.3.50.0370.06013.87
5.3.40.0270.07313.88
5.3.30.0330.04713.87
5.3.20.0400.02713.62
5.3.10.0270.03313.47
5.3.00.0130.04013.72
5.2.170.0270.03711.09
5.2.160.0370.04711.03
5.2.150.0230.03011.00
5.2.140.0270.05311.02
5.2.130.0130.03711.08
5.2.120.0200.03011.03
5.2.110.0170.03010.92
5.2.100.0200.02711.07
5.2.90.0230.02711.04
5.2.80.0170.03011.02
5.2.70.0200.02711.10
5.2.60.0130.03311.04
5.2.50.0200.03010.96
5.2.40.0130.02710.88
5.2.30.0070.03310.82
5.2.20.0100.03010.85
5.2.10.0130.03011.01
5.2.00.0230.03010.87
5.1.60.0170.0239.99
5.1.50.0170.0279.89
5.1.40.0130.02310.02
5.1.30.0130.02710.37
5.1.20.0230.02010.38
5.1.10.0170.0279.91
5.1.00.0170.02710.14
5.0.50.0100.0208.45
5.0.40.0070.0238.45
5.0.30.0100.0278.23
5.0.20.0170.0308.26
5.0.10.0130.0278.23
5.0.00.0100.0308.05
4.4.90.0070.0137.91
4.4.80.0030.0407.91
4.4.70.0130.0377.91
4.4.60.0070.0207.91
4.4.50.0070.0177.91
4.4.40.0100.0307.91
4.4.30.0070.0177.91
4.4.20.0070.0137.91
4.4.10.0130.0137.91
4.4.00.0170.0507.91
4.3.110.0070.0177.91
4.3.100.0070.0277.91
4.3.90.0030.0207.91
4.3.80.0070.0237.91
4.3.70.0030.0177.91
4.3.60.0130.0107.91
4.3.50.0100.0307.91
4.3.40.0070.0237.91
4.3.30.0030.0337.91
4.3.20.0030.0337.91
4.3.10.0030.0277.91
4.3.00.0030.0177.91

preferences:
140.24 ms | 1394 KiB | 7 Q