3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<!-- main layout and navbar stylesheets --> <style type="text/css" media="all and (min-width:481px)"> @import url("/styles/main.css?v=11") screen, projection; @import url("/styles/navbar.css?v=11") screen, projection; </style> <p> @import url("/styles/main.css?v=11") screen, projection; @import url("/styles/navbar.css?v=11") screen, projection; </p>'; $doc = new DOMDocument(); $doc->loadHTML($html); $nodes = $doc->getElementsByTagName("style"); for($i=0;$i<$nodes->length;$i++){ $style = $nodes->item($i)->textContent; preg_match_all("!@import\s+url\((['\"])(.+?)\\1\)!", $style, $m); print_r($m[1]); } ?>

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.0110.00417.00
8.3.60.0040.01818.68
8.3.50.0140.00422.23
8.3.40.0160.00319.22
8.3.30.0160.00719.04
8.3.20.0050.00319.02
8.3.10.0070.01120.90
8.3.00.0100.00321.94
8.2.180.0150.00417.13
8.2.170.0110.00822.96
8.2.160.0100.00722.39
8.2.150.0060.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00617.88
8.2.110.0070.00421.28
8.2.100.0000.01118.22
8.2.90.0040.00419.29
8.2.80.0040.00418.15
8.2.70.0040.00417.99
8.2.60.0000.00818.29
8.2.50.0030.00518.15
8.2.40.0030.00518.47
8.2.30.0040.00420.24
8.2.20.0060.00318.04
8.2.10.0030.00618.12
8.2.00.0000.00818.07
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00922.70
8.1.230.0060.00621.17
8.1.220.0000.00918.77
8.1.210.0000.00819.04
8.1.200.0030.00717.85
8.1.190.0000.00917.79
8.1.180.0080.00018.10
8.1.170.0030.00519.16
8.1.160.0000.00719.13
8.1.150.0050.00219.04
8.1.140.0040.00417.70
8.1.130.0000.00718.17
8.1.120.0040.00417.69
8.1.110.0070.00017.73
8.1.100.0040.00417.77
8.1.90.0050.00317.80
8.1.80.0040.00417.68
8.1.70.0000.00717.73
8.1.60.0080.00017.85
8.1.50.0000.00817.74
8.1.40.0040.00417.88
8.1.30.0050.00217.91
8.1.20.0030.00617.93
8.1.10.0080.00018.00
8.1.00.0040.00417.98
8.0.300.0040.00420.08
8.0.290.0000.00817.13
8.0.280.0020.00418.69
8.0.270.0000.00717.38
8.0.260.0070.00017.08
8.0.250.0050.00217.17
8.0.240.0040.00417.19
8.0.230.0000.00717.20
8.0.220.0030.00317.26
8.0.210.0000.00817.28
8.0.200.0030.00317.16
8.0.190.0040.00417.27
8.0.180.0040.00417.07
8.0.170.0040.00417.20
8.0.160.0040.00417.23
8.0.150.0030.00517.16
8.0.140.0060.00317.09
8.0.130.0090.00013.78
8.0.120.0030.00617.17
8.0.110.0050.00317.31
8.0.100.0070.00017.27
8.0.90.0020.00517.21
8.0.80.0040.01217.27
8.0.70.0000.00717.30
8.0.60.0070.00017.42
8.0.50.0040.00417.25
8.0.30.0140.00817.70
8.0.20.0150.00717.52
8.0.10.0040.00417.50
8.0.00.0150.00517.31
7.4.330.0030.00315.16
7.4.320.0000.00717.02
7.4.300.0000.00617.11
7.4.290.0000.00617.03
7.4.280.0040.00416.93
7.4.270.0090.00017.09
7.4.260.0030.00313.77
7.4.250.0040.00417.05
7.4.240.0040.00417.18
7.4.230.0030.00417.15
7.4.220.0070.01017.09
7.4.210.0060.00817.13
7.4.200.0040.00417.16
7.4.190.0000.00717.11
7.4.160.0130.00316.94
7.4.150.0090.00917.40
7.4.140.0100.00617.86
7.4.130.0090.01017.00
7.4.120.0100.01016.94
7.4.110.0120.00616.83
7.4.100.0120.00616.94
7.4.90.0050.01216.96
7.4.80.0110.00719.04
7.4.70.0130.00416.68
7.4.60.0080.00816.85
7.4.50.0040.00416.59
7.4.40.0050.00822.27
7.4.30.0140.00417.04
7.4.00.0080.00815.29
7.3.330.0060.00013.60
7.3.320.0080.00013.48
7.3.310.0040.00416.67
7.3.300.0030.00316.69
7.3.290.0110.00316.66
7.3.280.0040.01316.59
7.3.270.0120.00617.40
7.3.260.0100.01018.24
7.3.250.0140.00616.75
7.3.240.0040.01316.73
7.3.230.0090.00916.71
7.3.210.0090.00916.77
7.3.200.0060.01519.39
7.3.190.0110.00716.94
7.3.180.0060.01016.71
7.3.170.0140.00416.91
7.3.160.0100.00717.14
7.3.120.0080.00914.96
7.3.110.0070.01114.96
7.3.100.0070.01315.11
7.3.90.0070.00714.86
7.3.80.0030.01014.80
7.3.70.0090.00614.93
7.3.60.0060.00915.20
7.3.50.0060.00614.88
7.3.40.0040.00815.02
7.3.30.0100.00315.13
7.3.20.0000.01616.79
7.3.10.0100.00316.61
7.3.00.0060.00916.88
7.2.330.0060.01217.07
7.2.320.0140.00716.88
7.2.310.0100.01216.89
7.2.300.0070.01416.81
7.2.290.0120.00616.91
7.2.250.0060.00914.98
7.2.240.0100.01015.08
7.2.230.0100.01015.39
7.2.220.0070.00715.09
7.2.210.0070.00714.98
7.2.200.0070.00714.89
7.2.190.0070.01014.90
7.2.180.0040.00714.92
7.2.170.0070.01015.28
7.2.00.0040.01119.66
7.1.330.0030.00715.86
7.1.320.0080.00515.97
7.1.310.0100.00715.97
7.1.300.0030.01215.82
7.1.290.0000.01215.93
7.1.280.0000.01415.93
7.1.270.0000.01415.82
7.1.260.0090.00316.05
7.1.100.0070.00718.48
7.1.70.0000.00717.27
7.1.60.0060.01319.40
7.1.50.0070.01417.40
7.1.00.0100.06022.54
7.0.200.0000.01016.71
7.0.140.0030.05722.08
7.0.60.0170.06720.07
7.0.50.0030.05717.93
7.0.40.0070.05017.84
7.0.30.0030.04017.84
7.0.20.0100.03317.94
7.0.10.0070.03717.77
7.0.00.0000.04717.90
5.6.280.0000.07721.16
5.6.210.0070.05320.68
5.6.200.0070.06718.19
5.6.190.0070.04318.25
5.6.180.0100.03318.20
5.6.170.0030.04018.31
5.6.160.0100.04018.23
5.6.150.0030.04318.24
5.6.140.0030.03718.35
5.6.130.0000.04318.28
5.6.120.0030.04018.35
5.6.110.0000.04318.23
5.6.100.0030.04018.16
5.6.90.0030.04018.31
5.6.80.0070.03317.61
5.6.70.0030.03717.59
5.6.60.0070.03317.69
5.6.50.0000.04017.64
5.6.40.0000.04017.58
5.6.30.0100.03017.58
5.6.20.0100.07317.70
5.6.10.0170.03717.54
5.6.00.0070.08017.58
5.5.350.0230.07720.42
5.5.340.0070.08318.09
5.5.330.0100.07318.16
5.5.320.0030.04018.11
5.5.310.0030.04018.11
5.5.300.0000.04018.14
5.5.290.0030.04718.05
5.5.280.0030.04018.11
5.5.270.0030.04018.00
5.5.260.0000.04318.01
5.5.250.0000.04317.86
5.5.240.0030.03717.50
5.5.230.0000.04317.54
5.5.220.0070.03317.37
5.5.210.0000.06017.54
5.5.200.0030.03717.47
5.5.190.0100.07317.33
5.5.180.0070.05717.44
5.5.160.0070.07317.50
5.5.150.0100.07017.40
5.5.140.0030.07717.34
5.5.130.0130.04717.49
5.5.120.0200.06317.41
5.5.110.0030.06017.44
5.5.100.0070.08017.30
5.5.90.0070.08017.36
5.5.80.0000.08017.34
5.5.70.0030.08717.29
5.5.60.0100.05017.25
5.5.50.0030.04717.32
5.5.40.0030.05017.39
5.5.30.0100.06017.40
5.5.20.0000.05017.39
5.5.10.0100.07017.32
5.5.00.0030.05317.23
5.4.450.0070.03319.50
5.4.440.0070.03719.54
5.4.430.0070.03719.53
5.4.420.0000.04019.48
5.4.410.0100.03319.31
5.4.400.0030.03719.20
5.4.390.0000.04019.18
5.4.380.0000.04019.34
5.4.370.0030.03719.10
5.4.360.0000.04019.13
5.4.350.0100.03319.36
5.4.340.0100.06019.13
5.4.320.0070.06719.05
5.4.310.0030.08019.17
5.4.300.0170.04019.18
5.4.290.0100.07019.15
5.4.280.0100.07719.19
5.4.270.0030.07319.02
5.4.260.0100.07319.11
5.4.250.0130.06019.11
5.4.240.0130.07019.09
5.4.230.0030.08019.02
5.4.220.0070.06319.16
5.4.210.0030.08019.20
5.4.200.0100.06719.14
5.4.190.0030.05319.33
5.4.180.0000.08019.15
5.4.170.0070.07319.18
5.4.160.0030.08019.00
5.4.150.0030.08019.07
5.4.140.0100.07316.52
5.4.130.0100.07316.42
5.4.120.0070.05016.42
5.4.110.0030.07016.58
5.4.100.0030.07716.44
5.4.90.0100.07016.61
5.4.80.0100.04716.51
5.4.70.0030.04016.54
5.4.60.0000.04016.60
5.4.50.0000.07716.56
5.4.40.0100.07316.52
5.4.30.0130.06316.39
5.4.20.0070.06316.57
5.4.10.0070.06016.57
5.4.00.0070.05316.14
5.3.290.0100.07314.72
5.3.280.0100.06714.70
5.3.270.0100.07314.73
5.3.260.0130.07314.62
5.3.250.0070.03314.63
5.3.240.0100.07314.66
5.3.230.0000.07714.77
5.3.220.0100.07014.73
5.3.210.0030.08014.48
5.3.200.0130.05314.73
5.3.190.0070.07714.76
5.3.180.0070.08014.68
5.3.170.0070.06714.72
5.3.160.0030.04014.66
5.3.150.0070.04014.74
5.3.140.0130.07014.67
5.3.130.0070.07714.71
5.3.120.0130.06014.71
5.3.110.0030.05714.46
5.3.100.0100.05314.16
5.3.90.0070.05314.14
5.3.80.0030.07714.06
5.3.70.0030.04713.92
5.3.60.0100.07014.27
5.3.50.0070.07313.89
5.3.40.0130.05314.05
5.3.30.0030.05713.99
5.3.20.0130.06313.79
5.3.10.0130.06313.71
5.3.00.0100.03313.80
5.2.170.0000.06711.22
5.2.160.0030.06311.27
5.2.150.0000.04711.24
5.2.140.0030.04011.19
5.2.130.0030.03711.16
5.2.120.0030.03311.20
5.2.110.0000.03711.06
5.2.100.0070.06011.22
5.2.90.0070.06311.27
5.2.80.0070.04711.20
5.2.70.0170.05011.07
5.2.60.0030.05011.11
5.2.50.0070.05711.15
5.2.40.0030.06010.97
5.2.30.0030.04311.13
5.2.20.0070.05311.02
5.2.10.0100.05311.00
5.2.00.0030.04710.81
5.1.60.0030.0439.98
5.1.50.0030.0379.98
5.1.40.0030.02710.07
5.1.30.0030.04010.40
5.1.20.0030.04310.45
5.1.10.0070.05310.14
5.1.00.0070.04710.18
5.0.50.0030.0478.75
5.0.40.0100.0238.30
5.0.30.0000.0408.29
5.0.20.0030.0208.46
5.0.10.0070.0338.44
5.0.00.0000.0478.33
4.4.90.0000.0377.86
4.4.80.0000.0237.86
4.4.70.0030.0377.86
4.4.60.0030.0307.86
4.4.50.0030.0307.86
4.4.40.0030.0537.86
4.4.30.0000.0207.86
4.4.20.0030.0177.86
4.4.10.0070.0307.86
4.4.00.0030.0477.86
4.3.110.0030.0177.86
4.3.100.0000.0237.86
4.3.90.0070.0307.86
4.3.80.0070.0377.86
4.3.70.0000.0207.86
4.3.60.0030.0337.86
4.3.50.0000.0337.86
4.3.40.0000.0507.86
4.3.30.0030.0377.86
4.3.20.0000.0377.86
4.3.10.0030.0377.86
4.3.00.0070.0237.86

preferences:
48.34 ms | 401 KiB | 5 Q