3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[uno] = 1; $a[dos] = 2; $a[dos] = 3; $a = split('1;2;3;4',';'); print_r($a); ?>

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.3.0rc40.0180.00398.97
7.3.0rc30.0110.01116.43
7.3.0beta10.0040.00412.77
7.3.0alpha10.0040.00712.70
7.2.60.0040.01116.75
7.2.00.0060.00619.05
7.1.200.0030.00915.93
7.1.100.0030.00818.14
7.1.70.0120.00317.26
7.1.60.0120.00619.40
7.1.50.0090.01316.90
7.1.00.0030.03322.50
7.0.200.0040.00416.33
7.0.140.0000.07722.15
7.0.110.0370.04719.98
7.0.100.0000.04020.08
7.0.90.0430.07720.00
7.0.80.0300.04019.90
7.0.70.0070.09319.90
7.0.60.0170.07019.89
7.0.50.0530.03019.95
7.0.40.0070.08719.81
7.0.30.0030.04719.66
7.0.20.0130.03019.84
7.0.10.0070.05719.70
7.0.00.0030.07719.63
5.6.280.0130.06021.05
5.6.260.0070.08020.73
5.6.250.0100.03020.62
5.6.240.0030.06720.57
5.6.230.0070.04020.68
5.6.220.0100.05720.66
5.6.210.0100.04020.64
5.6.200.0100.04020.65
5.6.190.0070.05320.65
5.6.180.0100.03720.64
5.6.170.0000.04020.69
5.6.160.0030.04720.62
5.6.150.0000.08020.65
5.6.140.0030.05720.58
5.6.130.0100.03320.61
5.6.120.0000.06020.64
5.6.110.0170.03020.54
5.6.100.0070.04020.66
5.6.90.0030.04320.59
5.6.80.0030.04319.94
5.6.70.0030.05020.02
5.6.60.0130.06020.01
5.6.50.0000.05019.93
5.6.40.0030.04020.05
5.6.30.0030.04020.07
5.6.20.0100.03719.94
5.6.10.0030.07320.01
5.6.00.0030.04019.97
5.5.380.0000.06717.72
5.5.370.0070.03717.54
5.5.360.0000.04317.64
5.5.350.0100.04717.23
5.5.340.0070.03718.19
5.5.330.0070.05317.93
5.5.320.0070.07317.93
5.5.310.0130.04017.82
5.5.300.0070.08018.09
5.5.290.0070.07018.05
5.5.280.0000.03718.11
5.5.270.0000.05018.08
5.5.260.0000.06317.91
5.5.250.0070.04317.91
5.5.240.0130.02317.60
5.5.230.0100.07017.47
5.5.220.0030.04317.46
5.5.210.0030.04317.50
5.5.200.0000.04317.18
5.5.190.0030.04717.59
5.5.180.0030.04017.30
5.5.160.0000.06717.60
5.5.150.0030.04017.27
5.5.140.0130.04317.26
5.5.130.0070.03717.17
5.5.120.0030.03317.41
5.5.110.0070.06317.43
5.5.100.0030.03317.33
5.5.90.0030.03717.34
5.5.80.0030.05017.38
5.5.70.0070.05717.34
5.5.60.0070.03717.29
5.5.50.0030.07717.07
5.5.40.0030.04317.29
5.5.30.0070.03717.33
5.5.20.0100.02717.36
5.5.10.0030.03317.28
5.5.00.0030.04717.36
5.4.450.0130.05319.33
5.4.440.0030.07319.32
5.4.430.0100.03319.27
5.4.420.0030.03319.31
5.4.410.0030.04319.20
5.4.400.0100.08318.98
5.4.390.0030.06018.97
5.4.380.0030.05719.34
5.4.370.0100.02719.20
5.4.360.0100.03319.00
5.4.350.0030.04018.95
5.4.340.0030.03719.02
5.4.320.0000.06019.24
5.4.310.0030.07719.09
5.4.300.0070.07019.03
5.4.290.0070.03019.24
5.4.280.0100.06719.00
5.4.270.0030.03718.95
5.4.260.0100.03019.33
5.4.250.0100.03019.00
5.4.240.0030.08718.98
5.4.230.0070.03019.00
5.4.220.0100.03719.01
5.4.210.0070.03019.00
5.4.200.0030.04319.00
5.4.190.0130.02319.32
5.4.180.0070.06019.00
5.4.170.0030.03319.00
5.4.160.0070.07719.29
5.4.150.0070.03318.98
5.4.140.0000.03316.30
5.4.130.0070.03316.46
5.4.120.0070.04316.46
5.4.110.0070.03316.52
5.4.100.0070.05316.31
5.4.90.0070.04016.36
5.4.80.0070.02716.61
5.4.70.0070.07016.60
5.4.60.0130.04316.53
5.4.50.0030.04716.24
5.4.40.0070.04316.34
5.4.30.0000.04016.43
5.4.20.0130.03716.28
5.4.10.0000.04016.43
5.4.00.0030.03715.75
5.3.290.0100.05714.68
5.3.280.0130.05014.60
5.3.270.0070.03714.61
5.3.260.0000.04314.73
5.3.250.0000.04314.73
5.3.240.0030.05314.59
5.3.230.0000.04314.82
5.3.220.0000.04014.55
5.3.210.0000.05314.55
5.3.200.0070.06314.57
5.3.190.0030.05714.57
5.3.180.0070.07314.55
5.3.170.0070.04014.57
5.3.160.0000.03314.68
5.3.150.0030.04014.59
5.3.140.0030.03714.78
5.3.130.0100.03314.54
5.3.120.0030.03714.52
5.3.110.0000.08014.54
5.3.100.0100.03314.04
5.3.90.0000.04013.97
5.3.80.0000.04314.04
5.3.70.0000.06014.07
5.3.60.0030.06714.12
5.3.50.0030.03713.79
5.3.40.0070.03714.07
5.3.30.0100.02314.04
5.3.20.0000.04313.68
5.3.10.0000.04313.50
5.3.00.0000.05713.64
5.2.170.0000.03712.38
5.2.160.0030.04012.38
5.2.150.0000.03012.38
5.2.140.0130.02012.38
5.2.130.0000.03012.38
5.2.120.0030.03012.38
5.2.110.0030.05012.38
5.2.100.0030.05012.38
5.2.90.0030.03012.38
5.2.80.0000.03012.38
5.2.70.0070.05312.38
5.2.60.0030.04012.38
5.2.50.0000.03712.38
5.2.40.0030.03312.38
5.2.30.0030.05012.38
5.2.20.0030.06712.38
5.2.10.0070.06012.38
5.2.00.0000.03012.38
5.1.60.0030.02312.38
5.1.50.0030.02012.38
5.1.40.0030.02012.38
5.1.30.0000.02312.38
5.1.20.0000.02312.38
5.1.10.0030.03012.38
5.1.00.0030.05012.38
5.0.50.0000.03012.38
5.0.40.0000.02312.38
5.0.30.0000.03012.38
5.0.20.0030.01712.38
5.0.10.0030.01712.38
5.0.00.0100.04012.38
4.4.90.0000.01312.38
4.4.80.0030.02012.38
4.4.70.0030.03012.38
4.4.60.0030.01012.38
4.4.50.0030.03312.38
4.4.40.0000.02712.38
4.4.30.0000.02712.38
4.4.20.0000.02012.38
4.4.10.0030.02012.38
4.4.00.0000.04312.38
4.3.110.0070.01312.38
4.3.100.0100.00712.38
4.3.90.0030.01712.38
4.3.80.0000.02712.38
4.3.70.0000.01712.38
4.3.60.0030.01312.38
4.3.50.0000.01712.38
4.3.40.0030.02712.38
4.3.30.0000.01712.38
4.3.20.0000.01712.38
4.3.10.0000.02012.38
4.3.00.0000.01312.38