3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = ucfirst('from'); $meta = [ 'date' => '23.06.2013', ]; $s = 'station' + $t; $meta[$s] = 'test'; var_dump($meta);

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0070.01016.91
7.2.00.0160.00619.53
7.1.200.0080.00815.80
7.1.100.0080.00318.14
7.1.70.0040.00417.23
7.1.60.0110.01419.40
7.1.50.0120.00916.68
7.1.00.0070.06722.35
7.0.200.0050.00316.70
7.0.140.0030.07322.01
7.0.120.0030.07722.12
7.0.60.0000.08320.02
7.0.50.0130.07317.78
7.0.40.0070.08320.04
7.0.30.0470.05320.17
7.0.20.0270.04320.33
7.0.10.0070.09020.04
7.0.00.0200.04020.19
5.6.280.0070.06720.89
5.6.210.0030.05020.61
5.6.200.0000.05718.16
5.6.190.0070.09020.35
5.6.180.0170.07320.57
5.6.170.0230.05020.52
5.6.160.0100.07720.48
5.6.150.0130.06718.14
5.6.140.0070.08318.18
5.6.130.0100.08318.10
5.6.120.0070.09320.89
5.6.110.0100.07721.12
5.6.100.0030.07321.00
5.6.90.0070.04320.94
5.6.80.0070.06320.50
5.5.350.0230.06320.41
5.5.340.0130.08017.95
5.5.330.0170.07320.15
5.5.320.0130.04320.30
5.5.310.0270.07720.27
5.5.300.0030.03717.93
5.5.290.0030.08317.98
5.5.280.0030.05720.77
5.5.270.0070.03720.87
5.5.260.0100.07320.86
5.5.250.0030.06320.61
5.5.240.0100.06720.15
5.4.450.0100.07719.47
5.4.440.0200.07019.48
5.4.430.0070.04319.13
5.4.420.0070.07719.45
5.4.410.0100.06318.98
5.4.400.0100.07319.09
5.4.390.0030.05319.15
5.4.380.0070.05018.79
5.4.370.0100.06319.18
5.4.360.0130.04319.18
5.4.350.0100.04719.09
5.4.340.0070.06318.79
5.4.320.0030.04018.78
5.4.310.0130.07319.16
5.4.300.0070.08019.00
5.4.290.0100.04319.14
5.4.280.0200.03318.80
5.4.270.0030.04718.91
5.4.260.0030.08019.17
5.4.250.0030.04018.90
5.4.240.0070.03719.14
5.4.230.0070.07318.78
5.4.220.0030.04319.14
5.4.210.0100.07019.17
5.4.200.0030.07318.80
5.4.190.0070.07318.91
5.4.180.0030.04018.91
5.4.170.0070.07719.13
5.4.160.0100.04319.12
5.4.150.0030.08319.13
5.4.140.0000.05716.27
5.4.130.0000.04716.28
5.4.120.0030.04716.38
5.4.110.0070.07716.33
5.4.100.0170.03716.40
5.4.90.0200.06016.39
5.4.80.0130.06016.39
5.4.70.0000.04316.25
5.4.60.0130.03716.38
5.4.50.0070.08016.34
5.4.40.0100.04716.58
5.4.30.0100.03716.38
5.4.20.0070.04016.24
5.4.10.0100.04316.25
5.4.00.0000.07715.75
5.3.290.0100.07714.60
5.3.280.0030.06014.52
5.3.270.0070.07714.55
5.3.260.0070.03714.52
5.3.250.0030.03714.55
5.3.240.0070.06314.50
5.3.230.0130.07314.55
5.3.220.0100.04014.66
5.3.210.0070.03714.36
5.3.200.0100.05314.46
5.3.190.0100.07314.51
5.3.180.0070.05714.49
5.3.170.0030.07314.49
5.3.160.0030.07714.51
5.3.150.0130.07014.49
5.3.140.0070.05714.46
5.3.130.0100.03714.52
5.3.120.0030.08014.34
5.3.110.0030.06014.51
5.3.100.0130.07013.97
5.3.90.0100.07013.92
5.3.80.0030.07313.80
5.3.70.0130.04013.94
5.3.60.0000.04313.94
5.3.50.0100.07013.73
5.3.40.0030.07713.95
5.3.30.0030.06713.85
5.3.20.0000.04713.63
5.3.10.0000.04013.60
5.3.00.0070.05713.65
5.2.170.0070.03711.09
5.2.160.0070.06711.07
5.2.150.0000.07011.15
5.2.140.0030.05711.13
5.2.130.0030.06311.04
5.2.120.0100.05011.00
5.2.110.0070.06011.04
5.2.100.0070.06010.96
5.2.90.0030.06711.03
5.2.80.0130.05311.25
5.2.70.0030.05011.03
5.2.60.0030.05711.01
5.2.50.0070.04710.84
5.2.40.0030.05310.89
5.2.30.0070.05310.90
5.2.20.0030.05310.96
5.2.10.0030.03310.86
5.2.00.0030.05310.70
5.1.60.0000.0309.84
5.1.50.0100.0479.97
5.1.40.0100.0409.82
5.1.30.0030.04310.23
5.1.20.0030.03710.35
5.1.10.0000.06010.04
5.1.00.0030.0579.91
5.0.50.0030.0478.52
5.0.40.0070.0438.40
5.0.30.0100.0408.21
5.0.20.0100.0378.15
5.0.10.0070.0378.07
5.0.00.0030.0608.06
4.4.90.0000.0307.76
4.4.80.0000.0337.76
4.4.70.0030.0307.76
4.4.60.0000.0307.76
4.4.50.0070.0177.76
4.4.40.0030.0237.76
4.4.30.0000.0377.76
4.4.20.0000.0377.76
4.4.10.0030.0377.76
4.4.00.0030.0537.76
4.3.110.0070.0337.76
4.3.100.0130.0207.76
4.3.90.0000.0207.76
4.3.80.0030.0307.76
4.3.70.0030.0177.76
4.3.60.0030.0177.76
4.3.50.0030.0337.76
4.3.40.0000.0577.76
4.3.30.0000.0237.76
4.3.20.0000.0237.76
4.3.10.0030.0237.76
4.3.00.0000.0377.76