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("//PartNumer"); 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.40.0000.01519.21
8.3.30.0000.01420.63
8.3.20.0100.01020.85
8.3.10.0030.00521.42
8.3.00.0080.00022.75
8.2.170.0090.00622.96
8.2.160.0040.01122.76
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00021.23
8.2.110.0070.00319.75
8.2.100.0040.00818.28
8.2.90.0040.00419.63
8.2.80.0050.00318.30
8.2.70.0080.00018.00
8.2.60.0030.00718.18
8.2.50.0060.00318.07
8.2.40.0080.00018.53
8.2.30.0040.00419.88
8.2.20.0000.00818.01
8.2.10.0060.00318.13
8.2.00.0040.00418.05
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00324.34
8.1.230.0040.00721.54
8.1.220.0030.00518.77
8.1.210.0060.00319.70
8.1.200.0060.00317.73
8.1.190.0040.00417.91
8.1.180.0040.00418.10
8.1.170.0050.00319.09
8.1.160.0040.00419.18
8.1.150.0040.00418.97
8.1.140.0080.00017.77
8.1.130.0040.00418.29
8.1.120.0050.00317.73
8.1.110.0080.00317.60
8.1.100.0050.00317.88
8.1.90.0050.00317.63
8.1.80.0000.00717.85
8.1.70.0000.00717.66
8.1.60.0100.00017.80
8.1.50.0000.00817.73
8.1.40.0030.00517.74
8.1.30.0040.00417.83
8.1.20.0030.00617.88
8.1.10.0030.00617.93
8.1.00.0000.00817.76
8.0.300.0030.00320.38
8.0.290.0040.00417.54
8.0.280.0040.00418.84
8.0.270.0050.00317.63
8.0.260.0000.00717.17
8.0.250.0030.00317.22
8.0.240.0040.00417.45
8.0.230.0030.00617.23
8.0.220.0040.00417.22
8.0.210.0040.00717.38
8.0.200.0030.00317.26
8.0.190.0040.00417.44
8.0.180.0000.00817.41
8.0.170.0000.00817.38
8.0.160.0000.00717.39
8.0.150.0060.00317.08
8.0.140.0070.00017.10
8.0.130.0000.00513.79
8.0.120.0000.00917.26
8.0.110.0080.00017.30
8.0.100.0050.00317.39
8.0.90.0000.00717.21
8.0.80.0040.01317.31
8.0.70.0000.00717.29
8.0.60.0040.00417.26
8.0.50.0050.00317.14
8.0.30.0110.00717.50
8.0.20.0110.00917.45
8.0.10.0000.00817.23
8.0.00.0110.00817.23
7.4.330.0000.00517.14
7.4.320.0000.00716.86
7.4.300.0000.00616.98
7.4.290.0040.00416.79
7.4.280.0030.00316.88
7.4.270.0070.00016.96
7.4.260.0030.00313.75
7.4.250.0090.00016.64
7.4.240.0020.00516.82
7.4.230.0060.00316.88
7.4.220.0060.01316.92
7.4.210.0090.00617.02
7.4.200.0040.00416.85
7.4.190.0030.00317.00
7.4.160.0100.00716.90
7.4.150.0050.01317.40
7.4.140.0090.00717.86
7.4.130.0100.00716.89
7.4.120.0090.01016.83
7.4.110.0070.01016.93
7.4.100.0130.00616.88
7.4.90.0060.01016.88
7.4.80.0060.01119.39
7.4.70.0060.00916.91
7.4.60.0070.01016.91
7.4.50.0040.00416.75
7.4.40.0060.00622.77
7.4.30.0090.00916.94
7.4.00.0140.00014.85
7.3.330.0000.00513.51
7.3.320.0020.00213.56
7.3.310.0000.00716.83
7.3.300.0030.00316.59
7.3.290.0030.01016.66
7.3.280.0110.00816.69
7.3.270.0160.00317.40
7.3.260.0180.00318.24
7.3.250.0140.00416.67
7.3.240.0120.00416.74
7.3.230.0220.00016.84
7.3.210.0090.00916.73
7.3.200.0120.00219.39
7.3.190.0000.01616.68
7.3.180.0090.00917.04
7.3.170.0060.01016.67
7.3.160.0090.00617.03
7.3.120.0090.00614.95
7.2.330.0110.00716.95
7.2.320.0140.00717.15
7.2.310.0160.00817.05
7.2.300.0090.00916.81
7.2.290.0130.00316.97
7.2.00.0030.01019.57
7.1.100.0100.00618.38
7.1.70.0030.00517.09
7.1.60.0030.01019.17
7.1.50.0100.01317.24
7.1.00.0000.03722.62
7.0.200.0110.00715.10
7.0.140.0070.07322.22
7.0.70.0030.04321.88
7.0.60.0030.04321.84
7.0.50.0030.03322.29
7.0.40.0030.03320.25
7.0.30.0000.03720.25
7.0.20.0070.03020.29
7.0.10.0070.02720.32
7.0.00.0030.03320.27
5.6.280.0070.07021.36
5.6.220.0000.04020.72
5.6.210.0000.03320.75
5.6.200.0030.03321.32
5.6.190.0030.03021.17
5.6.180.0070.03021.21
5.6.170.0000.03321.31
5.6.160.0030.03021.22
5.6.150.0070.03021.26
5.6.140.0030.04021.22
5.6.130.0000.04321.21
5.6.120.0000.06021.38
5.6.110.0070.07021.18
5.6.100.0000.08021.21
5.6.90.0000.05321.23
5.6.80.0030.04320.61
5.6.70.0100.07720.66
5.6.60.0130.07320.50
5.6.50.0030.06720.62
5.6.40.0100.07020.64
5.6.30.0000.08320.52
5.6.20.0030.05320.57
5.6.10.0070.07020.52
5.6.00.0070.06320.62
5.5.360.0030.05020.47
5.5.350.0000.03720.57
5.5.340.0070.03721.06
5.5.330.0000.04321.05
5.5.320.0000.03321.07
5.5.310.0000.03321.06
5.5.300.0030.03320.95
5.5.290.0030.03320.98
5.5.280.0030.04021.11
5.5.270.0030.05721.11
5.5.260.0030.08020.93
5.5.250.0070.08020.88
5.5.240.0070.08020.36
5.5.230.0030.06020.46
5.5.220.0000.07320.39
5.5.210.0030.07720.41
5.5.200.0100.06020.33
5.5.190.0070.06320.32
5.5.180.0100.06720.38
5.5.160.0000.07020.34
5.5.150.0030.07720.35
5.5.140.0070.07020.39
5.5.130.0030.06720.31
5.5.120.0070.08020.33
5.5.110.0000.07020.41
5.5.100.0070.06020.18
5.5.90.0000.08720.36
5.5.80.0100.07320.19
5.5.70.0030.08320.35
5.5.60.0070.07020.29
5.5.50.0070.10320.18
5.5.40.0200.06020.32
5.5.30.0000.06720.33
5.5.20.0070.05720.26
5.5.10.0030.07720.15
5.5.00.0070.07320.32
5.4.450.0030.04319.59
5.4.440.0070.04319.80
5.4.430.0000.07319.33
5.4.420.0000.05319.59
5.4.410.0030.07719.50
5.4.400.0000.07319.42
5.4.390.0100.05019.42
5.4.380.0100.07019.30
5.4.370.0070.05319.41
5.4.360.0100.07319.29
5.4.350.0030.06319.28
5.4.340.0000.08019.02
5.4.320.0100.07719.30
5.4.310.0000.06719.30
5.4.300.0000.07719.27
5.4.290.0070.07319.02
5.4.280.0030.07019.29
5.4.270.0070.06019.26
5.4.260.0100.05319.37
5.4.250.0030.05019.26
5.4.240.0030.07319.28
5.4.230.0000.08019.21
5.4.220.0100.07019.29
5.4.210.0070.07719.29
5.4.200.0030.07719.41
5.4.190.0130.06319.27
5.4.180.0030.06019.41
5.4.170.0130.06319.21
5.4.160.0000.08019.25
5.4.150.0070.07719.24
5.4.140.0000.06716.58
5.4.130.0100.06716.50
5.4.120.0070.06316.61
5.4.110.0030.07716.73
5.4.100.0030.07716.48
5.4.90.0030.07016.73
5.4.80.0070.07016.62
5.4.70.0070.07316.54
5.4.60.0030.07316.64
5.4.50.0000.07016.54
5.4.40.0070.07316.62
5.4.30.0000.07016.58
5.4.20.0030.06716.63
5.4.10.0030.07316.60
5.4.00.0100.06016.02
5.3.290.0000.06714.69
5.3.280.0030.07014.66
5.3.270.0030.08014.79
5.3.260.0030.08014.82
5.3.250.0030.05714.75
5.3.240.0100.07014.84
5.3.230.0030.07314.77
5.3.220.0000.07714.75
5.3.210.0100.07014.79
5.3.200.0000.07314.65
5.3.190.0100.06714.75
5.3.180.0030.06014.81
5.3.170.0000.07014.80
5.3.160.0030.07314.63
5.3.150.0030.07714.77
5.3.140.0030.07014.62
5.3.130.0030.07314.70
5.3.120.0030.06714.57
5.3.110.0030.07714.76
5.3.100.0070.06714.21
5.3.90.0030.04014.18
5.3.80.0100.04714.27
5.3.70.0030.07314.19
5.3.60.0070.05314.00
5.3.50.0100.06314.21
5.3.40.0030.07314.13
5.3.30.0030.05013.93
5.3.20.0030.03313.87
5.3.10.0100.06313.66
5.3.00.0070.07013.84
5.2.170.0000.04311.45
5.2.160.0030.03011.30
5.2.150.0000.06711.21
5.2.140.0030.06011.43
5.2.130.0000.04011.30
5.2.120.0030.06311.19
5.2.110.0030.05711.40
5.2.100.0030.06311.27
5.2.90.0070.05311.34
5.2.80.0030.05711.25
5.2.70.0030.05011.16
5.2.60.0030.05711.25
5.2.50.0170.05311.22
5.2.40.0000.06311.29
5.2.30.0000.06311.24
5.2.20.0070.05711.13
5.2.10.0100.04711.25
5.2.00.0000.05311.13
5.1.60.0030.05711.13
5.1.50.0030.04711.13
5.1.40.0000.04711.13
5.1.30.0000.04011.13
5.1.20.0030.04711.13
5.1.10.0030.05711.13
5.1.00.0000.05311.13
5.0.50.0000.04011.13
5.0.40.0030.04011.13
5.0.30.0000.05011.13
5.0.20.0000.04711.13
5.0.10.0030.04311.13
5.0.00.0000.05011.13
4.4.90.0030.03011.13
4.4.80.0030.04011.13
4.4.70.0000.03011.13
4.4.60.0000.03711.13
4.4.50.0000.03311.13
4.4.40.0030.05011.13
4.4.30.0000.03011.13
4.4.20.0100.03311.13
4.4.10.0000.03711.13
4.4.00.0000.05311.13
4.3.110.0030.02711.13
4.3.100.0030.03311.13
4.3.90.0070.03011.13
4.3.80.0070.03711.13
4.3.70.0000.03711.13
4.3.60.0030.03011.13
4.3.50.0000.03711.13
4.3.40.0070.05011.13
4.3.30.0030.03711.13
4.3.20.0070.03011.13
4.3.10.0000.03711.13
4.3.00.0000.03711.13

preferences:
56.93 ms | 400 KiB | 5 Q