3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML <p>She was like: " <i data-note="Oh, dear this may go haywire">I can't believe it! <img src='crookedface.gif'><br> Watch this video <iframe src="somwhere"></iframe><br> Are you getting all of this?</i> </p> HTML; $el = 'i'; var_export(preg_match_all('/(<'.$el.'(.*?)>)((\n*?.*?\n*?)<\/'.$el.'>|)/', $html, $out, PREG_SET_ORDER) ? $out : []);

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.60.0110.00718.30
8.3.50.0060.01218.45
8.3.40.0090.00618.85
8.3.30.0120.00319.02
8.3.20.0030.00620.57
8.3.10.0030.00520.25
8.3.00.0080.00023.61
8.2.180.0090.00618.66
8.2.170.0130.00622.96
8.2.160.0110.00322.30
8.2.150.0060.00324.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0100.00020.90
8.2.100.0040.00717.91
8.2.90.0000.00817.97
8.2.80.0060.00318.98
8.2.70.0060.00317.68
8.2.60.0040.00418.03
8.2.50.0060.00318.10
8.2.40.0040.00419.38
8.2.30.0040.00419.35
8.2.20.0040.00417.95
8.2.10.0030.00519.25
8.2.00.0070.00019.19
8.1.280.0100.01025.92
8.1.270.0060.00320.73
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00322.07
8.1.230.0030.01020.95
8.1.220.0050.00317.74
8.1.210.0050.00318.82
8.1.200.0030.00617.48
8.1.190.0000.00917.35
8.1.180.0030.00618.10
8.1.170.0000.00918.73
8.1.160.0040.00418.90
8.1.150.0060.00318.87
8.1.140.0020.00520.93
8.1.130.0030.00320.20
8.1.120.0070.00317.56
8.1.110.0040.00417.63
8.1.100.0000.00817.65
8.1.90.0040.00417.61
8.1.80.0090.00017.64
8.1.70.0000.00817.54
8.1.60.0030.00617.70
8.1.50.0000.00717.63
8.1.40.0030.00517.70
8.1.30.0050.00317.71
8.1.20.0050.00517.77
8.1.10.0000.00817.66
8.1.00.0060.00317.68
8.0.300.0050.00220.03
8.0.290.0000.00716.88
8.0.280.0070.00018.39
8.0.270.0080.00017.34
8.0.260.0000.00620.02
8.0.250.0040.00417.23
8.0.240.0030.00317.17
8.0.230.0000.00717.15
8.0.220.0000.00817.00
8.0.210.0060.00317.09
8.0.200.0000.00717.14
8.0.190.0000.00817.20
8.0.180.0080.00017.05
8.0.170.0000.00816.96
8.0.160.0040.00417.21
8.0.150.0070.00017.07
8.0.140.0070.00017.07
8.0.130.0030.00313.58
8.0.120.0000.00717.14
8.0.110.0030.00517.14
8.0.100.0070.00016.91
8.0.90.0050.00317.00
8.0.80.0150.00317.03
8.0.70.0000.00817.24
8.0.60.0040.00417.14
8.0.50.0000.00817.14
8.0.30.0100.00717.12
8.0.20.0140.00517.29
8.0.10.0000.00717.27
8.0.00.0130.00916.99
7.4.330.0020.00215.55
7.4.320.0060.00016.75
7.4.300.0030.00316.69
7.4.290.0000.00816.57
7.4.280.0000.00716.64
7.4.270.0050.00516.82
7.4.260.0030.00313.50
7.4.250.0040.00416.84
7.4.240.0000.00716.80
7.4.230.0050.00316.84
7.4.220.0040.00316.47
7.4.210.0120.00716.77
7.4.200.0000.00816.75
7.4.140.0140.00317.86
7.4.130.0180.00016.63
7.4.120.0180.00616.74
7.4.110.0120.00816.65
7.4.100.0120.00616.73
7.4.90.0030.01316.82
7.4.80.0060.01119.39
7.4.70.0140.00316.72
7.4.60.0070.01016.59
7.4.50.0030.00916.76
7.4.40.0090.00616.63
7.4.00.0030.01115.21
7.3.330.0000.00816.43
7.3.320.0000.00613.46
7.3.310.0000.00716.58
7.3.300.0000.00716.53
7.3.290.0030.00616.45
7.3.280.0080.01216.50
7.3.260.0110.01016.69
7.3.230.0070.01116.63
7.3.210.0080.00816.63
7.3.200.0170.01016.48
7.3.190.0060.00916.58
7.3.180.0200.00316.48
7.3.170.0100.00616.70
7.3.160.0090.01316.74
7.3.80.0150.00014.94
7.3.70.0100.00715.08
7.3.60.0090.00914.91
7.3.50.0000.01614.70
7.3.40.0120.00414.92
7.3.30.0060.00614.96
7.3.20.0130.00914.75
7.3.10.0100.01014.81
7.3.00.0090.00914.94
7.2.330.0070.01116.71
7.2.320.0110.01116.59
7.2.310.0110.00516.50
7.2.300.0070.01016.63
7.2.290.0160.00016.75
7.2.210.0060.00914.98
7.2.200.0090.00614.86
7.2.190.0060.00615.14
7.2.180.0070.01014.92
7.2.170.0100.00314.79
7.2.160.0030.00915.00
7.2.150.0270.00915.33
7.2.140.2080.01015.11
7.2.130.0150.00615.29
7.2.120.0100.00714.98
7.2.110.0200.00014.78
7.2.100.0120.00915.08
7.2.90.0090.00914.84
7.2.80.0060.01015.04
7.2.70.0090.00915.19
7.2.60.0080.01114.95
7.2.50.0100.00614.98
7.2.40.0100.00715.16
7.2.30.0090.00915.04
7.2.20.0120.00915.00
7.2.10.0140.01014.88
7.2.00.0110.00715.00
7.1.310.0130.00614.21
7.1.300.0090.00614.11
7.1.290.0080.00813.88
7.1.280.0160.00314.06
7.1.270.0140.00414.18
7.1.260.0120.00613.86
7.1.250.0070.00713.95

preferences:
60.07 ms | 400 KiB | 5 Q