3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $reg = '#[0-9]{2}/[0-9]{2}/[0-9]{4}#'; $str = "Avant le 30/04/2013"; $resultat = preg_match($reg,$str); var_dump($resultat);

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.0030.00716.84
7.2.00.0100.00719.28
7.1.200.0090.00215.76
7.1.100.0070.00718.00
7.1.70.0030.00717.26
7.1.60.0040.01119.70
7.1.50.0130.01017.08
7.1.00.0030.07722.31
7.0.200.0000.00716.94
7.0.140.0030.07321.96
7.0.60.0130.07719.93
7.0.50.0070.08017.68
7.0.40.0000.05020.25
7.0.30.0570.07020.19
7.0.20.0230.05320.04
7.0.10.0070.09020.32
7.0.00.0100.08320.02
5.6.280.0030.07021.10
5.6.210.0030.05720.46
5.6.200.0030.04718.13
5.6.190.0030.06720.27
5.6.180.0330.06720.58
5.6.170.0130.04320.35
5.6.160.0070.08720.37
5.6.150.0070.04018.11
5.6.140.0000.06718.16
5.6.130.0030.07718.20
5.6.120.0030.05721.01
5.6.110.0070.05721.10
5.6.100.0030.08321.12
5.6.90.0130.07020.97
5.6.80.0100.03020.50
5.6.70.3830.03720.36
5.5.350.0330.07320.27
5.5.340.0070.08018.02
5.5.330.0130.07720.19
5.5.320.0370.06720.18
5.5.310.0130.08320.13
5.5.300.0030.04018.02
5.5.290.0030.04317.91
5.5.280.0030.08720.79
5.5.270.0030.07320.96
5.5.260.0200.07020.87
5.5.250.0200.07720.68
5.5.240.0270.07320.12
5.4.450.0070.06019.55
5.4.440.0730.05319.60
5.4.430.0630.06319.62
5.4.420.0170.05019.63
5.4.410.0100.05719.35
5.4.400.0100.05319.18
5.4.390.0070.05319.06
5.4.380.0230.04019.01
5.4.370.0130.05019.00
5.4.360.0130.07319.18
5.4.350.0080.04211.97
5.4.340.0050.04811.97
5.4.320.0090.03612.45
5.4.310.0080.03712.45
5.4.300.0060.05212.45
5.4.290.0080.05212.45
5.4.280.0110.04512.34
5.4.270.0070.04212.35
5.4.260.0090.04712.34
5.4.250.0070.05212.34
5.4.240.0080.05012.35
5.4.230.0150.04512.34
5.4.220.0070.05112.34
5.4.210.0120.04512.34
5.4.200.0050.03912.34
5.4.190.0050.03612.33
5.4.180.0050.03812.33
5.4.170.0070.04312.34
5.4.160.0050.04712.34
5.4.150.0050.03912.34
5.4.140.0060.04212.02
5.4.130.0060.04612.01
5.4.120.0100.03411.96
5.4.110.0070.04911.96
5.4.100.0060.04511.96
5.4.90.0040.05011.96
5.4.80.0100.03811.96
5.4.70.0100.04611.96
5.4.60.0100.03411.96
5.4.50.0070.07111.96
5.4.40.0110.04311.95
5.4.30.0090.04511.95
5.4.20.0070.04911.95
5.4.10.0100.04611.95
5.4.00.0100.04611.43
5.3.290.0110.03412.80
5.3.280.0090.04612.71
5.3.270.0100.03712.72
5.3.260.0040.04212.72
5.3.250.0080.03812.72
5.3.240.0080.03812.72
5.3.230.0080.03712.71
5.3.220.0060.03712.68
5.3.210.0080.03812.68
5.3.200.0040.04012.68
5.3.190.0070.04012.68
5.3.180.0070.03712.68
5.3.170.0070.04712.67
5.3.160.0040.04812.67
5.3.150.0070.04312.68
5.3.140.0070.03512.66
5.3.130.0050.04112.66
5.3.120.0080.05312.66
5.3.110.0090.03712.66
5.3.100.0090.03412.12
5.3.90.0060.04312.08
5.3.80.0060.03812.08
5.3.70.0070.04012.07
5.3.60.0040.04512.07
5.3.50.0070.03612.00
5.3.40.0040.04012.00
5.3.30.0080.04711.95
5.3.20.0150.04711.73
5.3.10.0080.05311.70
5.3.00.0090.03911.68
5.2.170.0030.0339.19
5.2.160.0040.0319.19
5.2.150.0050.0319.19
5.2.140.0050.0319.19
5.2.130.0030.0319.15
5.2.120.0030.0309.15
5.2.110.0050.0289.15
5.2.100.0040.0299.14
5.2.90.0070.0339.15
5.2.80.0070.0289.14
5.2.70.0050.0309.14
5.2.60.0050.0309.10
5.2.50.0070.0399.07
5.2.40.0030.0319.04
5.2.30.0030.0329.02
5.2.20.0020.0329.01
5.2.10.0020.0308.92
5.2.00.0050.0288.77
5.1.60.0050.0278.06
5.1.50.0030.0268.06
5.1.40.0070.0258.04
5.1.30.0030.0278.39
5.1.20.0080.0308.41
5.1.10.0060.0268.14
5.1.00.0050.0258.13
5.0.50.0020.0226.61
5.0.40.0030.0216.47
5.0.30.0020.0336.29
5.0.20.0030.0206.25
5.0.10.0040.0206.23
5.0.00.0030.0336.23
4.4.90.0020.0164.77
4.4.80.0030.0184.76
4.4.70.0020.0194.75
4.4.60.0040.0194.76
4.4.50.0070.0184.77
4.4.40.0060.0234.71
4.4.30.0030.0154.76
4.4.20.0040.0144.85
4.4.10.0020.0164.85
4.4.00.0040.0244.76
4.3.110.0030.0154.67
4.3.100.0020.0184.66
4.3.90.0030.0144.64
4.3.80.0010.0264.59
4.3.70.0030.0144.63
4.3.60.0050.0124.63
4.3.50.0010.0174.63
4.3.40.0050.0224.54
4.3.30.0040.0143.29
4.3.20.0020.0253.26
4.3.10.0010.0193.22
4.3.00.0200.0236.83