3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml=<<<XML <?xml version="1.0"?> <root> <type name="test"> <class name="CustomerProfileLite" inList="true" > <enum name="Order" takeOtherValuesFromProperties="true"> <value>None</value> </enum> <property name="Guid" type="guid" /> <property name="CreationDate" type="datetime" isInEnum="true" /> <property name="LastUpdateDate" type="datetime" isIndexed="true" isInEnum="true" /> <property name="Revision" type="int" isIndexed="true" isInEnum="true" /> <property name="Thumbnail" type="string" convertToRelativePathInDB="true" /> <property name="UmsJob" type="string" isIndexed="true"/> <property name="FirstName" type="string" isIndexed="true" isInEnum="true" /> <property name="LastName" type="string" isIndexed="true" isInEnum="true" /> <property name="Address" type="string" isInEnum="true" /> <property name="City" type="string" isInEnum="true" /> <property name="PhoneNumber" type="string" isIndexed="true" isInEnum="true" /> <property name="CellPhoneNumber" type="string" isIndexed="true" isInEnum="true" /> <property name="Birthdate" type="OptionalDateTime" isInEnum="true" /> <property name="HasFrames" type="bool" /> <property name="LatestEquipementHasFarVisionBoxings" type="bool" /> <property name="LatestEquipementHasFarVisionImages" type="bool" /> <property name="LatestEquipementHasSplines" type="bool" /> <property name="LatestEquipementHasIpadMeasure" type="bool" /> <sattribute name="IsModified" type="bool" /> <sattribute name="LastModificationDate" type="datetime" /> </class> </type> </root> XML; $dom=simplexml_load_string($xml); foreach($dom->xpath("//class") as $class) { echo (string)$class["name"]; echo "\n"; foreach($class->property as $property) { echo (string)$property["name"]; echo "\t"; echo (string)$property["type"]; echo "\n"; } } foreach($dom->xpath("//enum") as $enum) { echo (string)$enum["name"]; echo "\t"; echo (string)$enum->value; }

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.110.0030.00620.94
8.3.100.0060.00318.97
8.3.90.0050.00326.77
8.3.80.0080.00317.13
8.3.70.0040.01217.00
8.3.60.0080.01218.68
8.3.50.0140.00721.46
8.3.40.0110.00419.17
8.3.30.0110.00420.46
8.3.20.0100.00722.37
8.3.10.0050.00321.48
8.3.00.0070.01122.95
8.2.230.0110.00422.58
8.2.220.0050.00324.06
8.2.210.0040.00426.77
8.2.200.0030.00616.88
8.2.190.0060.00916.71
8.2.180.0110.01117.25
8.2.170.0150.00022.96
8.2.160.0070.00722.63
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0150.00421.22
8.2.110.0000.00919.82
8.2.100.0090.00318.16
8.2.90.0030.00619.67
8.2.80.0050.00318.40
8.2.70.0030.00617.88
8.2.60.0080.00018.30
8.2.50.0050.00318.07
8.2.40.0040.00418.71
8.2.30.0040.00419.89
8.2.20.0080.00018.04
8.2.10.0050.00318.26
8.2.00.0000.00818.13
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0050.00323.99
8.1.260.0000.00826.35
8.1.250.0140.00428.09
8.1.240.0030.00722.92
8.1.230.0040.00721.60
8.1.220.0030.00518.77
8.1.210.0090.00319.37
8.1.200.0000.01017.85
8.1.190.0060.00317.66
8.1.180.0040.00418.10
8.1.170.0040.00419.02
8.1.160.0080.00019.24
8.1.150.0080.00019.14
8.1.140.0040.00417.87
8.1.130.0000.00818.20
8.1.120.0000.00817.80
8.1.110.0000.01017.68
8.1.100.0040.00417.80
8.1.90.0030.00617.93
8.1.80.0000.00717.97
8.1.70.0000.00717.75
8.1.60.0080.00418.05
8.1.50.0040.00417.77
8.1.40.0000.00917.88
8.1.30.0030.00518.04
8.1.20.0050.00318.13
8.1.10.0000.00818.00
8.1.00.0040.00417.77
8.0.300.0040.00420.28
8.0.290.0000.00717.55
8.0.280.0000.00718.85
8.0.270.0080.00017.70
8.0.260.0000.00718.88
8.0.250.0000.00717.50
8.0.240.0030.00617.38
8.0.230.0090.00017.52
8.0.220.0030.00317.20
8.0.210.0040.00417.42
8.0.200.0000.00717.54
8.0.190.0000.00817.26
8.0.180.0000.00817.45
8.0.170.0050.00517.42
8.0.160.0050.00217.21
8.0.150.0000.00717.31
8.0.140.0040.00417.41
8.0.130.0000.00613.71
8.0.120.0040.00417.27
8.0.110.0000.00917.20
8.0.100.0030.00517.39
8.0.90.0000.00817.36
8.0.80.0070.01017.41
8.0.70.0030.00517.33
8.0.60.0000.00817.26
8.0.50.0050.00317.26
8.0.30.0130.00817.67
8.0.20.0130.00717.50
8.0.10.0040.00417.32
8.0.00.0110.00717.15
7.4.330.0050.00017.26
7.4.320.0030.00316.73
7.4.300.0060.00016.96
7.4.290.0070.00017.01
7.4.280.0030.00716.99
7.4.270.0030.00316.97
7.4.260.0030.00313.71
7.4.250.0040.00416.95
7.4.240.0060.00117.08
7.4.230.0040.00416.79
7.4.220.0070.01116.90
7.4.210.0060.01017.03
7.4.200.0070.00016.94
7.4.190.0040.00416.96
7.4.160.0090.00916.93
7.4.150.0100.01017.40
7.4.140.0120.01017.86
7.4.130.0140.00917.05
7.4.120.0130.00516.98
7.4.110.0000.01817.02
7.4.100.0180.00316.93
7.4.90.0110.00717.00
7.4.80.0110.00719.39
7.4.70.0060.01217.09
7.4.60.0030.01717.08
7.4.50.0060.00316.93
7.4.40.0120.00222.77
7.4.30.0130.00817.03
7.4.00.0090.00615.06
7.3.330.0030.00313.41
7.3.320.0030.00313.67
7.3.310.0050.00316.57
7.3.300.0030.00316.76
7.3.290.0120.00316.67
7.3.280.0090.00716.75
7.3.270.0110.00817.40
7.3.260.0150.00618.24
7.3.250.0100.01016.79
7.3.240.0120.01416.77
7.3.230.0090.00916.72
7.3.210.0070.01116.73
7.3.200.0110.01119.39
7.3.190.0190.00316.79
7.3.180.0100.00916.86
7.3.170.0130.00316.66
7.3.160.0100.00716.78
7.3.120.0060.00914.84
7.2.330.0220.03416.88
7.2.320.0060.01217.08
7.2.310.0120.00816.95
7.2.300.0120.01217.13
7.2.290.0040.01217.13
7.2.00.0000.01219.53
7.1.100.0140.00318.03
7.1.70.0040.00417.46
7.1.60.0030.00819.17
7.1.50.0130.01016.86
7.1.00.0030.03322.64
7.0.200.0120.00015.18
7.0.140.0030.07722.27
7.0.100.0170.08020.20
7.0.90.0000.09020.26
7.0.80.0030.08720.20
7.0.70.0130.07720.20
7.0.60.0070.07720.13
7.0.50.0100.08020.58
7.0.40.0030.08020.33
7.0.30.0230.06720.28
7.0.20.0070.04320.33
7.0.10.0070.08020.30
7.0.00.0130.08320.19
5.6.250.0070.08321.01
5.6.240.0070.08320.80
5.6.230.0130.08020.89
5.6.220.0070.05020.72
5.6.210.0130.07320.75
5.6.200.0030.08021.23
5.6.190.0270.06021.14
5.6.180.0100.07321.21
5.6.170.0030.08321.17
5.6.160.0200.06321.21
5.6.150.0100.07721.21
5.6.140.0130.07021.20
5.6.130.0130.07321.25
5.6.120.0100.08721.13
5.6.110.0070.08321.13
5.6.100.0070.05021.27
5.6.90.0030.09721.14
5.6.80.0030.04720.57
5.6.70.0170.06320.73
5.6.60.0030.08020.64
5.6.50.0170.05320.59
5.6.40.0100.08020.70
5.6.30.0030.08020.60
5.6.20.0130.07320.48
5.6.10.0100.07320.55
5.6.00.0200.06720.56
5.5.380.0070.07720.71
5.5.370.0030.08320.72
5.5.360.0100.08320.61
5.5.350.0130.07720.55
5.5.340.0200.06720.98
5.5.330.0130.08320.97
5.5.320.0170.07321.04
5.5.310.0030.08021.09
5.5.300.0070.04720.99
5.5.290.0170.07320.91
5.5.280.0070.08721.07
5.5.270.0070.08021.08
5.5.260.0070.09021.09
5.5.250.0030.04020.79
5.5.240.0070.03320.32
5.5.230.0030.05320.48
5.5.220.0070.07020.40
5.5.210.0100.06720.42
5.5.200.0030.08320.49
5.5.190.0070.05720.43
5.5.180.0100.08720.35
5.5.160.0100.07320.38
5.5.150.0070.06020.34
5.5.140.0200.06020.37
5.5.130.0130.07320.31
5.5.120.0130.03720.31
5.5.110.0070.08020.29
5.5.100.0170.06020.23
5.5.90.0100.06020.38
5.5.80.0070.08020.27
5.5.70.0070.07720.32
5.5.60.0070.08020.29
5.5.50.0070.07720.27
5.5.40.0130.06720.32
5.5.30.0100.07020.27
5.5.20.0130.07320.29
5.5.10.0130.05320.18
5.5.00.0100.07020.23
5.4.450.0130.06719.59
5.4.440.0070.08719.61
5.4.430.0100.07319.43
5.4.420.0100.07719.73
5.4.410.0100.08319.48
5.4.400.0070.07719.31
5.4.390.0030.07019.04
5.4.380.0170.06319.01
5.4.370.0100.06319.11
5.4.360.0100.04019.04
5.4.350.0070.07719.27
5.4.340.0130.07319.26
5.4.320.0100.08019.01
5.4.310.0100.07019.19
5.4.300.0130.07019.32
5.4.290.0030.04719.25
5.4.280.0100.07719.30
5.4.270.0030.08019.29
5.4.260.0170.06719.25
5.4.250.0100.07719.03
5.4.240.0130.06719.25
5.4.230.0130.07019.24
5.4.220.0070.07719.30
5.4.210.0300.04019.40
5.4.200.0030.05719.26
5.4.190.0100.07319.45
5.4.180.0030.06719.19
5.4.170.0130.07019.30
5.4.160.0130.06718.99
5.4.150.0100.07319.04
5.4.140.0030.08016.58
5.4.130.0070.06716.51
5.4.120.0100.07716.53
5.4.110.0030.07716.57
5.4.100.0200.05716.46
5.4.90.0030.06716.55
5.4.80.0030.07716.63
5.4.70.0000.07316.48
5.4.60.0070.05016.43
5.4.50.0070.06016.43
5.4.40.0100.05316.62
5.4.30.0070.05716.63
5.4.20.0100.05016.68
5.4.10.0030.06016.67
5.4.00.0130.06016.01
5.3.290.0070.06315.63
5.3.280.0030.04015.63
5.3.270.0170.06015.63
5.3.260.0100.06715.63
5.3.250.0070.07315.63
5.3.240.0070.05015.63
5.3.230.0070.06715.63
5.3.220.0030.08715.63
5.3.210.0100.07315.63
5.3.200.0030.08015.63
5.3.190.0130.06715.63
5.3.180.0130.03715.63
5.3.170.0030.07715.63
5.3.160.0030.04315.63
5.3.150.0030.08015.63
5.3.140.0070.04315.63
5.3.130.0000.06015.63
5.3.120.0030.07315.63
5.3.110.0000.04315.63
5.3.100.0070.06315.63
5.3.90.0000.04315.63
5.3.80.0100.04715.63
5.3.70.0030.04015.63
5.3.60.0000.05015.63
5.3.50.0170.06015.63
5.3.40.0070.06715.63
5.3.30.0000.04315.63
5.3.20.0000.07015.63
5.3.10.0070.07315.63
5.3.00.0130.06015.63
5.2.170.0000.04315.63
5.2.160.0070.07015.63
5.2.150.0100.02315.63
5.2.140.0100.05715.63
5.2.130.0000.04315.63
5.2.120.0030.06315.63
5.2.110.0000.05315.63
5.2.100.0030.03015.63
5.2.90.0070.06715.63
5.2.80.0030.05715.63
5.2.70.0000.07315.63
5.2.60.0070.02715.63
5.2.50.0070.05715.63
5.2.40.0070.03315.63
5.2.30.0070.03315.63
5.2.20.0070.06015.63
5.2.10.0030.04715.63
5.2.00.0070.06015.63
5.1.60.0030.04015.63
5.1.50.0030.03715.63
5.1.40.0000.02715.63
5.1.30.0030.04715.63
5.1.20.0030.04015.63
5.1.10.0000.03315.63
5.1.00.0030.03015.63
5.0.50.0070.03315.63
5.0.40.0030.02715.63
5.0.30.0030.03015.63
5.0.20.0030.01715.63
5.0.10.0030.01715.63
5.0.00.0100.03315.63
4.4.90.0000.01715.63
4.4.80.0070.01315.63
4.4.70.0030.02015.63
4.4.60.0000.03015.63
4.4.50.0000.02315.63
4.4.40.0030.04315.63
4.4.30.0000.02315.63
4.4.20.0000.02015.63
4.4.10.0000.03015.63
4.4.00.0030.04015.63
4.3.110.0000.03015.63
4.3.100.0000.01715.63
4.3.90.0070.00715.63
4.3.80.0030.04015.63
4.3.70.0030.01015.63
4.3.60.0030.02015.63
4.3.50.0000.02315.63
4.3.40.0030.02315.63
4.3.30.0000.01715.63
4.3.20.0000.01715.63
4.3.10.0000.02715.63
4.3.00.0000.03015.63

preferences:
32.04 ms | 403 KiB | 5 Q