3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_match("/[%]+[a-zA-Z0-9]{3,}/", "%I%Ran%") ?>

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.0340.01016.75
7.2.00.0000.01319.44
7.1.200.0090.00615.98
7.1.100.0060.00318.02
7.1.70.0060.00617.36
7.1.60.0030.01017.45
7.1.50.0160.00916.91
7.1.00.0100.07322.59
7.0.200.0040.01116.89
7.0.140.0100.06722.21
7.0.60.0130.08019.89
7.0.50.0070.04017.90
7.0.40.0070.04320.10
7.0.30.0570.06720.18
7.0.20.0370.06020.10
7.0.10.0000.08320.16
7.0.00.0100.08320.31
5.6.280.0000.07721.11
5.6.210.0000.08320.60
5.6.200.0030.04018.11
5.6.190.0030.04720.57
5.6.180.0300.06720.56
5.6.170.0270.06720.44
5.6.160.0170.04720.41
5.6.150.0070.08018.11
5.6.140.0030.06318.07
5.6.130.0070.04718.21
5.6.120.0000.04321.14
5.6.110.0070.09321.04
5.6.100.0070.07021.00
5.6.90.0070.06720.96
5.6.80.0070.07020.38
5.6.70.4700.03020.41
5.5.350.0230.07720.45
5.5.340.0030.04317.90
5.5.330.0100.04720.40
5.5.320.0370.07320.18
5.5.310.0230.04720.20
5.5.300.0100.07717.91
5.5.290.0070.04718.02
5.5.280.0100.08320.89
5.5.270.0130.03320.64
5.5.260.0070.08320.78
5.5.250.0070.05320.61
5.5.240.0270.07720.15
5.4.450.0630.07319.12
5.4.440.0630.05319.56
5.4.430.0570.07019.46
5.4.420.0770.05019.49
5.4.410.0670.04719.46
5.4.400.0330.05718.77
5.4.390.0730.05318.98
5.4.380.0500.07318.74
5.4.370.0400.04718.68
5.4.360.0330.05718.46
5.4.350.0200.05718.60
5.4.340.0270.06018.51
5.4.320.0040.04212.45
5.4.310.0110.04112.45
5.4.300.0070.03812.45
5.4.290.0050.04012.43
5.4.280.0040.03812.33
5.4.270.0050.04312.33
5.4.260.0070.04112.33
5.4.250.0050.04312.33
5.4.240.0110.03512.33
5.4.230.0050.05612.32
5.4.220.0100.05012.32
5.4.210.0150.04612.32
5.4.200.0120.05112.32
5.4.190.0170.05912.32
5.4.180.0060.05012.32
5.4.170.0070.05412.33
5.4.160.0100.05812.32
5.4.150.0130.05812.32
5.4.140.0130.03812.00
5.4.130.0080.04111.99
5.4.120.0040.04511.95
5.4.110.0110.03411.95
5.4.100.0130.04411.95
5.4.90.0110.04911.95
5.4.80.0130.04111.95
5.4.70.0070.04811.94
5.4.60.0030.03811.94
5.4.50.0080.03711.95
5.4.40.0070.03811.93
5.4.30.0060.03511.93
5.4.20.0080.03211.93
5.4.10.0090.03611.93
5.4.00.0070.03511.41
5.3.290.0050.04512.80
5.3.280.0060.03912.71
5.3.270.0100.03512.72
5.3.260.0090.03712.72
5.3.250.0100.03412.71
5.3.240.0060.04612.72
5.3.230.0070.04312.71
5.3.220.0080.03812.68
5.3.210.0070.04212.68
5.3.200.0080.03812.68
5.3.190.0110.04212.68
5.3.180.0090.05612.67
5.3.170.0070.03812.67
5.3.160.0090.04512.67
5.3.150.0120.06212.67
5.3.140.0170.06612.66
5.3.130.0060.05712.66
5.3.120.0060.04812.66
5.3.110.0070.03812.66
5.3.100.0070.03612.12
5.3.90.0090.03712.08
5.3.80.0110.06112.07
5.3.70.0110.05512.07
5.3.60.0160.04812.06
5.3.50.0090.04912.00
5.3.40.0090.03512.00
5.3.30.0100.04411.94
5.3.20.0060.03711.71
5.3.10.0080.03611.68
5.3.00.0050.03811.68
5.2.170.0050.0319.18
5.2.160.0060.0309.17
5.2.150.0060.0329.17
5.2.140.0120.0319.17
5.2.130.0080.0459.13
5.2.120.0070.0419.13
5.2.110.0070.0359.14
5.2.100.0060.0309.14
5.2.90.0060.0309.14
5.2.80.0030.0359.13
5.2.70.0140.0409.13
5.2.60.0070.0429.08
5.2.50.0060.0339.05
5.2.40.0070.0339.04
5.2.30.0030.0329.01
5.2.20.0060.0289.00
5.2.10.0050.0308.93
5.2.00.0040.0308.79
5.1.60.0050.0248.08
5.1.50.0020.0278.07
5.1.40.0040.0258.05
5.1.30.0060.0268.41
5.1.20.0030.0288.42
5.1.10.0040.0388.14
5.1.00.0070.0368.15
5.0.50.0050.0286.63
5.0.40.0050.0306.48
5.0.30.0080.0516.30
5.0.20.0130.0306.27
5.0.10.0040.0346.25
5.0.00.0050.0426.23
4.4.90.0060.0194.78
4.4.80.0040.0254.75
4.4.70.0040.0224.75
4.4.60.0040.0174.75
4.4.50.0050.0244.77
4.4.40.0070.0284.70
4.4.30.0040.0164.75
4.4.20.0030.0174.85
4.4.10.0030.0194.85
4.4.00.0030.0314.76
4.3.110.0060.0174.67
4.3.100.0020.0234.66
4.3.90.0060.0174.63
4.3.80.0030.0344.58
4.3.70.0040.0234.63
4.3.60.0080.0164.63
4.3.50.0070.0244.63
4.3.40.0050.0384.54
4.3.30.0030.0243.29
4.3.20.0020.0233.27
4.3.10.0020.0313.22
4.3.00.0000.01310.31