3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = <<<XML <Items> <Item MaintenanceType="C"> <HazardousMaterialCode>N</HazardousMaterialCode> <ItemLevelGTIN GTINQualifier="UP">090127000380</ItemLevelGTIN> <PartNumber>0-1848-1</PartNumber> <BrandAAIAID>BBVL</BrandAAIAID> <BrandLabel>Holley</BrandLabel> <PartTerminologyID>5904</PartTerminologyID> <Descriptions> <Description MaintenanceType="C" DescriptionCode="DES" LanguageCode="EN">Street Carburetor</Description> <Description MaintenanceType="C" DescriptionCode="SHO" LanguageCode="EN">Crb</Description> </Descriptions> <Prices> <Pricing MaintenanceType="C" PriceType="JBR"> <PriceSheetNumber>L30779-13</PriceSheetNumber> <CurrencyCode>USD</CurrencyCode> <EffectiveDate>2013-01-01</EffectiveDate> <Price UOM="PE">462.4600</Price> </Pricing> <Pricing MaintenanceType="C" PriceType="RET"> <PriceSheetNumber>L30779-13</PriceSheetNumber> <CurrencyCode>USD</CurrencyCode> <EffectiveDate>2013-01-01</EffectiveDate> <Price UOM="PE">380.5500</Price> </Pricing> <Pricing MaintenanceType="C" PriceType="WD1"> <PriceSheetNumber>L30779-13</PriceSheetNumber> <CurrencyCode>USD</CurrencyCode> <EffectiveDate>2013-01-01</EffectiveDate> <Price UOM="PE">314.4700</Price> </Pricing> </Prices> <ExtendedInformation> <ExtendedProductInformation MaintenanceType="C" EXPICode="CTO" LanguageCode="EN">US</ExtendedProductInformation> <ExtendedProductInformation MaintenanceType="C" EXPICode="NPC" LanguageCode="EN">A</ExtendedProductInformation> <ExtendedProductInformation MaintenanceType="C" EXPICode="HTS" LanguageCode="EN">8409914000</ExtendedProductInformation> <ExtendedProductInformation MaintenanceType="C" EXPICode="NAF" LanguageCode="EN">B</ExtendedProductInformation> </ExtendedInformation> <ProductAttributes> <ProductAttribute MaintenanceType="C" AttributeID="SKU" LanguageCode="EN">BBVL0-1848-1</ProductAttribute> <ProductAttribute MaintenanceType="C" AttributeID="ModDate" LanguageCode="EN">2012-12-31</ProductAttribute> </ProductAttributes> <Packages> <Package MaintenanceType="C"> <PackageLevelGTIN>00090127000380</PackageLevelGTIN> <PackageUOM>EA</PackageUOM> <QuantityofEaches>1</QuantityofEaches> <Dimensions UOM="IN"> <Height>7.5000</Height> <Width>11.0000</Width> <Length>12.2500</Length> </Dimensions> <Weights UOM="PG"> <Weight>13.500</Weight> <DimensionalWeight>6.09</DimensionalWeight> </Weights> </Package> </Packages> </Item> </Items> XML; $xml = simplexml_load_string($x); $pns = $xml->xpath("//PartNumber"); var_dump($pns);

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.00316.75
8.3.50.0110.00722.23
8.3.40.0070.00719.01
8.3.30.0040.01119.34
8.3.20.0050.00320.58
8.3.10.0050.00323.94
8.3.00.0090.00019.75
8.2.180.0070.01425.92
8.2.170.0130.01019.46
8.2.160.0140.00722.96
8.2.150.0030.00525.66
8.2.140.0140.00324.66
8.2.130.0060.00326.16
8.2.120.0000.00822.51
8.2.110.0070.00320.98
8.2.100.0060.00618.12
8.2.90.0040.00419.51
8.2.80.0000.00917.97
8.2.70.0030.00617.88
8.2.60.0040.00417.88
8.2.50.0040.00417.75
8.2.40.0060.00319.89
8.2.30.0040.00418.37
8.2.20.0050.00518.15
8.2.10.0040.00418.46
8.2.00.0000.00818.04
8.1.280.0200.00325.92
8.1.270.0040.00422.46
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00024.23
8.1.230.0040.00821.49
8.1.220.0040.00418.14
8.1.210.0050.00518.77
8.1.200.0060.00317.73
8.1.190.0000.00817.50
8.1.180.0030.00518.10
8.1.170.0040.00419.36
8.1.160.0080.00022.38
8.1.150.0080.00018.95
8.1.140.0000.00817.82
8.1.130.0000.00818.18
8.1.120.0040.00417.92
8.1.110.0030.00517.88
8.1.100.0030.00417.87
8.1.90.0040.00417.79
8.1.80.0070.00017.91
8.1.70.0000.00717.73
8.1.60.0030.00617.83
8.1.50.0060.00317.73
8.1.40.0000.00817.95
8.1.30.0040.00418.04
8.1.20.0040.00418.06
8.1.10.0040.00417.96
8.1.00.0050.00317.73
8.0.300.0070.00018.77
8.0.290.0000.00817.13
8.0.280.0000.00718.78
8.0.270.0000.00717.20
8.0.260.0030.00317.18
8.0.250.0000.00717.50
8.0.240.0000.00717.34
8.0.230.0040.00417.20
8.0.220.0000.00817.28
8.0.210.0040.00417.27
8.0.200.0000.00717.36
8.0.190.0100.00017.43
8.0.180.0000.00817.18
8.0.170.0040.00417.39
8.0.160.0000.00717.43
8.0.150.0000.00717.33
8.0.140.0000.00717.08
8.0.130.0030.00313.74
8.0.120.0000.00717.37
8.0.110.0000.00817.15
8.0.100.0000.00717.32
8.0.90.0040.00417.32
8.0.80.0090.01317.26
8.0.70.0040.00417.13
8.0.60.0080.00017.29
8.0.50.0000.00717.21
8.0.30.0080.01117.38
8.0.20.0070.01217.40
8.0.10.0080.00017.18
8.0.00.0030.01517.22
7.4.330.0000.00715.59
7.4.320.0030.00316.96
7.4.300.0030.00317.01
7.4.290.0000.00716.94
7.4.280.0020.00516.71
7.4.270.0070.00016.71
7.4.260.0070.00016.75
7.4.250.0020.00516.92
7.4.240.0060.00116.81
7.4.230.0070.00317.02
7.4.220.0070.01416.89
7.4.210.0100.00716.96
7.4.200.0000.00716.86
7.4.190.0040.00417.13
7.4.160.0150.00816.91
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0090.00916.97
7.4.120.0070.01016.89
7.4.110.0100.01016.83
7.4.100.0090.00916.67
7.4.90.0140.00317.08
7.4.80.0080.01219.39
7.4.70.0110.00516.99
7.4.60.0090.00916.77
7.4.50.0030.00616.77
7.4.40.0110.00422.77
7.4.30.0130.00316.99
7.4.00.0040.01415.07
7.3.330.0000.00613.47
7.3.320.0070.00013.54
7.3.310.0070.00016.70
7.3.300.0070.00016.56
7.3.290.0090.00916.74
7.3.280.0080.01016.62
7.3.270.0090.00817.40
7.3.260.0120.00916.88
7.3.250.0100.00616.68
7.3.240.0130.01016.64
7.3.230.0100.00716.84
7.3.210.0120.00616.81
7.3.200.0160.00319.39
7.3.190.0090.01016.74
7.3.180.0040.01116.62
7.3.170.0170.00016.63
7.3.160.0100.00616.61
7.3.120.0070.00715.17
7.2.330.0120.00616.71
7.2.320.0120.00617.02
7.2.310.0030.01517.01
7.2.300.0070.01016.80
7.2.290.0090.00917.01
7.2.60.0110.00317.09
7.2.00.0000.00819.51
7.1.200.0030.01115.83
7.1.70.0060.00617.09
7.1.60.0080.00417.49
7.1.50.0170.01735.13
7.1.00.0030.07722.82
7.0.200.0070.01017.07
7.0.140.0100.06322.43
7.0.110.0530.08720.15
7.0.100.0600.08020.21
7.0.90.0530.08020.30
7.0.80.0570.07720.07
7.0.70.0170.04320.13
7.0.60.0130.03720.23
7.0.50.0170.03320.72
7.0.40.0070.04020.54
7.0.30.0030.04320.51
7.0.20.0100.04020.45
7.0.10.0130.05320.49
7.0.00.0030.05020.39
5.6.280.0100.05321.16
5.6.260.0070.05020.90
5.6.250.0100.07020.88
5.6.240.0100.04320.87
5.6.230.0170.07720.87
5.6.220.0070.04320.80
5.6.210.0000.04020.87
5.6.200.0000.04721.18
5.6.190.0030.04721.12
5.6.180.0030.05721.20
5.6.170.0100.04321.28
5.6.160.0100.06321.51
5.6.150.0030.05721.48
5.6.140.0000.04721.50
5.6.130.0100.07021.43
5.6.120.0070.04721.10
5.6.110.0070.04021.49
5.6.100.0070.04321.16
5.6.90.0100.03721.32
5.6.80.0070.03720.73
5.6.70.0030.06320.59
5.6.60.0030.04020.77
5.6.50.0000.04320.56
5.6.40.0030.04020.84
5.6.30.0030.03720.64
5.6.20.0070.04320.63
5.6.10.0030.03720.63
5.6.00.0100.03020.44
5.5.380.0130.07020.59
5.5.370.0000.09020.69
5.5.360.0070.04320.59
5.5.350.0070.04020.64
5.5.340.0100.03721.16
5.5.330.0000.04321.16
5.5.320.0130.03321.18
5.5.310.0000.05020.89
5.5.300.0100.03721.14
5.5.290.0100.04321.10
5.5.280.0000.07321.15
5.5.270.0070.04021.25
5.5.260.0070.04021.23
5.5.250.0030.04020.94
5.5.240.0030.04020.39
5.5.230.0100.05020.50
5.5.220.0100.03320.50
5.5.210.0000.04720.55
5.5.200.0030.04020.50
5.5.190.0100.03320.46
5.5.180.0070.03720.38
5.5.160.0000.04320.58
5.5.150.0030.03720.50
5.5.140.0100.03320.25
5.5.130.0030.07720.46
5.5.120.0030.04020.29
5.5.110.0030.06720.53
5.5.100.0130.07020.50
5.5.90.0030.07320.36
5.5.80.0100.07320.37
5.5.70.0130.06320.46
5.5.60.0030.07020.18
5.5.50.0070.07020.38
5.5.40.0100.07320.38
5.5.30.0130.07320.47
5.5.20.0230.06320.39
5.5.10.0030.07320.45
5.5.00.0170.07020.45
5.4.450.0070.04319.75
5.4.440.0030.04319.52
5.4.430.0030.04019.60
5.4.420.0100.06319.45
5.4.410.0030.04019.46
5.4.400.0030.04019.30
5.4.390.0030.04019.50
5.4.380.0000.04319.43
5.4.370.0100.03319.50
5.4.360.0070.04319.50
5.4.350.0000.04019.14
5.4.340.0000.04319.41
5.4.320.0070.05719.28
5.4.310.0070.04319.14
5.4.300.0100.05719.43
5.4.290.0070.03719.25
5.4.280.0030.04319.30
5.4.270.0070.05719.28
5.4.260.0100.07319.23
5.4.250.0070.07319.25
5.4.240.0030.07719.32
5.4.230.0200.07019.18
5.4.220.0170.06319.49
5.4.210.0070.07319.25
5.4.200.0070.08019.21
5.4.190.0100.06719.41
5.4.180.0100.04319.29
5.4.170.0100.06719.41
5.4.160.0100.07719.15
5.4.150.0130.07019.18
5.4.140.0170.06716.73
5.4.130.0200.05716.46
5.4.120.0070.07716.66
5.4.110.0070.07016.77
5.4.100.0100.07016.77
5.4.90.0000.07316.80
5.4.80.0130.06316.46
5.4.70.0100.06316.83
5.4.60.0130.06316.80
5.4.50.0130.06316.75
5.4.40.0200.03716.76
5.4.30.0070.07316.74
5.4.20.0030.07316.46
5.4.10.0070.07316.49
5.4.00.0000.05715.87
5.3.290.0030.03714.79
5.3.280.0070.05714.73
5.3.270.0070.07314.89
5.3.260.0130.07314.87
5.3.250.0030.08314.90
5.3.240.0070.08014.74
5.3.230.0130.07314.72
5.3.220.0170.06314.66
5.3.210.0130.06714.68
5.3.200.0100.06314.69
5.3.190.0030.08014.73
5.3.180.0070.03714.70
5.3.170.0000.08014.77
5.3.160.0100.05014.72
5.3.150.0170.06714.68
5.3.140.0100.07014.70
5.3.130.0100.07014.71
5.3.120.0130.06314.67
5.3.110.0030.08314.79
5.3.100.0070.07014.20
5.3.90.0070.07014.14
5.3.80.0030.07014.28
5.3.70.0100.07014.26
5.3.60.0030.07314.29
5.3.50.0070.07014.07
5.3.40.0070.06314.08
5.3.30.0100.06314.07
5.3.20.0070.07713.94
5.3.10.0030.06713.78
5.3.00.0030.07713.90
5.2.170.0070.06011.85
5.2.160.0070.05711.85
5.2.150.0070.05711.85
5.2.140.0070.06311.85
5.2.130.0070.06011.85
5.2.120.0030.06711.85
5.2.110.0100.05711.85
5.2.100.0070.05711.85
5.2.90.0030.03711.85
5.2.80.0030.06711.85
5.2.70.0100.05711.85
5.2.60.0070.05011.85
5.2.50.0100.05311.85
5.2.40.0100.06011.85
5.2.30.0100.05711.85
5.2.20.0070.03711.85
5.2.10.0030.04311.85
5.2.00.0070.06311.85
5.1.60.0070.03011.85
5.1.50.0030.05711.85
5.1.40.0070.05311.85
5.1.30.0030.06011.85
5.1.20.0030.05711.85
5.1.10.0070.03711.85
5.1.00.0030.06011.85
5.0.50.0070.04311.85
5.0.40.0030.04311.85
5.0.30.0070.04711.85
5.0.20.0030.04311.85
5.0.10.0030.04311.85
5.0.00.0030.04311.85
4.4.90.0000.03711.85
4.4.80.0030.01711.85
4.4.70.0000.03711.85
4.4.60.0030.02711.85
4.4.50.0030.03711.85
4.4.40.0070.05311.85
4.4.30.0030.03711.85
4.4.20.0000.02011.85
4.4.10.0000.03011.85
4.4.00.0070.05011.85
4.3.110.0030.03711.85
4.3.100.0030.03011.85
4.3.90.0000.03311.85
4.3.80.0030.05011.85
4.3.70.0030.03311.85
4.3.60.0030.03311.85
4.3.50.0100.03011.85
4.3.40.0070.04311.85
4.3.30.0030.03311.85
4.3.20.0030.03011.85
4.3.10.0000.03011.85
4.3.00.0070.03011.85

preferences:
49.71 ms | 401 KiB | 5 Q