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.0100.01018.55
8.3.50.0100.01021.21
8.3.40.0210.00018.97
8.3.30.0030.01020.44
8.3.20.0040.00420.61
8.3.10.0050.00321.36
8.3.00.0080.00022.70
8.2.180.0150.00316.88
8.2.170.0040.01422.96
8.2.160.0070.00720.70
8.2.150.0090.00625.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00021.07
8.2.110.0060.00322.29
8.2.100.0070.00417.91
8.2.90.0050.00317.88
8.2.80.0040.00418.16
8.2.70.0000.00818.05
8.2.60.0050.00318.05
8.2.50.0060.00319.85
8.2.40.0050.00220.79
8.2.30.0000.00719.65
8.2.20.0040.00417.83
8.2.10.0080.00018.10
8.2.00.0000.00817.97
8.1.280.0040.01125.92
8.1.270.0080.00023.99
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0100.00020.94
8.1.230.0000.01119.38
8.1.220.0030.00518.01
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0060.00318.91
8.1.160.0000.00819.12
8.1.150.0040.00418.81
8.1.140.0070.00017.57
8.1.130.0000.00718.07
8.1.120.0000.00817.72
8.1.110.0040.00417.55
8.1.100.0040.00417.75
8.1.90.0050.00217.65
8.1.80.0040.00417.73
8.1.70.0040.00417.60
8.1.60.0030.00617.70
8.1.50.0000.00717.79
8.1.40.0000.00817.79
8.1.30.0000.00817.76
8.1.20.0030.00517.79
8.1.10.0040.00417.87
8.1.00.0040.00417.61
8.0.300.0040.00421.54
8.0.290.0050.00316.88
8.0.280.0000.00718.67
8.0.270.0030.00317.36
8.0.260.0050.00317.10
8.0.250.0030.00317.25
8.0.240.0030.00917.21
8.0.230.0000.00717.20
8.0.220.0030.00317.14
8.0.210.0000.00817.14
8.0.200.0050.00217.19
8.0.190.0000.00817.03
8.0.180.0040.00416.96
8.0.170.0000.00817.15
8.0.160.0000.00716.91
8.0.150.0040.00417.00
8.0.140.0040.00417.13
8.0.130.0030.00313.45
8.0.120.0080.00016.99
8.0.110.0040.00417.17
8.0.100.0040.00417.11
8.0.90.0040.00416.93
8.0.80.0060.01517.07
8.0.70.0000.00817.13
8.0.60.0000.00716.97
8.0.50.0050.00217.00
8.0.30.0110.00917.47
8.0.20.0160.00917.40
8.0.10.0030.00517.25
8.0.00.0100.01316.99
7.4.330.0050.00016.92
7.4.320.0030.00316.83
7.4.300.0030.00316.80
7.4.290.0070.00016.69
7.4.280.0000.00716.71
7.4.270.0000.00716.69
7.4.260.0000.00513.41
7.4.250.0070.00016.70
7.4.240.0000.00716.87
7.4.230.0030.00316.68
7.4.220.0170.01016.70
7.4.210.0060.00816.81
7.4.200.0070.00016.84
7.4.190.0000.00716.60
7.4.160.0090.00916.68
7.4.150.0070.01317.40
7.4.140.0140.00817.86
7.4.130.0110.00616.57
7.4.120.0090.00816.79
7.4.110.0080.00816.46
7.4.100.0120.00616.85
7.4.90.0100.01016.72
7.4.80.0100.00719.39
7.4.70.0210.00016.80
7.4.60.0160.00316.57
7.4.50.0030.00616.67
7.4.40.0040.01522.77
7.4.30.0090.00916.79
7.4.00.0060.00915.07
7.3.330.0000.00513.39
7.3.320.0000.00613.21
7.3.310.0000.00716.52
7.3.300.0060.00016.50
7.3.290.0110.00916.46
7.3.280.0050.01016.47
7.3.270.0100.01417.40
7.3.260.0110.01018.24
7.3.250.0160.00816.51
7.3.240.0100.01016.92
7.3.230.0100.01016.64
7.3.210.0110.00616.73
7.3.200.0140.00919.39
7.3.190.0040.01116.73
7.3.180.0160.00016.80
7.3.170.0040.01216.60
7.3.160.0090.00916.75
7.3.120.0080.00815.04
7.3.110.0000.01515.30
7.3.100.0030.01115.06
7.3.90.0040.01114.75
7.3.80.0000.01014.93
7.3.70.0030.01014.84
7.3.60.0070.01015.00
7.3.50.0110.00314.98
7.3.40.0100.00314.95
7.3.30.0030.00915.15
7.3.20.0000.01416.64
7.3.10.0070.00716.61
7.3.00.0090.00616.63
7.2.330.0130.00316.79
7.2.320.0100.01016.89
7.2.310.0070.01117.11
7.2.300.0040.01316.62
7.2.290.0040.01516.86
7.2.240.0100.00715.18
7.2.230.0090.00615.37
7.2.220.0060.00915.07
7.2.210.0030.01315.46
7.2.200.0000.01715.31
7.2.190.0120.00014.96
7.2.180.0030.00914.96
7.2.170.0070.00715.30
7.2.160.0060.00615.39
7.2.150.0030.00617.04
7.2.140.0110.00017.16
7.2.130.0030.00717.12
7.2.120.0000.01316.97
7.2.110.0070.01016.97
7.2.100.0030.00516.72
7.2.90.0020.01416.71
7.2.80.0110.00316.82
7.2.70.0020.01117.12
7.2.60.0050.00917.03
7.2.50.0040.00517.10
7.2.40.0080.00817.08
7.2.30.0030.00917.02
7.2.20.0060.00617.01
7.2.10.0020.01317.16
7.2.00.0060.00717.75
7.1.330.0030.01315.95
7.1.320.0030.00616.02
7.1.310.0060.00916.00
7.1.300.0070.00715.82
7.1.290.0080.00415.74
7.1.280.0030.00916.17
7.1.270.0060.01016.12
7.1.260.0030.01016.11
7.1.250.0030.01016.01
7.1.230.0060.00315.74
7.1.220.0130.00015.82
7.1.210.0030.01015.70
7.1.200.0000.00815.77
7.1.190.0000.01115.87
7.1.180.0070.00715.88
7.1.170.0100.00316.02
7.1.160.0060.00615.74
7.1.150.0090.00315.86
7.1.140.0030.01016.00
7.1.130.0030.00516.22
7.1.120.0060.00615.71
7.1.110.0030.00716.20
7.1.100.0060.00517.21
7.1.90.0090.00315.87
7.1.80.0040.00415.99
7.1.70.0070.00416.46
7.1.60.0080.01217.55
7.1.50.0100.01116.51
7.1.40.0070.00716.16
7.1.30.0100.00715.91
7.1.20.0090.00916.26
7.1.10.0070.00316.00
7.1.00.0030.03619.29
7.0.310.0050.00315.30
7.0.300.0070.00015.60
7.0.290.0070.00015.44
7.0.280.0030.00715.48
7.0.270.0070.00315.39
7.0.260.0000.00715.57
7.0.250.0070.00715.58
7.0.240.0100.00315.65
7.0.230.0070.00015.49
7.0.220.0060.00615.59
7.0.210.0030.00715.68
7.0.200.0060.00316.23
7.0.190.0000.01215.37
7.0.180.0090.00615.62
7.0.170.0060.00315.38
7.0.160.0060.00615.57
7.0.150.0090.00315.61
7.0.140.0030.04318.85
7.0.130.0070.00315.26
7.0.120.0070.00415.57
7.0.110.0000.01515.59
7.0.100.0140.03217.80
7.0.90.0050.02417.81
7.0.80.0050.02517.83
7.0.70.0070.03317.74
7.0.60.0120.02617.70
7.0.50.0050.02817.91
7.0.40.0050.04216.77
7.0.30.0090.03416.86
7.0.20.0080.02216.75
7.0.10.0020.02716.86
7.0.00.0100.02217.00
5.6.380.0070.00314.21
5.6.370.0090.00314.20
5.6.360.0040.00814.27
5.6.350.0030.00914.34
5.6.340.0100.00014.55
5.6.330.0040.00814.50
5.6.320.0070.00714.54
5.6.310.0080.00314.05
5.6.300.0000.00614.42
5.6.290.0000.00714.38
5.6.280.0070.03517.71
5.6.270.0060.00614.36
5.6.260.0030.00714.71
5.6.250.0050.03017.69
5.6.240.0100.03217.55
5.6.230.0030.03117.58
5.6.220.0050.04217.52
5.6.210.0050.03117.70
5.6.200.0050.02717.68
5.6.190.0070.02417.72
5.6.180.0030.03317.96
5.6.170.0090.02817.72
5.6.160.0000.03317.71
5.6.150.0060.02317.64
5.6.140.0020.02917.76
5.6.130.0050.02717.75
5.6.120.0050.02617.67
5.6.110.0120.02217.70
5.6.100.0080.04517.93
5.6.90.0070.03817.75
5.6.80.0070.03017.45
5.6.70.0050.02717.38
5.6.60.0050.02917.52
5.6.50.0070.02817.47
5.6.40.0020.02917.27
5.6.30.0050.04017.46
5.6.20.0100.03517.39
5.6.10.0080.04317.49
5.6.00.0070.04217.40
5.5.380.0050.02715.82
5.5.370.0030.02815.79
5.5.360.0020.03715.92
5.5.350.0030.02815.91
5.5.340.0100.02216.19
5.5.330.0030.03515.96
5.5.320.0080.03515.91
5.5.310.0100.02716.10
5.5.300.0080.02516.00
5.5.290.0100.02416.01
5.5.280.0050.02815.96
5.5.270.0020.02716.12
5.5.260.0060.02615.97
5.5.250.0030.04915.85
5.5.240.0050.02315.60
5.5.230.0030.03915.78
5.5.220.0030.03015.68
5.5.210.0090.03315.53
5.5.200.0010.02915.65
5.5.190.0030.03315.54
5.5.180.0070.02415.52
5.5.170.0040.00713.99
5.5.160.0030.02615.71
5.5.150.0050.03415.71
5.5.140.0030.02715.74
5.5.130.0110.01615.48
5.5.120.0100.03715.55
5.5.110.0060.03015.57
5.5.100.0080.04015.71
5.5.90.0080.03215.52
5.5.80.0040.03615.56
5.5.70.0050.03515.72
5.5.60.0080.04015.62
5.5.50.0020.02815.74
5.5.40.0150.02215.60
5.5.30.0090.02315.49
5.5.20.0050.02815.60
5.5.10.0050.02615.41
5.5.00.0070.03315.66
5.4.450.0030.02515.08
5.4.440.0050.02415.35
5.4.430.0070.02515.47
5.4.420.0120.01815.29
5.4.410.0050.02815.40
5.4.400.0030.02914.91
5.4.390.0040.02715.07
5.4.380.0070.03415.11
5.4.370.0070.03515.15
5.4.360.0030.03515.13
5.4.350.0120.02315.11
5.4.340.0090.03715.15
5.4.330.0040.00410.98
5.4.320.0080.02215.04
5.4.310.0080.03715.16
5.4.300.0080.03014.92
5.4.290.0050.02515.05
5.4.280.0060.03515.04
5.4.270.0070.03714.97
5.4.260.0050.04015.13
5.4.250.0030.03815.07
5.4.240.0080.03615.19
5.4.230.0050.03215.16
5.4.220.0020.02615.24
5.4.210.0030.02715.03
5.4.200.0040.03815.06
5.4.190.0050.01915.07
5.4.180.0050.03315.08
5.4.170.0070.04114.99
5.4.160.0080.02614.89
5.4.150.0020.02315.06
5.4.140.0030.02113.75
5.4.130.0070.02013.61
5.4.120.0020.02213.73
5.4.110.0090.02313.86
5.4.100.0080.01813.64
5.4.90.0080.02513.69
5.4.80.0040.02213.72
5.4.70.0050.02013.87
5.4.60.0050.02513.79
5.4.50.0100.01713.74
5.4.40.0070.02213.79
5.4.30.0040.02413.67
5.4.20.0040.01813.65
5.4.10.0040.03913.82
5.4.00.0050.03413.33
5.3.290.0080.03912.61
5.3.280.0100.01712.66
5.3.270.0040.02912.68
5.3.260.0080.02812.63
5.3.250.0070.02712.55
5.3.240.0030.02312.57
5.3.230.0110.02012.68
5.3.220.0040.02612.59
5.3.210.0100.02012.65
5.3.200.0060.02512.64
5.3.190.0040.03412.61
5.3.180.0050.02812.59
5.3.170.0000.02612.63
5.3.160.0030.02912.64
5.3.150.0100.02012.63
5.3.140.0050.02112.61
5.3.130.0080.02312.61
5.3.120.0050.04012.65
5.3.110.0110.02512.53
5.3.100.0070.02512.36
5.3.90.0060.03312.39
5.3.80.0050.03312.33
5.3.70.0080.02612.38
5.3.60.0050.02512.39
5.3.50.0050.02512.28
5.3.40.0080.02512.30
5.3.30.0080.01812.29
5.3.20.0060.03012.17
5.3.10.0100.02912.18
5.3.00.0110.02712.19
5.2.170.0030.02610.95
5.2.160.0040.02210.93
5.2.150.0090.02210.87
5.2.140.0050.02110.91
5.2.130.0030.02710.80
5.2.120.0060.01710.86
5.2.110.0050.02110.92
5.2.100.0080.01910.89
5.2.90.0070.01810.89
5.2.80.0070.02010.90
5.2.70.0040.01710.89
5.2.60.0060.01510.92
5.2.50.0040.02310.76
5.2.40.0070.02310.83
5.2.30.0060.02510.86
5.2.20.0040.01710.82
5.2.10.0040.01910.72
5.2.00.0000.02010.77
5.1.60.0070.01210.36
5.1.50.0110.01610.35
5.1.40.0020.01910.39
5.1.30.0060.01510.48
5.1.20.0030.02310.48
5.1.10.0030.01810.41
5.1.00.0030.01610.41
5.0.50.0030.02010.20
5.0.40.0060.01110.20
5.0.30.0040.02310.20
5.0.20.0040.01310.20
5.0.10.0020.01910.20
5.0.00.0060.01810.20
4.4.90.0030.00810.20
4.4.80.0050.01310.20
4.4.70.0030.01010.20
4.4.60.0000.01310.20
4.4.50.0050.00910.20
4.4.40.0020.02110.20
4.4.30.0020.01510.20
4.4.20.0010.01510.20
4.4.10.0020.01510.20
4.4.00.0020.01810.20
4.3.110.0040.01010.20
4.3.100.0020.02010.20
4.3.90.0000.01410.20
4.3.80.0020.02110.20
4.3.70.0050.01310.20
4.3.60.0030.00910.20
4.3.50.0020.01210.20
4.3.40.0020.01610.20
4.3.30.0010.01510.20
4.3.20.0020.01610.20
4.3.10.0020.01510.20
4.3.00.0020.01210.20

preferences:
62.78 ms | 401 KiB | 5 Q