3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contentData = '<texts><text_0_0><![CDATA[1]]></text_0_0><text_3_0><![CDATA[4]]></text_3_0><text_1_0><![CDATA[2]]></text_1_0><text_4_0><![CDATA[5]]></text_4_0><text_2_0><![CDATA[3]]></text_2_0></texts><medias><image_1_0><![CDATA[http://teste.croobly.com.br/module-content/images/1699789387.jpg]]></image_1_0><image_0_0><![CDATA[http://teste.croobly.com.br/module-content/images/1699802460.jpg]]></image_0_0><image_3_0><![CDATA[http://teste.croobly.com.br/module-content/images/1699734945.jpg]]></image_3_0><image_4_0><![CDATA[http://teste.croobly.com.br/module-content/images/1699720579.jpg]]></image_4_0><image_2_0><![CDATA[http://teste.croobly.com.br/module-content/images/1699775071.jpg]]></image_2_0></medias>'; $dom = new DOMDocument(); $dom->loadXML('<content>'.$contentData.'</content>'); $dom = $dom->getElementsByTagName("medias"); foreach ($dom as $image) { $fileName = substr(strrchr($image->nodeValue, "/"), 1); echo '----------------------'; echo $image->nodeValue, PHP_EOL; //echo $value, PHP_EOL; //unlink($path.$fileName); }

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.43
8.3.50.0120.00721.21
8.3.40.0140.00418.81
8.3.30.0100.00320.42
8.3.20.0040.00420.61
8.3.10.0030.00621.30
8.3.00.0030.00522.69
8.2.180.0120.00616.88
8.2.170.0080.00822.96
8.2.160.0100.00719.04
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0000.00721.24
8.2.110.0040.00721.08
8.2.100.0090.00318.03
8.2.90.0040.00419.29
8.2.80.0000.00817.97
8.2.70.0000.00917.73
8.2.60.0030.00518.17
8.2.50.0000.00818.07
8.2.40.0000.00918.34
8.2.30.0000.00719.66
8.2.20.0040.00418.03
8.2.10.0040.00418.16
8.2.00.0050.00318.07
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.00921.49
8.1.230.0040.00817.70
8.1.220.0000.00817.89
8.1.210.0040.00418.77
8.1.200.0000.01017.48
8.1.190.0000.00917.23
8.1.180.0030.00618.10
8.1.170.0000.00818.81
8.1.160.0040.00419.13
8.1.150.0040.00418.88
8.1.140.0050.00217.68
8.1.130.0000.00718.07
8.1.120.0000.00717.73
8.1.110.0080.00017.66
8.1.100.0070.00017.59
8.1.90.0030.00517.71
8.1.80.0000.00717.56
8.1.70.0030.00317.71
8.1.60.0030.00617.88
8.1.50.0020.00517.64
8.1.40.0050.00317.63
8.1.30.0060.00317.82
8.1.20.0050.00317.96
8.1.10.0050.00317.82
8.1.00.0000.00817.76
8.0.300.0030.00618.77
8.0.290.0000.00816.75
8.0.280.0040.00418.73
8.0.270.0030.00317.54
8.0.260.0000.00616.99
8.0.250.0000.00617.11
8.0.240.0020.00717.07
8.0.230.0000.00717.19
8.0.220.0070.00017.18
8.0.210.0050.00316.98
8.0.200.0020.00517.14
8.0.190.0000.00717.08
8.0.180.0040.00417.01
8.0.170.0000.00917.20
8.0.160.0070.00017.08
8.0.150.0000.00817.10
8.0.140.0040.00417.00
8.0.130.0050.00013.58
8.0.120.0030.00516.96
8.0.110.0080.00017.14
8.0.100.0000.00717.10
8.0.90.0000.00817.14
8.0.80.0030.01417.11
8.0.70.0070.00017.15
8.0.60.0000.00816.93
8.0.50.0030.00517.23
8.0.30.0110.00917.20
8.0.20.0090.01017.40
8.0.10.0070.00017.24
8.0.00.0100.01217.07
7.4.330.0000.00616.87
7.4.320.0040.00416.82
7.4.300.0000.00716.86
7.4.290.0000.00716.75
7.4.280.0000.00816.75
7.4.270.0000.00716.79
7.4.260.0050.00013.51
7.4.250.0070.00016.70
7.4.240.0020.00616.82
7.4.230.0000.00716.61
7.4.220.0140.00516.71
7.4.210.0080.00816.84
7.4.200.0070.00016.91
7.4.190.0000.00716.97
7.4.160.0070.01016.87
7.4.150.0070.01817.40
7.4.140.0110.01317.86
7.4.130.0090.01216.64
7.4.120.0060.01116.71
7.4.110.0100.00716.80
7.4.100.0100.00716.80
7.4.90.0120.00916.61
7.4.80.0140.00319.39
7.4.70.0100.00716.86
7.4.60.0070.01016.77
7.4.50.0000.00516.76
7.4.40.0110.00722.77
7.4.30.0170.00016.76
7.4.10.0050.00916.64
7.4.00.0090.00815.58
7.3.330.0030.00313.21
7.3.320.0070.00013.45
7.3.310.0000.00716.34
7.3.300.0030.00316.36
7.3.290.0130.00316.45
7.3.280.0050.01316.48
7.3.270.0090.00917.40
7.3.260.0070.01018.24
7.3.250.0100.00716.70
7.3.240.0070.01016.71
7.3.230.0080.00816.53
7.3.210.0070.01116.62
7.3.200.0160.00619.39
7.3.190.0030.01616.70
7.3.180.0080.01416.42
7.3.170.0030.01216.51
7.3.160.0130.00416.68
7.3.130.0070.00716.55
7.3.120.0050.01115.67
7.3.110.0030.01215.93
7.3.100.0050.01015.76
7.3.90.0060.00615.62
7.3.80.0000.01215.71
7.3.70.0060.00615.69
7.3.60.0060.00715.88
7.3.50.0050.00615.84
7.3.40.0060.00615.70
7.3.30.0060.00715.77
7.3.20.0020.01117.52
7.3.10.0100.00217.51
7.3.00.0080.00717.57
7.2.330.0040.01316.85
7.2.320.0030.01716.64
7.2.310.0080.01016.99
7.2.300.0090.00617.02
7.2.290.0060.01016.94
7.2.260.0000.01216.89
7.2.250.0110.00615.92
7.2.240.0080.00816.08
7.2.230.0040.00715.94
7.2.220.0040.01215.91
7.2.210.0050.00516.06
7.2.200.0020.01216.02
7.2.190.0040.01115.90
7.2.180.0070.00416.00
7.2.170.0030.01115.98
7.2.160.0030.00916.75
7.2.150.0060.00318.87
7.2.140.0060.00618.62
7.2.130.0100.00718.61
7.2.120.0110.00418.65
7.2.110.0100.00318.64
7.2.100.0030.01018.56
7.2.90.0030.00918.66
7.2.80.0100.00718.57
7.2.70.0100.00318.53
7.2.60.0030.00817.95
7.2.50.0100.00018.71
7.2.40.0090.00318.78
7.2.30.0100.00318.75
7.2.20.0000.01818.50
7.2.10.0090.00018.71
7.2.00.0030.00718.65
7.1.330.0020.01216.86
7.1.320.0040.00916.74
7.1.310.0060.00516.81
7.1.300.0050.01016.50
7.1.290.0030.00916.62
7.1.280.0070.00716.67
7.1.270.0020.00916.75
7.1.260.0060.00716.77
7.1.250.0040.01117.43
7.1.240.0070.00717.47
7.1.230.0070.00417.48
7.1.220.0060.00317.61
7.1.210.0090.00317.57
7.1.200.0040.00916.65
7.1.190.0080.00417.48
7.1.180.0030.01417.63
7.1.170.0030.01017.61
7.1.160.0040.00417.57
7.1.150.0040.00417.68
7.1.140.0040.00717.54
7.1.130.0000.01117.57
7.1.120.0060.00917.35
7.1.110.0050.00817.60
7.1.100.0040.01117.57
7.1.90.0070.01017.44
7.1.80.0060.00617.41
7.1.70.0060.00317.26
7.1.60.0080.01018.37
7.1.50.0050.01317.14
7.1.40.0070.00717.57
7.1.30.0030.00917.44
7.1.20.0070.00717.54
7.1.10.0070.00417.42
7.1.00.0050.02020.03
7.0.330.0040.01116.96
7.0.320.0130.00317.00
7.0.310.0090.00617.32
7.0.300.0060.00317.25
7.0.290.0040.00817.35
7.0.280.0040.00417.29
7.0.270.0030.00617.22
7.0.260.0040.00417.07
7.0.250.0120.00017.36
7.0.240.0030.01417.19
7.0.230.0000.01417.17
7.0.220.0030.00517.24
7.0.210.0030.00617.31
7.0.200.0070.00617.24
7.0.190.0060.00617.30
7.0.180.0000.01217.14
7.0.170.0040.01117.14
7.0.160.0140.00017.22
7.0.150.0100.00017.33
7.0.140.0040.03819.62
7.0.130.0070.01017.26
7.0.120.0000.01317.35
7.0.110.0080.00317.29
7.0.100.0080.00417.23
7.0.90.0000.00917.15
7.0.80.0050.00217.00
7.0.70.0030.03518.52
7.0.60.0020.04918.64
7.0.50.0160.03518.80
7.0.40.0120.04017.65
7.0.30.0060.02617.57
7.0.20.0050.04717.73
7.0.10.0080.04717.60
7.0.00.0030.03217.67
5.6.400.0060.00315.81
5.6.390.0040.00715.93
5.6.380.0030.01016.04
5.6.370.0060.00316.05
5.6.360.0000.00816.27
5.6.350.0030.00616.21
5.6.340.0030.01016.03
5.6.330.0090.00316.13
5.6.320.0100.00716.20
5.6.310.0000.01616.18
5.6.300.0080.00816.03
5.6.290.0000.01115.94
5.6.280.0050.03818.61
5.6.270.0040.01116.13
5.6.260.0080.00316.18
5.6.250.0030.01015.96
5.6.240.0050.00315.88
5.6.230.0060.00316.02
5.6.220.0110.04118.41
5.6.210.0090.04018.32
5.6.200.0110.04118.63
5.6.190.0030.04618.63
5.6.180.0060.03118.55
5.6.170.0040.04918.57
5.6.160.0030.02618.57
5.6.150.0100.02818.60
5.6.140.0100.04218.50
5.6.130.0080.04518.67
5.6.120.0090.04218.67
5.6.110.0070.02818.55
5.6.100.0040.04618.62
5.6.90.0080.04018.48
5.6.80.0060.02618.22
5.6.70.0090.03418.20
5.6.60.0070.03218.16
5.6.50.0050.04618.25
5.6.40.0080.04118.22
5.6.30.0070.04518.30
5.6.20.0050.03018.17
5.6.10.0080.04118.23
5.6.00.0100.04318.08
5.5.380.0030.00615.85
5.5.370.0040.00716.06
5.5.360.0080.04718.35
5.5.350.0100.02918.34
5.5.340.0110.03418.70
5.5.330.0110.03818.42
5.5.320.0050.02618.52
5.5.310.0040.03218.47
5.5.300.0030.03718.51
5.5.290.0090.04518.42
5.5.280.0060.04518.44
5.5.270.0040.04418.35
5.5.260.0070.04018.44
5.5.250.0050.04218.33
5.5.240.0050.03518.09
5.5.230.0030.02518.15
5.5.220.0020.03218.05
5.5.210.0080.03818.08
5.5.200.0100.04018.15
5.5.190.0070.03418.00
5.5.180.0050.04218.05
5.5.170.0030.00615.74
5.5.160.0050.04518.06
5.5.150.0050.04218.05
5.5.140.0050.04818.01
5.5.130.0100.03818.04
5.5.120.0070.04018.08
5.5.110.0070.04318.20
5.5.100.0130.03818.11
5.5.90.0120.04017.98
5.5.80.0060.04117.98
5.5.70.0070.03118.02
5.5.60.0090.02217.90
5.5.50.0080.04118.06
5.5.40.0070.04418.04
5.5.30.0060.04418.12
5.5.20.0080.04417.88
5.5.10.0110.03018.07
5.5.00.0100.04218.04
5.4.450.0030.04916.40
5.4.440.0050.04516.42
5.4.430.0070.04016.42
5.4.420.0070.04016.31
5.4.410.0030.04016.25
5.4.400.0030.02716.25
5.4.390.0090.02416.22
5.4.380.0030.02316.24
5.4.370.0020.03416.32
5.4.360.0070.04316.25
5.4.350.0100.03816.24
5.4.340.0050.04016.22
5.4.330.0040.00813.29
5.4.320.0090.03016.08
5.4.310.0140.03716.32
5.4.300.0050.03716.25
5.4.290.0070.04516.25
5.4.280.0030.04216.22
5.4.270.0040.02916.22
5.4.260.0070.03916.23
5.4.250.0100.03316.22
5.4.240.0130.03516.14
5.4.230.0070.04016.23
5.4.220.0060.04116.19
5.4.210.0070.02216.24
5.4.200.0070.04016.09
5.4.190.0070.03016.23
5.4.180.0070.03216.23
5.4.170.0080.02916.23
5.4.160.0050.04216.23
5.4.150.0020.04516.24
5.4.140.0020.04314.90
5.4.130.0020.02914.76
5.4.120.0120.03014.90
5.4.110.0030.04014.94
5.4.100.0070.04014.88
5.4.90.0090.03514.91
5.4.80.0050.03114.92
5.4.70.0070.03314.84
5.4.60.0070.03014.92
5.4.50.0050.03014.85
5.4.40.0040.04014.81
5.4.30.0060.03814.82
5.4.20.0030.02114.94
5.4.10.0100.03814.84
5.4.00.0080.03714.61
5.3.290.0100.03814.08
5.3.280.0100.03514.01
5.3.270.0030.03613.92
5.3.260.0050.03713.98
5.3.250.0070.03813.89
5.3.240.0050.04213.94
5.3.230.0120.03513.94
5.3.220.0050.04313.98
5.3.210.0080.04013.89
5.3.200.0060.04013.99
5.3.190.0070.04513.89
5.3.180.0030.04713.99
5.3.170.0120.03413.88
5.3.160.0100.03513.88
5.3.150.0110.03313.99
5.3.140.0050.02913.98
5.3.130.0080.03013.95
5.3.120.0100.02313.95
5.3.110.0030.04813.93
5.3.100.0030.02513.62
5.3.90.0050.04013.68
5.3.80.0050.04213.68
5.3.70.0050.04213.71
5.3.60.0050.03913.55
5.3.50.0030.03813.69
5.3.40.0070.03213.67
5.3.30.0060.02713.56
5.3.20.0080.03513.52
5.3.10.0060.03313.50
5.3.00.0020.04013.50
5.2.170.0030.06712.41
5.2.160.0000.07012.41
5.2.150.0100.03712.41
5.2.140.0030.05712.41
5.2.130.0000.05312.41
5.2.120.0070.03712.41
5.2.110.0030.05012.41
5.2.100.0030.05712.41
5.2.90.0000.06712.41
5.2.80.0070.06012.41
5.2.70.0000.06712.41
5.2.60.0030.06712.41
5.2.50.0130.04012.41
5.2.40.0000.04712.41
5.2.30.0100.04012.41
5.2.20.0000.03712.41
5.2.10.0170.05312.41
5.2.00.0070.05712.41
5.1.60.0070.05312.41
5.1.50.0070.05012.41
5.1.40.0070.05012.41
5.1.30.0100.05312.41
5.1.20.0030.06312.41
5.1.10.0070.05712.41
5.1.00.0070.05712.41
5.0.50.0030.04712.41
5.0.40.0070.04312.41
5.0.30.0030.05312.41
5.0.20.0000.03712.41
5.0.10.0030.04312.41
5.0.00.0100.05712.41
4.4.90.0070.02712.41
4.4.80.0070.04012.41
4.4.70.0030.03312.41
4.4.60.0030.03712.41
4.4.50.0000.03312.41
4.4.40.0030.05012.41
4.4.30.0030.03312.41
4.4.20.0030.03012.41
4.4.10.0000.03012.41
4.4.00.0030.05312.41
4.3.110.0000.04012.41
4.3.100.0070.02312.41
4.3.90.0030.03312.41
4.3.80.0030.05712.41
4.3.70.0030.03712.41
4.3.60.0000.03312.41
4.3.50.0030.03312.41
4.3.40.0070.04712.41
4.3.30.0030.03312.41
4.3.20.0000.03712.41
4.3.10.0000.03312.41
4.3.00.0000.03312.41

preferences:
50.09 ms | 401 KiB | 5 Q