3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<HTML <FONT FACE="League" SIZE="15" COLOR="#000000"><font COLOR="#ff00ff" SIZE="18"><b><font SIZE="23"><font SIZE="27"><font SIZE="23"><font SIZE="18"><font SIZE="23">Moet Flip make-up dragen? <br />Stem mee in de poll!!</font></font></font></font></font></b></font><br /></FONT> HTML; preg_match_all('/color\s*=\s*([\'"]?)#([0-9a-f]+)\1/i', $str, $matches); $color = array_pop($matches[2]); var_dump($color);

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0120.00418.43
8.3.60.0150.00618.43
8.3.50.0120.00822.10
8.3.40.0140.00719.04
8.3.30.0070.01419.18
8.3.20.0080.00020.13
8.3.10.0080.00023.66
8.3.00.0080.00020.89
8.2.180.0150.00017.00
8.2.170.0110.00322.96
8.2.160.0070.00719.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0180.00026.16
8.2.120.0040.00420.98
8.2.110.0060.00322.20
8.2.100.0040.00720.52
8.2.90.0050.00319.16
8.2.80.0050.00317.97
8.2.70.0040.00417.88
8.2.60.0000.01118.05
8.2.50.0040.00418.07
8.2.40.0000.00820.02
8.2.30.0000.00818.25
8.2.20.0000.00817.91
8.2.10.0070.00018.25
8.2.00.0040.00417.88
8.1.280.0120.00325.92
8.1.270.0110.00422.11
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00524.00
8.1.230.0060.00618.88
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0000.00817.38
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00421.94
8.1.150.0050.00318.79
8.1.140.0080.00017.61
8.1.130.0020.00517.97
8.1.120.0070.00017.61
8.1.110.0040.00417.43
8.1.100.0070.00317.53
8.1.90.0030.00317.46
8.1.80.0080.00017.56
8.1.70.0000.00617.55
8.1.60.0000.00917.55
8.1.50.0030.00517.48
8.1.40.0040.00417.48
8.1.30.0050.00317.72
8.1.20.0040.00417.66
8.1.10.0050.00217.64
8.1.00.0000.00717.67
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.32
8.0.270.0000.00717.21
8.0.260.0030.00317.13
8.0.250.0030.00317.01
8.0.240.0000.00717.03
8.0.230.0070.00017.03
8.0.220.0030.00317.05
8.0.210.0000.00717.08
8.0.200.0080.00017.13
8.0.190.0040.00417.01
8.0.180.0080.00017.07
8.0.170.0000.00817.07
8.0.160.0040.00417.03
8.0.150.0000.00716.86
8.0.140.0000.00717.02
8.0.130.0030.00313.53
8.0.120.0060.00317.09
8.0.110.0040.00417.02
8.0.100.0070.00017.08
8.0.90.0000.00717.04
8.0.80.0050.01317.00
8.0.70.0000.00716.98
8.0.60.0000.00716.98
8.0.50.0000.00717.21
8.0.30.0120.00817.30
8.0.20.0080.01017.41
8.0.10.0050.00317.13
8.0.00.0110.00716.87
7.4.330.0020.00215.00
7.4.320.0000.00616.73
7.4.300.0080.00016.77
7.4.290.0040.00416.86
7.4.280.0080.00016.60
7.4.270.0040.00416.76
7.4.260.0000.00716.82
7.4.250.0040.00416.66
7.4.240.0040.00316.72
7.4.230.0060.00316.75
7.4.220.0030.00516.55
7.4.210.0030.01216.85
7.4.200.0000.00716.51
7.4.160.0130.00316.58
7.4.150.0070.01017.40
7.4.140.0120.00817.86
7.4.130.0010.01516.62
7.4.120.0100.00716.65
7.4.110.0100.00716.71
7.4.100.0130.00416.46
7.4.90.0050.01216.58
7.4.80.0040.01519.39
7.4.70.0100.00716.64
7.4.60.0100.01016.65
7.4.50.0030.00516.80
7.4.40.0130.00316.50
7.4.30.0080.01116.73
7.4.00.0130.00314.82
7.3.330.0030.00313.38
7.3.320.0030.00313.13
7.3.310.0000.00716.38
7.3.300.0000.00716.45
7.3.290.0040.01116.37
7.3.280.0090.01116.46
7.3.270.0070.01117.40
7.3.260.0060.01316.53
7.3.250.0100.00716.46
7.3.240.0100.01016.49
7.3.230.0070.01116.55
7.3.210.0100.00716.53
7.3.200.0060.00919.39
7.3.190.0090.00916.74
7.3.180.0060.01016.74
7.3.170.0100.00716.47
7.3.160.0120.00616.43
7.3.120.0040.01114.67
7.3.10.0090.00616.96
7.3.00.0030.01016.54
7.2.330.0070.01016.56
7.2.320.0030.01416.61
7.2.310.0110.00616.54
7.2.300.0130.00616.54
7.2.290.0090.01216.84
7.2.130.0120.00316.77
7.2.120.0000.01416.80
7.2.110.0100.00616.78
7.2.100.0000.00916.71
7.2.90.0030.01517.02
7.2.80.0040.00717.24
7.2.70.0120.00417.02
7.2.60.0110.00317.01
7.2.50.0040.00716.92
7.2.40.0050.00816.86
7.2.30.0040.00717.10
7.2.20.0030.01016.45
7.2.10.0040.01117.01
7.2.00.0030.00818.16
7.1.250.0130.00315.86
7.1.200.0040.00815.96
7.1.100.0050.00518.19
7.1.70.0070.00317.05
7.1.60.0070.01619.70
7.1.50.0130.01017.00
7.1.00.0070.07022.46
7.0.200.0150.01116.63
7.0.140.0070.09022.23
7.0.60.0030.04020.07
7.0.50.0070.08017.89
7.0.40.0130.07020.11
7.0.30.0500.06320.03
7.0.20.0230.05320.19
7.0.10.0130.04320.21
7.0.00.0100.07320.18
5.6.280.0030.08020.81
5.6.210.0170.07320.47
5.6.200.0130.07318.11
5.6.190.0130.07320.37
5.6.180.4030.05020.30
5.6.170.0400.07020.46
5.6.160.0030.06020.39
5.6.150.0070.07718.08
5.6.140.0100.03318.14
5.6.130.0030.04318.20
5.6.120.0030.04021.13
5.6.110.0170.06321.14
5.6.100.0030.08020.97
5.6.90.0070.09320.96
5.6.80.0070.05720.41
5.6.70.0330.06320.50
5.5.350.0130.05020.43
5.5.340.0030.04317.92
5.5.330.0000.07320.37
5.5.320.0300.06720.26
5.5.310.0330.07720.33
5.5.300.0170.07318.00
5.5.290.0000.07017.98
5.5.280.0030.08720.88
5.5.270.0070.08320.95
5.5.260.0070.04020.67
5.5.250.0030.05720.70
5.5.240.0030.08320.21
5.4.450.0730.06019.15
5.4.440.0800.05719.13
5.4.430.0770.05719.48
5.4.420.0800.00019.31
5.4.410.0070.06018.70
5.4.400.1000.06018.75
5.4.390.1100.05318.61
5.4.380.0130.06718.56
5.4.370.0100.04018.75
5.4.360.0130.04718.59
5.4.350.0100.03911.97
5.4.340.0170.08311.97
5.4.320.0060.04512.45
5.4.310.0080.04212.45
5.4.300.0060.04712.45
5.4.290.0070.04712.45
5.4.280.0090.04712.35
5.4.270.0110.04712.35
5.4.260.0080.05312.35
5.4.250.0070.05312.35
5.4.240.0110.04812.35
5.4.230.0060.04712.34
5.4.220.0070.03712.34
5.4.210.0130.03112.34
5.4.200.0100.04512.34
5.4.190.0090.04812.34
5.4.180.0090.04712.33
5.4.170.0110.04412.35
5.4.160.0060.04812.34
5.4.150.0110.04012.34
5.4.140.0060.04012.02
5.4.130.0050.03712.01
5.4.120.0060.03611.97
5.4.110.0060.03611.96
5.4.100.0070.04011.96
5.4.90.0050.04911.96
5.4.80.0130.03611.96
5.4.70.0050.03911.96
5.4.60.0060.03811.96
5.4.50.0070.03711.96
5.4.40.0090.03511.95
5.4.30.0070.03711.95
5.4.20.0040.03711.95
5.4.10.0030.04011.95
5.4.00.0060.03911.43
5.3.290.0080.04112.80
5.3.280.0070.03812.71
5.3.270.0070.04212.73
5.3.260.0060.04312.72
5.3.250.0050.03812.72
5.3.240.0070.03712.72
5.3.230.0060.05412.70
5.3.220.0060.05412.68
5.3.210.0100.05112.68
5.3.200.0090.05712.68
5.3.190.0120.05112.68
5.3.180.0060.05012.67
5.3.170.0070.05612.67
5.3.160.0130.05112.68
5.3.150.0060.06212.67
5.3.140.0080.05912.66
5.3.130.0120.05312.66
5.3.120.0070.05712.66
5.3.110.0080.05412.66
5.3.100.0070.05112.12
5.3.90.0070.05312.09
5.3.80.0080.04912.07
5.3.70.0070.04412.07
5.3.60.0060.04112.06
5.3.50.0090.03912.00
5.3.40.0070.04112.00
5.3.30.0070.04011.95
5.3.20.0080.04011.73
5.3.10.0110.03511.70
5.3.00.0080.03811.69
5.2.170.0050.0349.19
5.2.160.0060.0469.19
5.2.150.0040.0339.19
5.2.140.0040.0339.18
5.2.130.0080.0299.15
5.2.120.0080.0289.15
5.2.110.0050.0449.15
5.2.100.0150.0409.15
5.2.90.0070.0449.15
5.2.80.0070.0449.15
5.2.70.0050.0399.14
5.2.60.0050.0319.10
5.2.50.0050.0339.07
5.2.40.0060.0379.05
5.2.30.0060.0289.03
5.2.20.0050.0319.04
5.2.10.0040.0308.94
5.2.00.0030.0338.80
5.1.60.0080.0208.08
5.1.50.0040.0258.08
5.1.40.0060.0258.06
5.1.30.0040.0288.41
5.1.20.0070.0248.44
5.1.10.0070.0368.16
5.1.00.0070.0378.16
5.0.50.0100.0506.64
5.0.40.0050.0296.49
5.0.30.0070.0466.31
5.0.20.0040.0306.28
5.0.10.0050.0276.25
5.0.00.0030.0456.25
4.4.90.0110.0254.78
4.4.80.0040.0254.75
4.4.70.0090.0274.76
4.4.60.0030.0274.75
4.4.50.0040.0184.77
4.4.40.0070.0234.71
4.4.30.0040.0154.76
4.4.20.0050.0174.85
4.4.10.0060.0184.85
4.4.00.0040.0244.76
4.3.110.0020.0164.66
4.3.100.0040.0144.66
4.3.90.0030.0224.63
4.3.80.0050.0294.59
4.3.70.0020.0194.63
4.3.60.0050.0164.63
4.3.50.0030.0224.62
4.3.40.0060.0304.54
4.3.30.0020.0193.30
4.3.20.0030.0203.28
4.3.10.0030.0253.22
4.3.00.0100.0236.83

preferences:
38 ms | 401 KiB | 5 Q