3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('/<object[^>]*>[\s\S]*?/i', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); var_dump(preg_match('/<object.*>[\s\S]*?/i', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); var_dump(preg_match('/<object.*>[\s\S]*?/im', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); var_dump(preg_match('/<object.*>[\s\S]*?/is', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); var_dump(preg_match('/^<object.*>[\s\S]*?$/im', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); var_dump(preg_match('/^<object.*>[\s\S]*?$/is', "<object\r\r\n\n" .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2028;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .mb_convert_encoding('&#x2029;', 'UTF-8', 'HTML-ENTITIES') .">")); ?>

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.0120.00616.75
8.3.50.0100.01017.50
8.3.40.0090.00918.85
8.3.30.0070.00718.76
8.3.20.0050.00318.73
8.3.10.0090.00018.76
8.3.00.0000.00819.51
8.2.180.0080.00818.24
8.2.170.0080.00822.96
8.2.160.0110.00320.65
8.2.150.0030.00624.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0080.00321.13
8.2.110.0030.00720.61
8.2.100.0000.01417.84
8.2.90.0040.00417.88
8.2.80.0060.00319.06
8.2.70.0000.01017.88
8.2.60.0000.00818.00
8.2.50.0060.00318.10
8.2.40.0000.00819.41
8.2.30.0040.00419.22
8.2.20.0000.00917.85
8.2.10.0000.00817.79
8.2.00.0000.00817.93
8.1.280.0120.00425.92
8.1.270.0030.00523.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0060.00323.85
8.1.230.0060.00619.14
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0050.00317.60
8.1.190.0040.00417.46
8.1.180.0050.00318.10
8.1.170.0060.00318.90
8.1.160.0040.00419.04
8.1.150.0030.00518.74
8.1.140.0000.00717.79
8.1.130.0070.00017.78
8.1.120.0040.00417.70
8.1.110.0030.00617.70
8.1.100.0000.00817.66
8.1.90.0040.00417.58
8.1.80.0000.00717.72
8.1.70.0030.00317.64
8.1.60.0050.00317.84
8.1.50.0040.00417.68
8.1.40.0030.00617.73
8.1.30.0000.00817.91
8.1.20.0050.00317.77
8.1.10.0050.00317.81
8.1.00.0000.00817.68
8.0.300.0090.00019.96
8.0.290.0000.00816.88
8.0.280.0030.00318.59
8.0.270.0000.00818.21
8.0.260.0030.00317.09
8.0.250.0030.00517.21
8.0.240.0000.00717.15
8.0.230.0040.00417.18
8.0.220.0030.00317.12
8.0.210.0050.00217.11
8.0.200.0030.00317.17
8.0.190.0070.00017.18
8.0.180.0030.00617.10
8.0.170.0000.00917.02
8.0.160.0070.00017.13
8.0.150.0090.00017.07
8.0.140.0000.01016.94
8.0.130.0070.00315.24
8.0.120.0080.00617.08
8.0.110.0050.00817.04
8.0.100.0070.00617.00
8.0.90.0110.00217.08
8.0.80.0110.00817.11
8.0.70.0050.00817.07
8.0.60.0060.00717.03
8.0.50.0070.00617.03
8.0.30.0110.00817.25
8.0.20.0140.00617.24
8.0.10.0060.00717.09
8.0.00.0080.00717.07
7.4.330.0030.00313.30
7.4.320.0000.00816.89
7.4.300.0030.00316.72
7.4.290.0070.00016.86
7.4.280.0040.00416.87
7.4.270.0000.00716.89
7.4.260.0060.00115.12
7.4.250.0080.00716.83
7.4.240.0120.00216.82
7.4.230.0100.00416.84
7.4.220.0150.00516.69
7.4.210.0140.00616.76
7.4.200.0090.00516.66
7.4.190.0100.00316.85
7.4.180.0110.00716.65
7.4.160.0110.00516.68
7.4.150.0110.00716.75
7.4.140.0140.00616.77
7.4.130.0180.00316.75
7.4.120.0100.00816.71
7.4.110.0130.00616.79
7.4.100.0150.00416.84
7.4.90.0090.00916.77
7.4.80.0110.00918.05
7.4.70.0070.01116.68
7.4.60.0100.00816.78
7.4.50.0100.00816.56
7.4.40.0110.00916.60
7.4.30.0080.00916.63
7.4.20.0100.01016.59
7.4.10.0080.01016.39
7.4.00.0100.00816.12
7.3.330.0060.00714.86
7.3.320.0090.00414.83
7.3.310.0100.00416.54
7.3.300.0100.00316.49
7.3.290.0100.00616.56
7.3.280.0070.01216.45
7.3.270.0150.00416.53
7.3.260.0170.00816.70
7.3.250.0080.01016.65
7.3.240.0150.00416.47
7.3.230.0160.00516.62
7.3.220.0120.01016.48
7.3.210.0090.00916.61
7.3.200.0100.00816.37
7.3.190.0120.00816.58
7.3.180.0160.00316.64
7.3.170.0120.00916.62
7.3.160.0110.00916.60
7.3.150.0120.00716.47
7.3.140.0140.00716.46
7.3.130.0110.00916.21
7.3.120.0140.00616.05
7.3.110.0110.00816.11
7.3.100.0100.00816.21
7.3.90.0130.00516.28
7.3.80.0100.00916.33
7.3.70.0070.00816.16
7.3.60.0100.00816.29
7.3.50.0110.00816.28
7.3.40.0100.00716.27
7.3.30.0070.01116.24
7.3.20.0100.00917.03
7.3.10.0100.00916.80
7.3.00.0110.00716.85
7.2.340.0110.00716.55
7.2.330.0120.01016.60
7.2.320.0150.00616.64
7.2.310.0070.01216.67
7.2.300.0140.00516.66
7.2.290.0130.00616.69
7.2.280.0130.00916.73
7.2.270.0100.01016.65
7.2.260.0100.00816.45
7.2.250.0080.01016.48
7.2.240.0100.00916.44
7.2.230.0100.00916.42
7.2.220.0070.01016.41
7.2.210.0130.00716.41
7.2.200.0090.00916.36
7.2.190.0090.01016.39
7.2.180.0100.01016.42
7.2.170.0110.00916.43
7.2.160.0100.01016.41
7.2.150.0160.00917.17
7.2.140.0140.00917.20
7.2.130.0110.00617.15
7.2.120.0070.01017.03
7.2.110.0120.00617.14
7.2.100.0070.01117.07
7.2.90.0100.00817.08
7.2.80.0100.00617.05
7.2.70.0090.00917.07
7.2.60.0090.00817.05
7.2.50.0100.00817.11
7.2.40.0090.00917.12
7.2.30.0110.00917.15
7.2.20.0110.00817.00
7.2.10.0120.00817.04
7.2.00.0080.01017.07
7.1.330.0190.00716.29
7.1.320.0190.00716.07
7.1.310.0210.01016.17
7.1.300.0190.00816.07
7.1.290.0220.00816.14
7.1.280.0210.00616.18
7.1.270.0190.01116.09
7.1.260.0190.00716.03
7.1.250.0130.00916.04
7.1.240.0190.00816.05
7.1.230.0150.01016.08
7.1.220.0220.00915.99
7.1.210.0160.00916.04
7.1.200.0140.00916.15
7.1.190.0230.00616.00
7.1.180.0170.01015.98
7.1.170.0160.00916.04
7.1.160.0200.00916.09
7.1.150.0190.00716.13
7.1.140.0150.01116.05
7.1.130.0190.00816.02
7.1.120.0140.01116.05
7.1.110.0180.00816.09
7.1.100.0150.01016.06
7.1.90.0190.01016.11
7.1.80.0200.00616.08
7.1.70.0140.01016.32
7.1.60.0160.01116.69
7.1.50.0160.00716.19
7.1.40.0200.00616.14
7.1.30.0160.00916.12
7.1.20.0130.01016.18
7.1.10.0140.00916.02
7.1.00.0190.01917.15
7.0.330.0170.00915.73
7.0.320.0170.00615.78
7.0.310.0190.00915.80
7.0.300.0160.00815.78
7.0.290.0190.00715.73
7.0.280.0180.00915.82
7.0.270.0180.00815.62
7.0.260.0130.01015.77
7.0.250.0220.00815.76
7.0.240.0190.00715.83
7.0.230.0220.00915.80
7.0.220.0170.01015.77
7.0.210.0210.00815.75
7.0.200.0150.00816.00
7.0.190.0120.01115.67
7.0.180.0160.00715.80
7.0.170.0150.00915.91
7.0.160.0190.00615.75
7.0.150.0180.00715.76
7.0.140.0220.01816.78
7.0.130.0140.01115.83
7.0.120.0140.01916.87
7.0.110.0160.01015.76
7.0.100.0160.01015.77
7.0.90.0150.00715.73
7.0.80.0180.00615.78
7.0.70.0260.00815.77
7.0.60.0150.01916.51
7.0.50.0160.01816.12
7.0.40.0210.01916.15
7.0.30.0170.02116.10
7.0.20.0150.01916.11
7.0.10.0110.01716.20
7.0.00.0130.01416.17
5.6.400.0110.01215.52
5.6.390.0160.00915.59
5.6.380.0160.00915.53
5.6.370.0170.01015.52
5.6.360.0160.00915.56
5.6.350.0180.00815.55
5.6.340.0170.00715.60
5.6.330.0140.01115.44
5.6.320.0160.00815.64
5.6.310.0120.01015.64
5.6.300.0180.00615.48
5.6.290.0210.00615.53
5.6.280.0130.02216.50
5.6.270.0160.01115.61
5.6.260.0170.01015.67
5.6.250.0160.00715.51
5.6.240.0170.00915.56
5.6.230.0180.00815.54
5.6.220.0200.00915.49
5.6.210.0170.01916.45
5.6.200.0150.01315.95
5.6.190.0160.01616.37
5.6.180.0250.01316.42
5.6.170.0170.01416.37
5.6.160.0130.02116.46
5.6.150.0130.01315.99
5.6.140.0130.02216.01
5.6.130.0120.02116.02
5.6.120.0150.01916.49
5.6.110.0170.01816.43
5.6.100.0150.01416.48
5.6.90.0110.01716.35
5.6.80.0110.02316.27
5.6.70.0180.00615.55
5.6.60.0150.00715.35
5.6.50.0140.00815.43
5.6.40.0130.00915.40
5.6.30.0150.00915.48
5.6.20.0150.00715.42
5.6.10.0150.00815.43
5.6.00.0090.01315.51
5.5.380.0170.00715.40
5.5.370.0180.00615.48
5.5.360.0160.00815.37
5.5.350.0150.01816.28
5.5.340.0130.01615.80
5.5.330.0130.02016.11
5.5.320.0180.01316.27
5.5.310.0180.01316.23
5.5.300.0120.01515.83
5.5.290.0150.02015.86
5.5.280.0150.01216.33
5.5.270.0130.01816.35
5.5.260.0130.02216.39
5.5.250.0150.01916.18
5.5.240.0160.01916.15
5.5.230.0140.01015.46
5.5.220.0160.00815.40
5.5.210.0100.01215.35
5.5.200.0120.01115.38
5.5.190.0190.00615.34
5.5.180.0150.00915.40
5.5.170.0160.00715.35
5.5.160.0140.00915.29
5.5.150.0150.00815.41
5.5.140.0150.00915.39
5.5.130.0150.00915.33
5.5.120.0150.01015.40
5.5.110.0150.01015.37
5.5.100.0160.00815.45
5.5.90.0150.00915.29
5.5.80.0160.00915.40
5.5.70.0190.01015.42
5.5.60.0140.01315.31
5.5.50.0150.01115.35
5.5.40.0160.01115.38
5.5.30.0180.01015.44
5.5.20.0140.01115.31
5.5.10.0160.01015.35
5.5.00.0140.00915.34
5.4.450.0110.01513.58
5.4.440.0120.01213.55
5.4.430.0110.01713.50
5.4.420.0110.01513.51
5.4.410.0100.01213.56
5.4.400.0130.01613.47
5.4.390.0120.01413.46
5.4.380.0100.01413.45
5.4.370.0120.01313.49
5.4.360.0100.01713.48
5.4.350.0090.01813.49
5.4.340.0080.01313.48
5.4.330.0110.00612.48
5.4.320.0100.01913.48
5.4.310.0140.01213.40
5.4.300.0090.01513.52
5.4.290.0120.01813.48
5.4.280.0110.01513.47
5.4.270.0110.01413.48
5.4.260.0100.01513.55
5.4.250.0100.02013.41
5.4.240.0110.01913.48
5.4.230.0100.02213.39
5.4.220.0130.01313.44
5.4.210.0100.01413.48
5.4.200.0090.01713.44
5.4.190.0140.01813.44
5.4.180.0130.01613.36
5.4.170.0120.01113.54
5.4.160.0090.01813.46
5.4.150.0130.01613.56
5.4.140.0120.01713.07
5.4.130.0090.01913.00
5.4.120.0070.01913.11
5.4.110.0120.01213.03
5.4.100.0080.01213.00
5.4.90.0060.01913.01
5.4.80.0070.01413.07
5.4.70.0090.01413.08
5.4.60.0090.01413.03
5.4.50.0090.01113.00
5.4.40.0100.01812.99
5.4.30.0090.01413.02
5.4.20.0090.01313.05
5.4.10.0110.01013.00
5.4.00.0120.01512.96
5.3.290.0140.01313.09
5.3.280.0130.01112.97
5.3.270.0110.01413.13
5.3.260.0100.01513.02
5.3.250.0120.01713.07
5.3.240.0130.01512.97
5.3.230.0120.01613.04
5.3.220.0100.01812.95
5.3.210.0110.01513.04
5.3.200.0110.01213.10
5.3.190.0100.01413.13
5.3.180.0090.01513.06
5.3.170.0090.02113.15
5.3.160.0140.01513.11
5.3.150.0110.01513.15
5.3.140.0080.01313.07
5.3.130.0110.01813.02
5.3.120.0120.01412.99
5.3.110.0130.01913.09
5.3.100.0070.01512.96
5.3.90.0080.01912.92
5.3.80.0080.01512.93
5.3.70.0130.01612.82
5.3.60.0080.01712.99
5.3.50.0080.02012.82
5.3.40.0110.01612.84
5.3.30.0080.01712.84
5.3.20.0110.01612.79
5.3.10.0100.01312.70
5.3.00.0080.01612.78

preferences:
53.08 ms | 400 KiB | 5 Q