3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <DataSet> <xs:schema id="OutDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="OutDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="BuscaSMS"> <xs:complexType> <xs:sequence> <xs:element name="seunum" type="xs:string" minOccurs="0" /> <xs:element name="celular" type="xs:string" minOccurs="0" /> <xs:element name="mensagem" type="xs:string" minOccurs="0" /> <xs:element name="status" type="xs:string" minOccurs="0" /> <xs:element name="datarec" type="xs:dateTime" minOccurs="0" /> <xs:element name="dataenv" type="xs:dateTime" minOccurs="0" /> <xs:element name="datastatus" type="xs:dateTime" minOccurs="0" /> <xs:element name="op" type="xs:short" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xs:schema> <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"> <OutDataSet xmlns=""> <BuscaSMS diffgr:id="BuscaSMS0" msdata:rowOrder="3"> <seunum>999999999</seunum> <celular>9999999999</celular> <mensagem>obrigado</mensagem> <status>MO</status> <datarec>2018-02-01T13:30:51.547-02:00</datarec> <dataenv>2018-02-01T13:30:52.773-02:00</dataenv> <datastatus>2018-02-01T13:30:52.773-02:00</datastatus> <op>5</op> </BuscaSMS> <BuscaSMS diffgr:id="BuscaSMS1" msdata:rowOrder="4"> <seunum>99999999999</seunum> <celular>9999999999</celular> <mensagem>Obrigado.</mensagem> <status>MO</status> <datarec>2018-02-01T13:37:17.18-02:00</datarec> <dataenv>2018-02-01T13:37:20.807-02:00</dataenv> <datastatus>2018-02-01T13:37:20.807-02:00</datastatus> <op>5</op> </BuscaSMS> </OutDataSet> </diffgr:diffgram> </DataSet> XML; $dom = new \DOMDocument(); $dom->loadXML($xml); foreach($dom->getElementsByTagName('BuscaSMS') as $buscaSMS) { var_dump($buscaSMS); }

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.4.20.0150.00620.93
8.4.10.0060.00317.88
8.3.150.0090.00920.94
8.3.140.0100.01017.46
8.3.130.0080.00018.55
8.3.120.0090.00419.34
8.3.110.0060.00320.94
8.3.100.0100.01017.01
8.3.90.0040.00426.77
8.3.80.0030.00716.75
8.3.70.0100.00616.86
8.3.60.0090.00618.43
8.3.50.0130.00519.26
8.3.40.0100.00619.00
8.3.30.0100.00718.92
8.3.20.0050.00320.57
8.3.10.0030.00623.73
8.3.00.0100.00720.00
8.2.270.0030.01617.74
8.2.260.0160.00320.94
8.2.250.0040.00418.73
8.2.240.0100.00017.18
8.2.230.0100.00022.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0070.00317.13
8.2.190.0060.00916.75
8.2.180.0100.01418.54
8.2.170.0000.01619.21
8.2.160.0090.00619.19
8.2.150.0000.02024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.38
8.2.110.0030.00622.51
8.2.100.0060.00618.41
8.2.90.0050.00320.80
8.2.80.0030.00718.17
8.2.70.0050.00518.05
8.2.60.0000.00818.25
8.2.50.0040.00418.40
8.2.40.0050.00320.85
8.2.30.0040.00419.44
8.2.20.0030.00518.31
8.2.10.0030.00618.48
8.2.00.0040.00418.58
8.1.310.0060.00317.24
8.1.300.0070.00318.80
8.1.290.0050.00518.88
8.1.280.0040.01225.92
8.1.270.0080.00020.68
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.50
8.1.230.0090.00319.37
8.1.220.0040.00418.16
8.1.210.0040.00418.77
8.1.200.0000.00917.60
8.1.190.0090.00017.47
8.1.180.0050.00318.10
8.1.170.0030.00619.21
8.1.160.0080.00019.10
8.1.150.0000.00720.47
8.1.140.0000.00717.95
8.1.130.0030.00617.63
8.1.120.0040.00417.63
8.1.110.0050.00317.54
8.1.100.0100.00017.70
8.1.90.0000.00817.60
8.1.80.0000.00817.68
8.1.70.0080.00017.68
8.1.60.0040.00417.93
8.1.50.0030.00617.71
8.1.40.0050.00317.70
8.1.30.0040.00417.72
8.1.20.0000.00817.79
8.1.10.0030.00617.88
8.1.00.0000.00917.68
8.0.300.0040.00420.03
8.0.290.0060.00317.00
8.0.280.0040.00418.68
8.0.270.0040.00417.51
8.0.260.0000.00717.13
8.0.250.0040.00417.21
8.0.240.0060.00317.33
8.0.230.0000.00817.16
8.0.220.0080.00017.05
8.0.210.0000.00817.20
8.0.200.0000.00817.20
8.0.190.0030.00517.15
8.0.180.0060.00317.27
8.0.170.0030.00617.08
8.0.160.0040.00417.24
8.0.150.0000.00817.24
8.0.140.0040.00417.07
8.0.130.0060.00013.65
8.0.120.0040.00417.16
8.0.110.0050.00317.22
8.0.100.0070.00017.26
8.0.90.0040.00417.09
8.0.80.0130.00317.25
8.0.70.0030.00517.19
8.0.60.0040.00416.96
8.0.50.0040.00417.06
8.0.30.0140.00717.23
8.0.20.0130.01317.41
8.0.10.0000.00817.20
8.0.00.0120.01117.15
7.4.330.0060.00017.13
7.4.320.0000.00616.81
7.4.300.0000.00616.68
7.4.290.0000.00916.63
7.4.280.0030.00716.69
7.4.270.0040.00416.68
7.4.260.0100.00016.75
7.4.250.0000.00816.82
7.4.240.0070.00016.75
7.4.230.0000.00716.56
7.4.220.0060.00316.53
7.4.210.0110.00616.75
7.4.200.0040.00416.83
7.4.160.0130.00816.87
7.4.150.0080.01117.40
7.4.140.0120.00617.86
7.4.130.0190.00016.61
7.4.120.0120.00916.81
7.4.110.0120.00616.63
7.4.100.0100.01016.79
7.4.90.0090.01516.55
7.4.80.0170.00719.39
7.4.70.0120.00916.60
7.4.60.0030.01416.70
7.4.50.0070.01016.69
7.4.40.0060.01216.79
7.4.00.0090.00915.09
7.3.330.0000.00613.40
7.3.320.0000.00613.40
7.3.310.0060.00316.54
7.3.300.0000.00716.59
7.3.290.0050.00216.48
7.3.280.0100.01116.50
7.3.270.0140.00717.40
7.3.260.0130.00916.66
7.3.250.0080.01516.68
7.3.240.0110.00916.53
7.3.230.0140.00616.46
7.3.210.0030.02016.67
7.3.200.0040.01616.65
7.3.190.0130.00416.66
7.3.180.0110.01116.49
7.3.170.0120.00616.48
7.3.160.0030.02016.56
7.3.120.0080.00714.95
7.3.110.0080.00814.77
7.3.100.0090.00814.88
7.3.90.0030.01114.94
7.3.80.0120.00515.12
7.3.70.0070.00814.96
7.3.60.0090.00614.94
7.3.50.0070.00614.97
7.3.40.0040.01114.97
7.3.30.0090.00714.91
7.3.20.0080.00516.81
7.3.10.0080.00616.64
7.3.00.0080.00816.73
7.2.330.0040.01516.91
7.2.320.0090.00916.89
7.2.310.0120.00816.87
7.2.300.0090.00916.83
7.2.290.0150.00616.78
7.2.250.0090.01015.12
7.2.240.0080.00915.08
7.2.230.0090.00415.25
7.2.220.0080.00715.03
7.2.210.0050.01115.29
7.2.200.0060.00815.09
7.2.190.0100.00415.11
7.2.180.0060.00915.15
7.2.170.0090.00615.10
7.2.160.0080.00815.08
7.2.150.0050.00716.97
7.2.140.0030.00816.88
7.2.130.0020.01017.04
7.2.120.0020.01216.94
7.2.110.0100.00517.17
7.2.100.0070.00717.05
7.2.90.0100.00516.97
7.2.80.0020.01216.94
7.2.70.0070.00416.88
7.2.60.0090.00817.03
7.2.50.0060.00816.86
7.2.40.0030.00917.11
7.2.30.0060.00617.02
7.2.20.0150.01317.22
7.2.10.0150.01017.39
7.2.00.0200.01117.26
7.1.330.0110.00615.98
7.1.320.0080.00715.95
7.1.310.0070.00815.83
7.1.300.0100.00616.02
7.1.290.0080.00515.70
7.1.280.0080.00815.81
7.1.270.0110.00515.68
7.1.260.0070.00715.91
7.1.250.0020.01215.88
7.1.240.0100.00315.77
7.1.230.0100.00315.84
7.1.220.0060.00915.84
7.1.210.0030.01015.76
7.1.200.0050.00915.84
7.1.190.0070.00715.86
7.1.180.0030.01615.51
7.1.170.0030.01415.86
7.1.160.0090.00315.85
7.1.150.0000.01115.70
7.1.140.0190.01016.32
7.1.130.0240.01016.27
7.1.120.0270.01516.42
7.1.110.0280.00916.06
7.1.100.0170.01315.83
7.1.90.0060.00715.69
7.1.80.0040.01015.94
7.1.70.0400.00815.68
7.1.60.0220.01324.57
7.1.50.0310.01724.24
7.1.40.0430.00524.37
7.1.30.0320.01024.25
7.1.20.0160.00924.24
7.1.10.0120.00415.31
7.1.00.0180.01315.52
7.0.330.0090.00315.35
7.0.320.0060.00915.50
7.0.310.0000.01515.71
7.0.300.0100.00715.69
7.0.290.0000.01415.46
7.0.280.0030.01315.60
7.0.270.0000.01015.47
7.0.260.0070.00715.51
7.0.250.0000.01315.58
7.0.240.0000.00815.38
7.0.230.0030.00815.70
7.0.220.0100.00615.33
7.0.210.0100.00715.42
7.0.200.0000.01315.57
7.0.190.0030.01015.49
7.0.180.0070.00715.39
7.0.170.0030.01015.63
7.0.160.0060.00915.60
7.0.150.0030.01015.37
7.0.140.0100.00615.52
7.0.130.0070.00715.39
7.0.120.0060.00315.55
7.0.110.0100.00615.59
7.0.100.0000.01715.51
7.0.90.0040.01415.54
7.0.80.0080.00615.74
7.0.70.0000.01215.64
7.0.60.0120.00015.44
7.0.50.0000.01515.54
7.0.40.0060.00913.73
7.0.30.0030.00713.50
7.0.20.0060.00913.57
7.0.10.0060.00613.48
7.0.00.0100.00313.63
5.6.400.0030.01414.65
5.6.390.0000.01714.42
5.6.380.0040.01114.02
5.6.370.0000.00914.15
5.6.360.0060.01214.22
5.6.350.0030.00914.33
5.6.340.0110.00414.38
5.6.330.0030.00914.37
5.6.320.0070.00714.32
5.6.310.0100.01014.43
5.6.300.0040.00814.39
5.6.290.0030.01014.55
5.6.280.0060.00314.27
5.6.270.0030.00914.58
5.6.260.0060.01014.59
5.6.250.0070.01014.33
5.6.240.0000.01014.35
5.6.230.0060.00914.17
5.6.220.0060.00814.43
5.6.210.0070.01114.38
5.6.200.0070.01114.40
5.6.190.0040.00814.41
5.6.180.0040.00714.49
5.6.170.0070.00714.08
5.6.160.0000.01414.57
5.6.150.0030.01114.66
5.6.140.0100.00714.48
5.6.130.0140.00014.41
5.6.120.0050.00514.23
5.6.110.0040.01114.32
5.6.100.0030.00714.33
5.6.90.0040.00814.35
5.6.80.0080.00814.31
5.6.70.0030.01314.05
5.6.60.0030.01414.31
5.6.50.0090.01214.30
5.6.40.0090.01214.11
5.6.30.0100.00014.49
5.6.20.0030.01014.42
5.6.10.0060.00814.69
5.6.00.0070.00714.23

preferences:
28.7 ms | 403 KiB | 5 Q