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 = "llllll"; 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.40.0140.00719.13
8.3.30.0110.00419.46
8.3.20.0060.00320.64
8.3.10.0040.00423.90
8.3.00.0030.00522.74
8.2.170.0000.01522.96
8.2.160.0130.00320.72
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0130.00626.16
8.2.120.0060.00322.59
8.2.110.0030.00622.58
8.2.100.0040.00818.16
8.2.90.0000.00919.42
8.2.80.0040.00418.18
8.2.70.0040.00417.88
8.2.60.0030.00618.16
8.2.50.0080.00418.07
8.2.40.0030.00618.47
8.2.30.0000.00718.38
8.2.20.0030.00518.00
8.2.10.0030.00518.05
8.2.00.0050.00318.03
8.1.270.0040.00424.04
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00423.96
8.1.230.0080.00419.29
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0050.00617.60
8.1.190.0030.00617.66
8.1.180.0030.00618.10
8.1.170.0050.00518.96
8.1.160.0000.00822.18
8.1.150.0030.00618.79
8.1.140.0060.00317.68
8.1.130.0070.00018.04
8.1.120.0040.00417.61
8.1.110.0030.00517.58
8.1.100.0080.00017.70
8.1.90.0000.00817.58
8.1.80.0030.00317.74
8.1.70.0000.00717.71
8.1.60.0060.00617.63
8.1.50.0040.00417.83
8.1.40.0000.00917.65
8.1.30.0030.00517.79
8.1.20.0000.00817.77
8.1.10.0040.00417.97
8.1.00.0030.00517.88
8.0.300.0040.00418.77
8.0.290.0000.00717.30
8.0.280.0030.00318.71
8.0.270.0080.00017.57
8.0.260.0030.00417.16
8.0.250.0000.00717.32
8.0.240.0040.00417.18
8.0.230.0050.00317.20
8.0.220.0000.00717.09
8.0.210.0000.00817.05
8.0.200.0030.00317.25
8.0.190.0040.00417.26
8.0.180.0000.01017.22
8.0.170.0040.00417.29
8.0.160.0000.00717.11
8.0.150.0000.00717.00
8.0.140.0000.00717.02
8.0.130.0050.00013.70
8.0.120.0030.00617.22
8.0.110.0040.00417.05
8.0.100.0040.00417.11
8.0.90.0040.00417.11
8.0.80.0030.01717.20
8.0.70.0040.00417.09
8.0.60.0080.00017.01
8.0.50.0000.00817.00
8.0.30.0100.01217.23
8.0.20.0070.01617.50
8.0.10.0020.00517.29
8.0.00.0110.00916.91
7.4.330.0050.00015.26
7.4.320.0030.00316.79
7.4.300.0030.00316.83
7.4.290.0000.00716.87
7.4.280.0030.00316.82
7.4.270.0030.00316.81
7.4.260.0030.00316.76
7.4.250.0050.00216.86
7.4.240.0030.00316.76
7.4.230.0000.00816.80
7.4.220.0060.01416.76
7.4.210.0090.00616.75
7.4.200.0000.00716.88
7.4.190.0030.00316.71
7.4.160.0100.00616.55
7.4.150.0120.00617.40
7.4.140.0080.01117.86
7.4.130.0100.01216.89
7.4.120.0090.00916.79
7.4.110.0110.00616.71
7.4.100.0110.00616.56
7.4.90.0030.01316.93
7.4.80.0110.01019.39
7.4.70.0100.00716.75
7.4.60.0100.00616.64
7.4.50.0040.00416.93
7.4.40.0070.01022.77
7.4.30.0090.00816.68
7.4.00.0100.00815.13
7.3.330.0000.00613.49
7.3.320.0050.00013.49
7.3.310.0000.00716.69
7.3.300.0070.00016.38
7.3.290.0070.00716.55
7.3.280.0080.00916.65
7.3.270.0110.00617.40
7.3.260.0140.00416.76
7.3.250.0110.00616.57
7.3.240.0130.01016.81
7.3.230.0070.01016.62
7.3.210.0160.00616.71
7.3.200.0180.01019.39
7.3.190.0100.01016.66
7.3.180.0160.00316.59
7.3.170.0130.00916.64
7.3.160.0100.00616.77
7.3.120.0060.01115.01
7.3.110.0080.01114.91
7.3.100.0070.00715.06
7.3.90.0050.00915.01
7.3.80.0090.00515.02
7.3.70.0050.00814.93
7.3.60.0040.00715.00
7.3.50.0100.00214.85
7.3.40.0050.00814.83
7.3.30.0050.00714.84
7.3.20.0080.00616.66
7.3.10.0110.00516.62
7.3.00.0080.00916.58
7.2.330.0120.01217.11
7.2.320.0030.01716.86
7.2.310.0140.00317.04
7.2.300.0070.01016.98
7.2.290.0100.00717.07
7.2.250.0080.01015.08
7.2.240.0050.01415.17
7.2.230.0000.01715.18
7.2.220.0050.00815.13
7.2.210.0020.01015.17
7.2.200.0040.00915.05
7.2.190.0070.00815.16
7.2.180.0100.00315.00
7.2.170.0050.01015.07
7.2.130.0090.00916.64
7.2.120.0150.00816.58
7.2.110.0170.00916.85
7.2.100.0110.00916.28
7.2.90.0210.00817.04
7.2.80.0120.00616.45
7.2.70.0090.00616.45
7.2.60.0120.00316.50
7.2.50.0060.00616.72
7.2.40.0060.01016.89
7.2.30.0140.00516.86
7.2.20.0160.00416.43
7.2.10.0120.01216.57
7.2.00.0080.00918.20
7.1.330.0070.00815.75
7.1.320.0050.00915.79
7.1.310.0080.00615.91
7.1.300.0050.00515.93
7.1.290.0060.00515.87
7.1.280.0050.00915.93
7.1.270.0020.00915.73
7.1.260.0090.00515.84
7.1.250.0180.00415.36
7.1.100.0030.01017.94
7.1.70.0080.00017.12
7.1.60.0160.01019.29
7.1.50.0170.00716.94
7.1.00.0030.07722.52
7.0.200.0020.00516.91
7.0.140.0070.07022.17
7.0.60.0270.06720.09
7.0.50.0030.05718.04
7.0.40.0130.08320.39
7.0.30.0270.04320.38
7.0.20.0400.07320.30
7.0.10.0030.09020.26
7.0.00.0030.08720.25
5.6.280.0030.07321.02
5.6.210.0130.06720.72
5.6.200.0070.08018.30
5.6.190.0030.05020.58
5.6.180.0370.07320.51
5.6.170.0300.06720.61
5.6.160.0030.06020.72
5.6.150.0070.04318.21
5.6.140.0030.07718.30
5.6.130.0070.08018.35
5.6.120.0030.05321.13
5.6.110.0070.07321.17
5.6.100.0070.07021.04
5.6.90.0130.07321.13
5.6.80.0100.08020.54
5.6.70.4600.03720.52
5.5.350.0100.08020.38
5.5.340.0030.07318.10
5.5.330.0030.04320.63
5.5.320.0270.06720.41
5.5.310.0230.04320.60
5.5.300.0170.07018.10
5.5.290.0070.08318.10
5.5.280.0100.06721.04
5.5.270.0070.04721.09
5.5.260.0070.08020.86
5.5.250.0000.08720.77
5.5.240.0000.08020.29
5.4.450.0830.04719.34
5.4.440.0770.07319.33
5.4.430.0170.05719.71
5.4.420.0430.06319.71
5.4.410.1070.06719.59
5.4.400.1130.06019.00
5.4.390.0870.05019.39
5.4.380.0200.04718.62
5.4.370.0270.05318.70
5.4.360.0400.05018.77
5.4.350.0300.06018.59
5.4.340.0530.06318.67
5.4.320.0080.03612.70
5.4.310.0100.03412.70
5.4.300.0080.03712.69
5.4.290.0100.03412.69
5.4.280.0060.04512.59
5.4.270.0060.04112.59
5.4.260.0080.03512.58
5.4.250.0060.03712.58
5.4.240.0010.03912.56
5.4.230.0110.03112.56
5.4.220.0050.03612.56
5.4.210.0030.03612.56
5.4.200.0040.04312.56
5.4.190.0050.03412.55
5.4.180.0060.03312.55
5.4.170.0060.03412.56
5.4.160.0050.03612.56
5.4.150.0050.03612.55
5.4.140.0050.03612.23
5.4.130.0050.03512.22
5.4.120.0060.03412.18
5.4.110.0030.03712.18
5.4.100.0050.03512.18
5.4.90.0050.03812.18
5.4.80.0040.03812.18
5.4.70.0030.03712.18
5.4.60.0040.03512.17
5.4.50.0060.03412.17
5.4.40.0050.03512.16
5.4.30.0050.03512.16
5.4.20.0080.03212.15
5.4.10.0030.03612.16
5.4.00.0040.03711.65
5.3.290.0100.04112.95
5.3.280.0020.04212.86
5.3.270.0050.03912.86
5.3.260.0040.04012.86
5.3.250.0050.03712.86
5.3.240.0060.03712.86
5.3.230.0040.03812.86
5.3.220.0030.03812.82
5.3.210.0050.03812.82
5.3.200.0040.03812.82
5.3.190.0050.03712.82
5.3.180.0050.03612.82
5.3.170.0060.03512.82
5.3.160.0070.03412.82
5.3.150.0050.03612.82
5.3.140.0030.03812.81
5.3.130.0070.04012.80
5.3.120.0030.04112.80
5.3.110.0060.03812.80
5.3.100.0070.03512.29
5.3.90.0050.03712.27
5.3.80.0030.03912.25
5.3.70.0100.03212.26
5.3.60.0060.03812.24
5.3.50.0040.04412.19
5.3.40.0060.05112.19
5.3.30.0070.03712.16
5.3.20.0050.03511.94
5.3.10.0070.03211.89
5.3.00.0030.04211.88
5.2.170.0060.0289.39
5.2.160.0050.0289.39
5.2.150.0040.0319.39
5.2.140.0050.0309.39
5.2.130.0030.0319.34
5.2.120.0050.0289.34
5.2.110.0050.0299.35
5.2.100.0060.0289.35
5.2.90.0030.0309.34
5.2.80.0040.0309.34
5.2.70.0040.0309.34
5.2.60.0040.0299.29
5.2.50.0060.0279.27
5.2.40.0040.0289.24
5.2.30.0050.0289.21
5.2.20.0050.0279.26
5.2.10.0060.0269.18
5.2.00.0030.0299.04
5.1.60.0040.0238.34
5.1.50.0020.0268.34
5.1.40.0020.0268.32
5.1.30.0050.0258.67
5.1.20.0050.0258.69
5.1.10.0040.0258.38
5.1.00.0040.0258.38
5.0.50.0050.0196.85
5.0.40.0030.0196.71
5.0.30.0040.0306.53
5.0.20.0050.0176.50
5.0.10.0020.0216.48
5.0.00.0050.0296.47
4.4.90.0040.0134.78
4.4.80.0020.0164.75
4.4.70.0030.0154.75
4.4.60.0010.0164.75
4.4.50.0030.0144.77
4.4.40.0040.0234.71
4.4.30.0040.0194.76
4.4.20.0050.0204.84
4.4.10.0040.0204.85
4.4.00.0040.0264.76
4.3.110.0030.0154.67
4.3.100.0050.0154.66
4.3.90.0030.0174.63
4.3.80.0020.0244.58
4.3.70.0020.0154.63
4.3.60.0010.0164.63
4.3.50.0040.0144.63
4.3.40.0040.0234.55
4.3.30.0010.0173.35
4.3.20.0020.0163.33
4.3.10.0010.0173.23
4.3.00.0100.01313.14

preferences:
40.67 ms | 400 KiB | 5 Q