3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('/[a]*/', 'http://file.baixing.net/month_1404/20140401e297411e.jpg'));

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.00.0070.01019.42
7.1.100.0070.00318.06
7.1.70.0000.01516.98
7.1.60.0000.01619.82
7.1.50.0100.01317.11
7.1.00.0030.07722.45
7.0.200.0070.00316.84
7.0.140.0000.07322.18
7.0.60.0030.08720.02
7.0.50.0100.08017.82
7.0.40.0170.04720.34
7.0.30.0370.04720.20
7.0.20.0230.07720.10
7.0.10.0400.07320.31
7.0.00.0030.04020.10
5.6.280.0000.07720.98
5.6.210.0030.08320.70
5.6.200.0100.08318.22
5.6.190.0100.08720.64
5.6.180.3470.04320.63
5.6.170.0270.07720.38
5.6.160.0070.05720.48
5.6.150.0030.05718.18
5.6.140.0070.07718.08
5.6.130.0070.05318.22
5.6.120.0100.04321.01
5.6.110.0030.08721.13
5.6.100.0130.07721.00
5.6.90.0030.04020.96
5.6.80.0130.05720.50
5.6.70.0300.07720.37
5.5.350.0030.08720.43
5.5.340.0000.07017.98
5.5.330.0030.09020.14
5.5.320.0330.06320.18
5.5.310.0230.04020.27
5.5.300.0070.04018.02
5.5.290.0000.06317.92
5.5.280.0130.04720.97
5.5.270.0170.06320.73
5.5.260.0070.06720.86
5.5.250.0100.08320.60
5.5.240.0030.06720.15
5.4.450.0630.06019.48
5.4.440.0700.04319.24
5.4.430.0170.07319.33
5.4.420.0200.04719.52
5.4.410.0100.05319.41
5.4.400.0870.00018.77
5.4.390.0800.00018.75
5.4.380.0370.04718.56
5.4.370.0830.06018.59
5.4.360.1030.04318.60
5.4.350.0700.05718.50
5.4.340.0830.05718.46
5.4.320.0060.03812.45
5.4.310.0090.03612.45
5.4.300.0060.03812.45
5.4.290.0050.04612.45
5.4.280.0040.03712.34
5.4.270.0040.04212.35
5.4.260.0000.06318.99
5.4.250.0130.04718.67
5.4.240.0100.04719.02
5.4.230.0100.05018.86
5.4.220.0170.06718.89
5.4.210.0170.04318.68
5.4.200.0230.06018.68
5.4.190.0070.06018.78
5.4.180.0070.07018.97
5.4.170.0030.05718.79
5.4.160.0100.05018.77
5.4.150.0170.04719.02
5.4.140.0000.06316.27
5.4.130.0030.05316.50
5.4.120.0000.05316.23
5.4.110.0070.05016.24
5.4.100.0130.06316.51
5.4.90.0070.05316.27
5.4.80.0130.05716.50
5.4.70.0070.05316.29
5.4.60.0130.07716.36
5.4.50.0130.05316.38
5.4.40.0130.05016.28
5.4.30.0130.06016.30
5.4.20.0170.06016.25
5.4.10.0000.05716.30
5.4.00.0070.05715.72
5.3.290.0100.04112.80
5.3.280.0170.04714.45
5.3.270.0070.07714.48
5.3.260.0130.04714.65
5.3.250.0030.05314.39
5.3.240.0100.06314.52
5.3.230.0030.06014.61
5.3.220.0030.05314.40
5.3.210.0070.05714.48
5.3.200.0070.05314.48
5.3.190.0130.07314.65
5.3.180.0070.07314.61
5.3.170.0130.04714.57
5.3.160.0170.04014.49
5.3.150.0100.06714.60
5.3.140.0070.05714.42
5.3.130.0030.06714.43
5.3.120.0130.06014.54
5.3.110.0000.07314.55
5.3.100.0030.05314.12
5.3.90.0130.04713.88
5.3.80.0030.05313.71
5.3.70.0130.05014.17
5.3.60.0100.05013.93
5.3.50.0100.05013.88
5.3.40.0170.04013.78
5.3.30.0000.05013.91
5.3.20.0030.05013.55
5.3.10.0130.05713.80
5.3.00.0100.05013.40
5.2.170.0030.06011.16
5.2.160.0030.04011.14
5.2.150.0070.04011.14
5.2.140.0030.04311.05
5.2.130.0000.04711.01
5.2.120.0170.04710.93
5.2.110.0130.05011.12
5.2.100.0030.04011.11
5.2.90.0000.04311.11
5.2.80.0030.04311.00
5.2.70.0100.03711.20
5.2.60.0030.04011.06
5.2.50.0000.04310.91
5.2.40.0030.04011.02
5.2.30.0030.04310.97
5.2.20.0030.04010.84
5.2.10.0170.05710.93
5.2.00.0000.06010.69
5.1.60.0070.0409.95
5.1.50.0130.04010.03
5.1.40.0100.03010.03
5.1.30.0130.03710.21
5.1.20.0030.03710.43
5.1.10.0000.03710.29
5.1.00.0070.03010.25
5.0.50.0070.0278.58
5.0.40.0030.0378.43
5.0.30.0030.0408.14
5.0.20.0100.0208.38
5.0.10.0030.0338.14
5.0.00.0100.0338.30
4.4.90.0070.0177.47
4.4.80.0030.0237.47
4.4.70.0030.0207.47
4.4.60.0030.0207.47
4.4.50.0070.0277.47
4.4.40.0030.0337.47
4.4.30.0000.0307.47
4.4.20.0070.0177.47
4.4.10.0000.0237.47
4.4.00.0070.0307.47
4.3.110.0030.0207.47
4.3.100.0000.0237.47
4.3.90.0070.0277.47
4.3.80.0000.0437.47
4.3.70.0070.0237.47
4.3.60.0030.0307.47
4.3.50.0030.0207.47
4.3.40.0030.0337.47
4.3.30.0030.0207.47
4.3.20.0030.0277.47
4.3.10.0000.0237.47
4.3.00.0130.0207.75