3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('#[а-е]#', 'прёт'));

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.10.0090.00616.34
7.3.00.0060.01016.41
7.2.130.0060.00916.71
7.2.120.0060.01516.37
7.2.110.0120.00716.40
7.2.100.0140.00316.65
7.2.90.0090.00916.71
7.2.80.0070.01016.63
7.2.70.0130.00616.39
7.2.60.0150.00616.63
7.2.50.0080.00816.52
7.2.40.0210.00416.64
7.2.30.0080.00516.49
7.2.20.0190.00716.60
7.2.10.0120.00616.28
7.2.00.0050.00617.91
7.1.250.0070.01015.42
7.1.100.0070.01318.35
7.1.70.0000.00817.22
7.1.60.0090.01619.46
7.1.50.0080.00416.89
7.1.00.0100.07022.58
7.0.200.0000.00816.44
7.0.140.0070.07022.08
7.0.60.0070.04019.90
7.0.50.0030.04017.86
7.0.40.0030.04720.23
7.0.30.0330.07320.02
7.0.20.0300.08020.32
7.0.10.0100.06020.06
7.0.00.0030.05320.14
5.6.280.0000.07721.06
5.6.210.0130.07020.59
5.6.200.0030.04318.08
5.6.190.0100.05320.61
5.6.180.0200.05720.64
5.6.170.0130.05320.48
5.6.160.0030.04320.61
5.6.150.0030.04718.17
5.6.140.0100.04318.16
5.6.130.0030.07718.11
5.6.120.0130.08021.11
5.6.110.0030.04321.13
5.6.100.0100.08321.00
5.6.90.0030.07321.01
5.6.80.0200.07020.41
5.5.350.0000.08320.37
5.5.340.0100.08017.91
5.5.330.0070.04020.25
5.5.320.0300.08020.41
5.5.310.0270.04320.20
5.5.300.0100.03717.98
5.5.290.0070.06317.89
5.5.280.0070.06320.68
5.5.270.0130.07720.96
5.5.260.0100.07720.96
5.5.250.0070.04320.58
5.5.240.0130.03320.26
5.4.450.1000.06719.07
5.4.440.0970.05319.10
5.4.430.0070.06019.63
5.4.420.0730.07719.27
5.4.410.0830.04019.15
5.4.400.0030.06019.20
5.4.390.0470.06319.15
5.4.380.0470.04718.49
5.4.370.0300.06318.68
5.4.360.0370.04318.61
5.4.350.0300.05018.78
5.4.340.0270.05018.72
5.4.320.0040.04412.45
5.4.310.0050.03712.45
5.4.300.0060.03712.45
5.4.290.0080.05412.43
5.4.280.0090.05112.33
5.4.270.0080.05112.33
5.4.260.0090.05212.33
5.4.250.0110.04012.33
5.4.240.0060.03812.33
5.4.230.0020.04312.32
5.4.220.0080.03512.32
5.4.210.0100.03212.32
5.4.200.0040.04012.32
5.4.190.0090.04312.32
5.4.180.0020.04012.32
5.4.170.0070.03612.33
5.4.160.0070.03612.33
5.4.150.0070.03812.32
5.4.140.0060.03812.00
5.4.130.0050.03711.99
5.4.120.0080.03611.95
5.4.110.0080.03511.95
5.4.100.0110.03211.95
5.4.90.0060.03711.95
5.4.80.0050.03711.95
5.4.70.0050.04311.95
5.4.60.0060.05211.95
5.4.50.0070.04211.95
5.4.40.0090.03211.93
5.4.30.0070.03511.93
5.4.20.0060.03511.93
5.4.10.0080.03211.93
5.4.00.0100.03211.42
5.3.290.0080.04012.80
5.3.280.0060.04012.71
5.3.270.0060.03912.72
5.3.260.0090.03512.72
5.3.250.0100.03512.72
5.3.240.0090.03812.72
5.3.230.0090.03412.71
5.3.220.0050.04012.68
5.3.210.0100.05812.68
5.3.200.0090.05212.68
5.3.190.0070.05312.67
5.3.180.0090.03712.67
5.3.170.0050.04012.67
5.3.160.0080.03512.68
5.3.150.0090.03912.68
5.3.140.0060.03712.66
5.3.130.0080.04312.66
5.3.120.0090.03712.66
5.3.110.0080.04812.66
5.3.100.0090.04212.12
5.3.90.0090.03412.08
5.3.80.0090.04612.07
5.3.70.0090.04112.07
5.3.60.0120.04512.07
5.3.50.0040.04612.00
5.3.40.0050.04012.00
5.3.30.0060.03611.94
5.3.20.0060.03611.71
5.3.10.0060.03611.69
5.3.00.0080.03611.68
5.2.170.0080.0299.18
5.2.160.0060.0309.17
5.2.150.0030.0349.18
5.2.140.0080.0299.17
5.2.130.0120.0319.13
5.2.120.0060.0369.13
5.2.110.0040.0339.14
5.2.100.0050.0339.14
5.2.90.0060.0359.14
5.2.80.0040.0429.13
5.2.70.0050.0449.13
5.2.60.0050.0449.08
5.2.50.0070.0439.05
5.2.40.0060.0359.04
5.2.30.0110.0399.00
5.2.20.0060.0459.00
5.2.10.0080.0428.91
5.2.00.0050.0378.77
5.1.60.0030.0278.06
5.1.50.0030.0288.06
5.1.40.0060.0248.04
5.1.30.0030.0288.39
5.1.20.0060.0278.41
5.1.10.0080.0588.13
5.1.00.0070.0348.14
5.0.50.0050.0196.61
5.0.40.0070.0186.47
5.0.30.0050.0396.29
5.0.20.0080.0176.25
5.0.10.0000.0276.23
5.0.00.0030.0346.22
4.4.90.0030.0174.78
4.4.80.0020.0184.75
4.4.70.0030.0174.76
4.4.60.0020.0184.75
4.4.50.0060.0154.77
4.4.40.0030.0264.70
4.4.30.0020.0214.76
4.4.20.0040.0214.84
4.4.10.0050.0214.85
4.4.00.0040.0294.76
4.3.110.0050.0204.67
4.3.100.0060.0204.66
4.3.90.0030.0224.63
4.3.80.0030.0344.58
4.3.70.0060.0244.63
4.3.60.0050.0194.63
4.3.50.0030.0174.63
4.3.40.0030.0254.54
4.3.30.0030.0173.28
4.3.20.0020.0183.25
4.3.10.0020.0173.21
4.3.00.0230.01710.55