3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_split('/, /', '12341234, klasdjf'));

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.0100.00316.73
7.2.00.0070.00719.64
7.1.200.0070.00715.82
7.1.100.0040.01118.30
7.1.70.0070.00716.94
7.1.60.0100.01319.46
7.1.50.0150.01217.04
7.1.00.0030.09722.32
7.0.200.0000.00716.57
7.0.140.0030.07322.12
7.0.60.0000.08019.97
7.0.50.0000.09017.79
7.0.40.0030.04720.26
7.0.30.0500.08020.19
7.0.20.0170.05020.19
7.0.10.0130.06720.22
7.0.00.0100.06720.13
5.6.280.0000.08020.86
5.6.210.0070.08320.52
5.6.200.0030.04018.17
5.6.190.0030.04020.56
5.6.180.3830.03020.61
5.6.170.0200.04720.33
5.6.160.0100.07020.52
5.6.150.0030.05018.22
5.6.140.0070.04018.11
5.6.130.0070.07718.13
5.6.120.0130.06020.99
5.6.110.0100.09021.00
5.6.100.0030.04021.00
5.6.90.0030.06720.98
5.6.80.0030.04020.40
5.6.70.2670.03720.35
5.5.350.0300.07720.32
5.5.340.0030.05018.01
5.5.330.0030.04020.23
5.5.320.0300.07320.26
5.5.310.0170.08020.29
5.5.300.0070.03717.99
5.5.290.0100.08017.93
5.5.280.0070.08020.88
5.5.270.0070.08720.96
5.5.260.0070.08720.88
5.5.250.0030.04320.67
5.5.240.0230.08320.15
5.4.450.0730.07719.54
5.4.440.0700.06019.31
5.4.430.0830.06319.46
5.4.420.0870.05319.40
5.4.410.0900.07319.46
5.4.400.0830.03718.91
5.4.390.0770.06019.16
5.4.380.0230.04718.72
5.4.370.0200.05018.52
5.4.360.0130.05018.68
5.4.350.0230.04318.64
5.4.340.0170.05018.52
5.4.320.0080.04212.45
5.4.310.0060.04912.45
5.4.300.0050.03812.45
5.4.290.0120.04812.44
5.4.280.0060.05512.34
5.4.270.0230.08712.34
5.4.260.0100.05112.34
5.4.250.0090.05112.34
5.4.240.0090.05512.34
5.4.230.0080.05212.33
5.4.220.0090.04312.33
5.4.210.0050.03712.33
5.4.200.0070.03912.33
5.4.190.0060.04612.32
5.4.180.0050.03812.32
5.4.170.0060.04612.34
5.4.160.0100.05312.33
5.4.150.0100.04612.33
5.4.140.0080.03612.01
5.4.130.0070.05112.00
5.4.120.0080.05011.96
5.4.110.0030.04211.95
5.4.100.0100.04211.95
5.4.90.0150.04411.95
5.4.80.0160.06611.95
5.4.70.0080.05311.95
5.4.60.0120.04911.95
5.4.50.0160.04111.95
5.4.40.0160.06511.94
5.4.30.0130.04511.94
5.4.20.0090.04611.94
5.4.10.0090.05311.94
5.4.00.0110.05711.43
5.3.290.0050.04912.80
5.3.280.0100.03712.71
5.3.270.0070.04612.73
5.3.260.0070.04512.72
5.3.250.0060.03812.72
5.3.240.0060.03812.72
5.3.230.0080.03712.71
5.3.220.0070.03812.68
5.3.210.0100.04612.68
5.3.200.0070.03812.68
5.3.190.0070.04712.68
5.3.180.0050.05412.67
5.3.170.0070.04912.67
5.3.160.0070.03912.68
5.3.150.0140.05912.68
5.3.140.0100.05012.66
5.3.130.0060.05912.66
5.3.120.0110.04812.66
5.3.110.0080.05412.66
5.3.100.0090.04712.12
5.3.90.0110.05012.08
5.3.80.0180.05712.08
5.3.70.0080.05812.08
5.3.60.0120.05412.07
5.3.50.0120.05312.00
5.3.40.0120.05312.00
5.3.30.0090.05511.95
5.3.20.0090.04911.73
5.3.10.0060.05311.70
5.3.00.0060.03911.68
5.2.170.0030.0359.19
5.2.160.0040.0339.19
5.2.150.0090.0309.19
5.2.140.0070.0319.19
5.2.130.0060.0449.14
5.2.120.0040.0329.14
5.2.110.0040.0329.15
5.2.100.0060.0319.14
5.2.90.0060.0439.15
5.2.80.0040.0349.14
5.2.70.0030.0349.14
5.2.60.0020.0349.10
5.2.50.0030.0349.06
5.2.40.0090.0309.05
5.2.30.0060.0359.02
5.2.20.0110.0319.02
5.2.10.0080.0428.92
5.2.00.0080.0298.77
5.1.60.0060.0358.06
5.1.50.0070.0348.06
5.1.40.0080.0358.04
5.1.30.0050.0568.39
5.1.20.0040.0378.41
5.1.10.0080.0318.13
5.1.00.0070.0348.14
5.0.50.0060.0536.61
5.0.40.0080.0376.47
5.0.30.0060.0476.29
5.0.20.0030.0276.26
5.0.10.0030.0226.23
5.0.00.0030.0356.22
4.4.90.0040.0174.78
4.4.80.0030.0174.75
4.4.70.0060.0164.75
4.4.60.0030.0224.76
4.4.50.0030.0234.77
4.4.40.0060.0294.71
4.4.30.0040.0214.76
4.4.20.0060.0144.85
4.4.10.0000.0214.85
4.4.00.0010.0314.76
4.3.110.0030.0184.67
4.3.100.0020.0164.66
4.3.90.0040.0144.64
4.3.80.0020.0264.59
4.3.70.0020.0164.63
4.3.60.0040.0144.63
4.3.50.0060.0194.63
4.3.40.0020.0624.54
4.3.30.0040.0443.28
4.3.20.0030.0343.25
4.3.10.0030.0223.21
4.3.00.0270.01710.33