3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOD <?xml version="1.0" encoding="UTF-8"?> <gvq:GVQ_Metadata id="dataset_MD" xmlns:updated19115="http://www.geoviqua.org/19115_updates" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gvq="http://www.geoviqua.org/QualityInformationModel/4.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd19157="http://www.geoviqua.org/gmd19157" xmlns:un="http://www.uncertml.org/2.0" xmlns:qml="http://qualityml.geoviqua.org/1.0" xsi:schemaLocation="http://www.geoviqua.org/QualityInformationModel/4.0 http://schemas.geoviqua.org/GVQ/4.0/GeoViQua_PQM_UQM.xsd http://www.uncertml.org/2.0 http://qualityml.geoviqua.org/schemas/uncertml/2.0/uncertml.xsd http://qualityml.geoviqua.org/1.0 http://qualityml.geoviqua.org/schemas/qualityml/1.0/qualityml.xsd"> <gmd:fileIdentifier> <gco:CharacterString>mtri2an1ib</gco:CharacterString> </gmd:fileIdentifier> </gvq:GVQ_Metadata> EOD; $dom = new DOMDocument; $dom->loadXML($xml); // get all the namespaces in the document $sxe = new SimpleXMLElement($xml); $ns = $sxe->getDocNamespaces(TRUE); $dom->getElementsByTagNameNS($ns["gmd"], "fileIdentifier")->item(0)->nodeValue = "something"; echo $dom->saveXML(); ?>

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.0160.00318.55
8.3.50.0150.00016.63
8.3.40.0120.00319.22
8.3.30.0070.00720.55
8.3.20.0040.00420.58
8.3.10.0000.00822.29
8.3.00.0080.00022.66
8.2.180.0120.00616.88
8.2.170.0070.00722.96
8.2.160.0100.00322.57
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0090.00026.16
8.2.120.0080.00019.73
8.2.110.0030.00622.52
8.2.100.0090.00318.16
8.2.90.0000.00819.59
8.2.80.0040.00419.46
8.2.70.0080.00017.88
8.2.60.0030.00618.29
8.2.50.0000.00918.07
8.2.40.0080.00018.44
8.2.30.0000.00819.69
8.2.20.0050.00318.03
8.2.10.0000.00817.93
8.2.00.0000.00817.94
8.1.270.0040.00722.31
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.85
8.1.230.0080.00421.15
8.1.220.0080.00018.04
8.1.210.0050.00318.77
8.1.200.0040.00417.60
8.1.190.0040.00417.68
8.1.180.0080.00018.10
8.1.170.0000.00918.80
8.1.160.0040.00419.11
8.1.150.0080.00418.86
8.1.140.0040.00417.68
8.1.130.0030.00518.09
8.1.120.0040.00417.71
8.1.110.0000.00817.73
8.1.100.0080.00017.78
8.1.90.0000.00817.70
8.1.80.0030.00317.80
8.1.70.0020.00517.70
8.1.60.0000.00917.84
8.1.50.0060.00317.60
8.1.40.0050.00317.65
8.1.30.0040.00417.75
8.1.20.0000.00817.74
8.1.10.0000.00817.91
8.1.00.0030.00517.84
8.0.300.0040.00418.77
8.0.290.0000.00717.30
8.0.280.0080.00018.68
8.0.270.0000.00717.52
8.0.260.0000.00817.16
8.0.250.0030.00317.32
8.0.240.0040.00417.19
8.0.230.0030.00317.26
8.0.220.0070.00017.17
8.0.210.0070.00017.20
8.0.200.0040.00417.13
8.0.190.0030.00617.23
8.0.180.0070.00017.21
8.0.170.0040.00417.20
8.0.160.0030.00517.15
8.0.150.0000.00717.21
8.0.140.0040.00417.12
8.0.130.0060.00013.58
8.0.120.0040.00417.23
8.0.110.0000.00716.99
8.0.100.0000.00716.99
8.0.90.0070.00017.25
8.0.80.0110.00417.30
8.0.70.0080.00017.17
8.0.60.0000.00717.04
8.0.50.0000.00817.20
8.0.30.0130.00617.21
8.0.20.0080.01117.56
8.0.10.0000.00717.38
8.0.00.0120.00817.18
7.4.330.0060.00015.34
7.4.320.0030.00316.79
7.4.300.0040.00416.87
7.4.290.0080.00016.79
7.4.280.0030.00516.80
7.4.270.0000.00716.73
7.4.260.0030.00313.47
7.4.250.0030.00516.71
7.4.240.0070.00016.71
7.4.230.0070.00016.73
7.4.220.0030.01616.71
7.4.210.0090.00616.84
7.4.200.0050.00216.79
7.4.190.0040.00416.57
7.4.160.0070.01016.79
7.4.150.0030.01317.40
7.4.140.0080.01017.86
7.4.130.0040.01516.80
7.4.120.0130.00416.68
7.4.110.0120.00616.77
7.4.100.0070.01016.88
7.4.90.0090.01216.71
7.4.80.0030.01819.39
7.4.70.0110.00416.95
7.4.60.0140.00716.64
7.4.50.0000.00516.48
7.4.40.0030.01322.77
7.4.30.0100.00716.77
7.4.10.0150.00414.76
7.4.00.0080.00815.06
7.3.330.0060.00013.45
7.3.320.0030.00313.43
7.3.310.0000.00816.42
7.3.300.0030.00316.68
7.3.290.0060.00916.69
7.3.280.0080.00716.62
7.3.270.0030.01417.40
7.3.260.0110.00716.89
7.3.250.0110.01116.71
7.3.240.0150.00916.64
7.3.230.0130.01016.73
7.3.210.0090.01216.71
7.3.200.0040.01319.39
7.3.190.0030.01416.64
7.3.180.0090.00616.82
7.3.170.0030.01616.76
7.3.160.0030.01316.48
7.3.130.0100.01014.92
7.3.120.0090.00815.04
7.3.110.0060.01114.85
7.3.100.0040.01015.00
7.3.90.0100.00514.88
7.3.80.0060.00514.89
7.3.70.0100.00714.78
7.3.60.0020.01014.98
7.3.50.0100.00214.88
7.3.40.0050.00814.91
7.3.30.0030.01014.81
7.3.20.0040.01216.62
7.3.10.0070.01016.87
7.3.00.0050.00816.74
7.2.330.0130.01016.68
7.2.320.0110.00716.70
7.2.310.0160.00017.07
7.2.300.0030.02016.96
7.2.290.0030.01316.97
7.2.260.0110.00715.34
7.2.250.0120.00615.31
7.2.240.0000.01415.27
7.2.230.0050.01215.16
7.2.220.0020.01415.25
7.2.210.0030.01215.13
7.2.200.0060.00615.14
7.2.190.0090.00715.09
7.2.180.0060.00915.28
7.2.170.0050.01015.21
7.2.160.0050.01415.23
7.2.150.0080.00817.14
7.2.140.0030.01017.02
7.2.130.0070.00716.94
7.2.120.0020.01217.21
7.2.110.0060.00517.06
7.2.100.0040.00817.03
7.2.90.0050.01117.19
7.2.80.0090.00517.22
7.2.70.0030.00817.04
7.2.60.0050.01117.17
7.2.50.0090.00716.98
7.2.40.0070.00617.26
7.2.30.0030.01316.97
7.2.20.0070.00917.00
7.2.10.0120.00317.00
7.2.00.0080.00617.00
7.1.330.0060.00815.75
7.1.320.0050.00615.82
7.1.310.0020.01216.06
7.1.300.0030.01015.96
7.1.290.0080.00315.92
7.1.280.0050.01015.69
7.1.270.0080.00815.72
7.1.260.0030.00615.94
7.1.250.0030.00715.89
7.1.240.0070.00715.82
7.1.230.0100.00015.71
7.1.220.0000.01215.76
7.1.210.0100.00615.79
7.1.200.0090.00615.89
7.1.190.0060.00615.96
7.1.180.0030.01015.70
7.1.170.0090.00015.85
7.1.160.0000.01415.99
7.1.150.0040.01115.79
7.1.140.0090.00616.05
7.1.130.0090.00016.07
7.1.120.0030.01315.86
7.1.110.0030.01015.90
7.1.100.0030.01017.06
7.1.90.0060.00615.83
7.1.80.0030.00616.00
7.1.70.0020.00916.51
7.1.60.0070.01117.68
7.1.50.0050.00916.37
7.1.40.0090.00015.67
7.1.30.0000.01215.96
7.1.20.0040.00816.06
7.1.10.0060.00915.73
7.1.00.0050.02519.13
7.0.330.0000.01515.34
7.0.320.0070.00715.50
7.0.310.0090.00315.67
7.0.300.0000.01415.75
7.0.290.0040.00815.69
7.0.280.0000.01915.54
7.0.270.0080.00815.35
7.0.260.0000.01115.47
7.0.250.0070.00415.73
7.0.240.0060.00615.77
7.0.230.0060.00615.28
7.0.220.0070.00715.48
7.0.210.0060.00615.51
7.0.200.0030.00916.04
7.0.190.0060.00315.61
7.0.180.0070.00315.45
7.0.170.0030.00715.67
7.0.160.0000.01315.47
7.0.150.0060.00915.19
7.0.140.0120.03418.84
7.0.130.0000.01415.57
7.0.120.0030.00615.68
7.0.110.0000.00915.37
7.0.100.0030.01015.74
7.0.90.0060.00615.66
7.0.80.0060.00315.55
7.0.70.0080.04318.71
7.0.60.0030.04118.63
7.0.50.0000.04118.88
7.0.40.0070.03716.81
7.0.30.0060.04016.92
7.0.20.0060.04216.87
7.0.10.0040.04716.97
7.0.00.0020.03616.93
5.6.400.0060.00614.64
5.6.390.0040.01214.89
5.6.380.0100.00314.51
5.6.370.0030.01214.60
5.6.360.0060.00914.30
5.6.350.0070.01014.66
5.6.340.0060.01214.90
5.6.330.0000.01314.66
5.6.320.0030.01214.40
5.6.310.0070.01014.73
5.6.300.0060.00914.69
5.6.290.0000.01714.34
5.6.280.0140.00014.72
5.6.270.0030.01514.63
5.6.260.0040.00414.54
5.6.250.0070.00714.71
5.6.240.0030.01014.41
5.6.230.0080.00414.91
5.6.220.0030.04017.45
5.6.210.0070.04217.57
5.6.200.0080.04217.79
5.6.190.0080.03718.03
5.6.180.0070.04517.92
5.6.170.0030.05017.91
5.6.160.0040.03117.67
5.6.150.0050.02117.83
5.6.140.0030.02117.85
5.6.130.0050.02517.84
5.6.120.0000.02417.84
5.6.110.0000.03017.69
5.6.100.0030.04517.98
5.6.90.0050.04017.90
5.6.80.0050.02117.53
5.6.70.0050.03017.35
5.6.60.0050.03817.45
5.6.50.0000.03217.47
5.6.40.0080.01817.68
5.6.30.0020.02517.49
5.6.20.0020.03017.54
5.6.10.0040.02717.52
5.6.00.0100.02017.47
5.5.380.0090.00614.55
5.5.370.0070.00714.27
5.5.360.0080.04317.63
5.5.350.0030.04517.46
5.5.340.0030.04617.77
5.5.330.0050.04717.80
5.5.320.0070.03617.59
5.5.310.0060.04817.51
5.5.300.0050.02517.68
5.5.290.0020.02717.74
5.5.280.0070.02217.60
5.5.270.0080.02317.83
5.5.260.0000.02817.64
5.5.250.0060.02217.57
5.5.240.0020.02517.42
5.5.230.0050.04317.41
5.5.220.0030.02717.39
5.5.210.0050.02717.42
5.5.200.0040.02517.41
5.5.190.0070.01917.34
5.5.180.0030.02117.29
5.5.170.0030.01414.50
5.5.160.0050.02217.31
5.5.150.0030.02517.27
5.5.140.0140.01517.34
5.5.130.0060.02317.35
5.5.120.0050.03017.36
5.5.110.0030.03017.53
5.5.100.0100.01817.18
5.5.90.0060.03117.27
5.5.80.0070.02217.29
5.5.70.0030.02317.25
5.5.60.0090.01617.17
5.5.50.0050.02617.27
5.5.40.0020.02817.21
5.5.30.0060.03917.23
5.5.20.0030.02617.21
5.5.10.0050.02317.34
5.5.00.0020.02517.18
5.4.450.0020.02215.13
5.4.440.0050.02215.34
5.4.430.0030.02815.23
5.4.420.0040.02115.34
5.4.410.0040.02215.28
5.4.400.0050.02515.19
5.4.390.0090.03715.03
5.4.380.0070.03215.17
5.4.370.0020.04315.16
5.4.360.0020.03315.27
5.4.350.0030.02314.96
5.4.340.0020.02215.00
5.4.330.0060.00711.28
5.4.320.0020.02715.21
5.4.310.0050.02115.12
5.4.300.0070.03515.03
5.4.290.0040.02015.01
5.4.280.0060.02515.20
5.4.270.0030.02314.88
5.4.260.0020.02415.15
5.4.250.0030.03015.18
5.4.240.0000.02515.13
5.4.230.0020.02315.13
5.4.220.0020.02215.14
5.4.210.0070.02715.13
5.4.200.0020.02415.16
5.4.190.0020.02215.21
5.4.180.0030.02214.95
5.4.170.0020.02715.21
5.4.160.0020.02415.01
5.4.150.0070.01815.07
5.4.140.0080.02813.87
5.4.130.0020.02013.80
5.4.120.0030.02213.78
5.4.110.0020.03113.75
5.4.100.0030.03813.80
5.4.90.0040.03313.83
5.4.80.0050.02813.67
5.4.70.0020.03913.70
5.4.60.0060.04113.78
5.4.50.0060.03913.74
5.4.40.0020.03413.88
5.4.30.0030.03913.76
5.4.20.0010.03113.78
5.4.10.0050.03113.89
5.4.00.0030.04113.56
5.3.290.0020.02312.72
5.3.280.0050.02112.57
5.3.270.0050.02112.64
5.3.260.0030.02512.64
5.3.250.0030.02212.66
5.3.240.0030.02112.62
5.3.230.0060.02312.57
5.3.220.0020.02212.42
5.3.210.0020.04612.50
5.3.200.0030.02612.61
5.3.190.0050.02712.68
5.3.180.0080.02912.79
5.3.170.0000.03712.65
5.3.160.0000.03212.65
5.3.150.0050.02812.70
5.3.140.0020.04012.64
5.3.130.0030.04012.60
5.3.120.0030.04512.61
5.3.110.0020.04712.63
5.3.100.0030.03812.36
5.3.90.0070.03312.37
5.3.80.0000.03712.15
5.3.70.0020.02812.32
5.3.60.0000.04312.36
5.3.50.0050.04112.25
5.3.40.0000.04312.27
5.3.30.0020.04112.26
5.3.20.0030.03412.19
5.3.10.0030.03612.04
5.3.00.0020.03712.00
5.2.170.0000.06012.25
5.2.160.0000.06012.25
5.2.150.0030.06312.25
5.2.140.0070.06012.25
5.2.130.0000.06012.25
5.2.120.0030.06312.25
5.2.110.0070.03312.25
5.2.100.0000.06312.25
5.2.90.0030.06012.25
5.2.80.0070.03312.25
5.2.70.0030.04712.25
5.2.60.0030.06312.25
5.2.50.0030.06712.25
5.2.40.0030.05012.25
5.2.30.0100.05312.25
5.2.20.0030.05312.25
5.2.10.0000.06012.25
5.2.00.0030.06012.25
5.1.60.0100.04712.25
5.1.50.0030.03312.25
5.1.40.0030.05312.25
5.1.30.0030.06012.25
5.1.20.0030.05312.25
5.1.10.0030.04712.25
5.1.00.0000.05712.25
5.0.50.0000.04012.25
5.0.40.0070.04012.25
5.0.30.0000.03312.25
5.0.20.0000.03312.25
5.0.10.0070.04312.25
5.0.00.0070.06012.25
4.4.90.0070.02312.25
4.4.80.0000.03712.25
4.4.70.0030.03312.25
4.4.60.0070.03012.25
4.4.50.0070.03012.25
4.4.40.0000.05312.25
4.4.30.0070.02712.25
4.4.20.0000.03712.25
4.4.10.0030.03012.25
4.4.00.0030.04312.25
4.3.110.0070.02712.25
4.3.100.0000.03312.25
4.3.90.0000.03712.25
4.3.80.0000.04012.25
4.3.70.0030.03312.25
4.3.60.0000.03712.25
4.3.50.0070.02312.25
4.3.40.0000.05312.25
4.3.30.0000.02712.25
4.3.20.0000.03312.25
4.3.10.0000.03712.25
4.3.00.0000.02712.25

preferences:
94.05 ms | 400 KiB | 5 Q