3v4l.org

run code in 300+ PHP versions simultaneously
<?php $qtext = '<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">Which of the following statements is correct regarding use of a residential property?</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> I. A legal suite is one that meets current Land Use Bylaws and was built with proper permits</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> II. An illegal suite is one that does not meet current Land Use Bylaws and/or was built without proper permits</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">III. A non-conforming suite is one that does not meet current Land Use Bylaws but did at one time</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> IV. A semi-legal suite is one that meets both current and past Land Use Bylaws </FONT></P></TEXTFORMAT>'; $qtext = preg_replace("/<([a-z][a-z0-9]*)[^>]*?(\/?)>/i",'<$1$2>', $qtext); $qtext = strip_tags($qtext, '<p></p>'); $qtext = str_replace('</P><P>', '<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', $qtext); echo $qtext;

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.0070.01418.55
8.3.50.0050.01422.03
8.3.40.0040.01119.14
8.3.30.0070.00718.95
8.3.20.0070.00020.21
8.3.10.0080.00023.51
8.3.00.0080.00019.50
8.2.180.0070.01016.63
8.2.170.0030.01422.96
8.2.160.0070.00720.53
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0040.00421.04
8.2.110.0030.00620.58
8.2.100.0080.00417.97
8.2.90.0030.00519.11
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0030.00518.07
8.2.40.0080.00019.93
8.2.30.0040.00418.06
8.2.20.0050.00317.76
8.2.10.0000.00718.09
8.2.00.0000.00717.80
8.1.280.0110.00425.92
8.1.270.0060.00322.18
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00924.01
8.1.230.0090.00319.04
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0000.00917.38
8.1.190.0030.00517.25
8.1.180.0000.00718.10
8.1.170.0080.00018.70
8.1.160.0000.00721.96
8.1.150.0040.00418.79
8.1.140.0000.00717.56
8.1.130.0070.00017.75
8.1.120.0000.00717.56
8.1.110.0000.00817.61
8.1.100.0000.00717.64
8.1.90.0040.00417.57
8.1.80.0040.00417.45
8.1.70.0000.00717.45
8.1.60.0080.00017.72
8.1.50.0040.00417.68
8.1.40.0030.00517.53
8.1.30.0090.00017.72
8.1.20.0040.00417.73
8.1.10.0040.00417.71
8.1.00.0050.00317.66
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0030.00418.49
8.0.270.0070.00017.21
8.0.260.0060.00317.22
8.0.250.0030.00317.04
8.0.240.0070.00017.10
8.0.230.0070.00017.03
8.0.220.0000.00816.98
8.0.210.0030.00317.00
8.0.200.0030.00616.95
8.0.190.0080.00017.05
8.0.180.0040.00417.04
8.0.170.0040.00416.93
8.0.160.0070.00016.98
8.0.150.0070.00016.96
8.0.140.0040.00416.95
8.0.130.0030.00313.45
8.0.120.0000.00816.97
8.0.110.0030.00516.99
8.0.100.0050.00217.02
8.0.90.0000.00716.96
8.0.80.0070.01516.95
8.0.70.0040.00417.07
8.0.60.0040.00416.79
8.0.50.0040.00417.07
8.0.30.0100.01517.23
8.0.20.0050.01417.40
8.0.10.0000.00717.20
8.0.00.0110.01116.81
7.4.330.0030.00315.02
7.4.320.0060.00016.63
7.4.300.0030.00316.57
7.4.290.0050.00216.76
7.4.280.0040.00416.68
7.4.270.0000.00716.70
7.4.260.0040.00416.68
7.4.250.0040.00416.74
7.4.240.0000.00816.65
7.4.230.0000.00716.59
7.4.220.0110.00716.80
7.4.210.0070.00716.68
7.4.200.0030.00316.59
7.4.160.0090.00616.70
7.4.150.0090.01217.40
7.4.140.0150.00317.86
7.4.130.0090.00816.62
7.4.120.0100.00716.75
7.4.110.0110.01116.77
7.4.100.0070.01116.52
7.4.90.0030.01316.53
7.4.80.0040.01219.39
7.4.70.0140.00316.62
7.4.60.0080.00816.60
7.4.50.0050.00016.50
7.4.40.0120.00616.69
7.4.30.0120.00316.61
7.4.00.0100.00715.06
7.3.330.0040.00213.21
7.3.320.0000.00513.28
7.3.310.0000.00716.38
7.3.300.0030.00316.41
7.3.290.0060.00916.36
7.3.280.0030.01216.37
7.3.270.0070.01117.40
7.3.260.0120.00616.58
7.3.250.0070.01216.59
7.3.240.0140.00316.41
7.3.230.0140.00316.51
7.3.210.0060.00916.64
7.3.200.0120.00919.39
7.3.190.0060.01216.39
7.3.180.0070.01016.41
7.3.170.0080.01216.66
7.3.160.0110.00616.59
7.3.120.0050.00915.00
7.3.110.0060.00915.00
7.3.100.0070.00814.87
7.3.90.0060.01014.87
7.3.80.0100.00514.74
7.3.70.0040.01014.86
7.3.60.0050.01014.88
7.3.50.0030.01014.96
7.3.40.0090.00514.95
7.3.30.0110.00414.88
7.3.20.0070.00516.75
7.3.10.0050.01116.71
7.3.00.0110.00516.56
7.2.330.0070.01016.86
7.2.320.0040.01216.70
7.2.310.0100.01316.61
7.2.300.0060.01016.66
7.2.290.0090.00916.77
7.2.250.0040.01515.16
7.2.240.0060.01115.30
7.2.230.0070.00715.13
7.2.220.0060.00915.05
7.2.210.0050.00915.06
7.2.200.0080.00515.00
7.2.190.0080.00715.04
7.2.180.0040.01115.21
7.2.170.0090.00514.99
7.2.160.0030.00714.98
7.2.150.0060.00916.91
7.2.140.0070.01116.86
7.2.130.0060.00616.93
7.2.120.0070.00716.73
7.2.110.0030.01316.97
7.2.100.0110.00716.90
7.2.90.0070.01116.85
7.2.80.0070.01016.76
7.2.70.0080.00416.78
7.2.60.0100.00616.84
7.2.50.0070.01117.01
7.2.40.0030.01016.58
7.2.30.0100.00716.85
7.2.20.0030.01017.08
7.2.10.0070.01016.98
7.2.00.0060.00918.35
7.1.330.0050.00716.01
7.1.320.0080.00815.92
7.1.310.0050.00815.90
7.1.300.0040.01115.81
7.1.290.0050.00815.99
7.1.280.0060.00615.77
7.1.270.0020.01215.87
7.1.260.0070.00615.90
7.1.250.0090.00315.84
7.1.100.0000.01118.54
7.1.70.0070.00317.39
7.1.60.0000.01117.57
7.1.50.0130.01317.10
7.1.00.0030.07722.43
7.0.200.0040.00416.59
7.0.140.0030.07322.13
7.0.60.0070.07319.82
7.0.50.0130.03317.85
7.0.40.0100.07320.04
7.0.30.0270.06720.04
7.0.20.0230.03720.01
7.0.10.0070.09020.19
7.0.00.0070.08320.22
5.6.280.0000.07721.12
5.6.210.0070.06020.57
5.6.200.0070.08018.22
5.6.190.0070.08020.39
5.6.180.0270.06720.61
5.6.170.0430.07320.52
5.6.160.0030.06020.40
5.6.150.0030.05018.09
5.6.140.0070.05318.17
5.6.130.0070.04018.11
5.6.120.0070.03721.00
5.6.110.0000.06021.00
5.6.100.0130.08021.07
5.6.90.0100.07020.88
5.6.80.0030.08720.38
5.6.70.3330.03320.36
5.5.350.0170.05320.43
5.5.340.0170.07017.90
5.5.330.0130.08020.14
5.5.320.0030.08320.21
5.5.310.0230.05320.33
5.5.300.0070.04717.98
5.5.290.0100.07717.96
5.5.280.0130.03320.87
5.5.270.0030.08720.76
5.5.260.0200.07020.88
5.5.250.0200.07320.58
5.5.240.0300.07320.25
5.4.450.0100.05719.48
5.4.440.1000.06019.61
5.4.430.0070.05719.46
5.4.420.0670.00019.46
5.4.410.0630.00019.24
5.4.400.0870.00019.34
5.4.390.0600.00018.92
5.4.380.0670.00019.07
5.4.370.0630.00019.06
5.4.360.0670.00019.09
5.4.350.0670.00019.16
5.4.340.0060.03911.97
5.4.320.0030.04012.45
5.4.310.0040.04012.45
5.4.300.0050.04112.45
5.4.290.0070.03612.45
5.4.280.0040.03612.35
5.4.270.0040.03712.35
5.4.260.0070.03612.35
5.4.250.0050.03912.35
5.4.240.0080.03312.34
5.4.230.0050.03812.34
5.4.220.0020.04012.34
5.4.210.0060.03612.34
5.4.200.0040.04212.34
5.4.190.0020.03912.33
5.4.180.0030.03812.33
5.4.170.0060.03412.34
5.4.160.0080.03312.34
5.4.150.0110.03012.34
5.4.140.0040.03812.02
5.4.130.0040.03712.01
5.4.120.0040.03711.96
5.4.110.0010.04011.96
5.4.100.0060.03511.96
5.4.90.0060.04011.96
5.4.80.0090.03311.96
5.4.70.0060.03611.96
5.4.60.0030.03811.96
5.4.50.0040.03711.96
5.4.40.0050.03611.95
5.4.30.0100.04111.95
5.4.20.0070.03811.95
5.4.10.0070.03211.95
5.4.00.0060.03511.44
5.3.290.0080.04112.80
5.3.280.0090.03512.71
5.3.270.0070.03712.73
5.3.260.0060.03812.72
5.3.250.0100.03212.72
5.3.240.0050.03912.72
5.3.230.0050.03812.71
5.3.220.0050.03712.68
5.3.210.0100.03612.68
5.3.200.0090.03312.68
5.3.190.0080.03512.68
5.3.180.0080.03312.67
5.3.170.0070.03512.67
5.3.160.0080.03512.67
5.3.150.0070.03612.68
5.3.140.0050.03712.66
5.3.130.0060.03812.65
5.3.120.0070.03812.66
5.3.110.0060.03812.65
5.3.100.0040.03812.12
5.3.90.0080.03312.08
5.3.80.0060.03512.08
5.3.70.0060.03612.07
5.3.60.0040.03712.07
5.3.50.0060.03612.00
5.3.40.0050.03712.00
5.3.30.0090.03611.96
5.3.20.0080.03211.74
5.3.10.0040.03611.70
5.3.00.0040.03711.69
5.2.170.0040.0309.19
5.2.160.0100.0269.19
5.2.150.0070.0399.19
5.2.140.0100.0369.19
5.2.130.0060.0319.15
5.2.120.0060.0279.14
5.2.110.0060.0289.16
5.2.100.0060.0269.16
5.2.90.0050.0289.16
5.2.80.0050.0309.15
5.2.70.0040.0359.15
5.2.60.0050.0349.11
5.2.50.0060.0329.07
5.2.40.0050.0329.06
5.2.30.0030.0319.04
5.2.20.0040.0329.01
5.2.10.0070.0278.92
5.2.00.0040.0368.79
5.1.60.0080.0238.07
5.1.50.0020.0278.07
5.1.40.0090.0288.04
5.1.30.0030.0278.39
5.1.20.0050.0268.41
5.1.10.0070.0238.14
5.1.00.0050.0248.14
5.0.50.0050.0196.61
5.0.40.0050.0176.48
5.0.30.0050.0296.29
5.0.20.0050.0176.26
5.0.10.0040.0206.24
5.0.00.0020.0326.23
4.4.90.0030.0154.78
4.4.80.0050.0134.76
4.4.70.0030.0154.76
4.4.60.0020.0164.76
4.4.50.0040.0144.77
4.4.40.0020.0254.71
4.4.30.0020.0164.75
4.4.20.0010.0174.85
4.4.10.0050.0134.85
4.4.00.0030.0244.76
4.3.110.0040.0144.67
4.3.100.0040.0134.67
4.3.90.0030.0144.63
4.3.80.0020.0254.58
4.3.70.0050.0124.63
4.3.60.0030.0144.63
4.3.50.0050.0134.63
4.3.40.0030.0234.54
4.3.30.0030.0153.29
4.3.20.0010.0163.26
4.3.10.0030.0143.22
4.3.00.0100.0237.28

preferences:
43.25 ms | 401 KiB | 5 Q