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; $simpleXml = simplexml_load_string($xml); var_dump($simpleXml->xpath('//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.0070.01421.17
8.4.10.0060.00317.87
8.3.150.0060.01317.59
8.3.140.0070.00719.43
8.3.130.0030.00518.94
8.3.120.0060.00919.40
8.3.110.0100.00320.94
8.3.100.0030.01424.06
8.3.90.0000.00826.77
8.3.80.0030.00617.00
8.3.70.0100.01317.00
8.3.60.0090.00618.93
8.3.50.0160.00319.39
8.3.40.0110.00419.04
8.3.30.0090.00919.00
8.3.20.0150.00020.55
8.3.10.0040.00423.98
8.3.00.0080.00019.97
8.2.270.0070.01117.78
8.2.260.0070.01118.52
8.2.250.0090.00916.72
8.2.240.0130.00619.25
8.2.230.0090.00622.58
8.2.220.0100.00737.54
8.2.210.0030.00626.77
8.2.200.0030.00618.66
8.2.190.0190.00318.91
8.2.180.0160.00625.92
8.2.170.0130.00319.36
8.2.160.0000.01422.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00821.50
8.2.120.0050.00326.35
8.2.110.0100.00021.54
8.2.100.0060.00618.03
8.2.90.0050.00318.16
8.2.80.0000.00817.97
8.2.70.0040.00418.00
8.2.60.0040.00417.88
8.2.50.0040.00418.25
8.2.40.0060.00319.72
8.2.30.0040.00419.52
8.2.20.0050.00318.48
8.2.10.0000.00818.55
8.2.00.0000.00718.57
8.1.310.0000.00818.92
8.1.300.0100.00718.08
8.1.290.0030.00630.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00019.45
8.1.230.0040.00721.21
8.1.220.0000.00818.16
8.1.210.0030.00618.91
8.1.200.0030.00617.73
8.1.190.0040.00417.50
8.1.180.0000.00818.10
8.1.170.0070.00017.98
8.1.160.0040.00419.15
8.1.150.0050.00220.61
8.1.140.0040.00418.04
8.1.130.0030.00319.37
8.1.120.0070.00017.64
8.1.110.0000.00817.83
8.1.100.0030.00517.63
8.1.90.0040.00417.84
8.1.80.0000.00717.79
8.1.70.0030.00317.64
8.1.60.0040.00817.80
8.1.50.0060.00317.84
8.1.40.0030.00517.71
8.1.30.0080.00418.02
8.1.20.0030.00618.05
8.1.10.0040.00417.64
8.1.00.0000.00817.80
8.0.300.0040.00420.22
8.0.290.0040.00417.13
8.0.280.0000.00718.73
8.0.270.0000.00717.53
8.0.260.0030.00317.31
8.0.250.0070.00017.20
8.0.240.0070.00017.45
8.0.230.0000.00717.40
8.0.220.0000.00917.37
8.0.210.0030.00317.39
8.0.200.0070.00017.43
8.0.190.0040.00417.21
8.0.180.0050.00217.18
8.0.170.0070.00417.14
8.0.160.0070.00017.36
8.0.150.0020.00517.11
8.0.140.0030.00617.33
8.0.130.0000.00813.79
8.0.120.0000.00717.30
8.0.110.0040.00417.28
8.0.100.0040.00417.35
8.0.90.0040.00417.27
8.0.80.0000.01717.30
8.0.70.0000.00817.25
8.0.60.0030.00617.13
8.0.50.0000.00817.14
8.0.30.0140.00617.39
8.0.20.0140.00817.41
8.0.10.0040.00417.40
8.0.00.0120.00817.18
7.4.330.0000.00517.13
7.4.320.0000.00616.90
7.4.300.0040.00416.84
7.4.290.0040.00416.92
7.4.280.0070.00017.02
7.4.270.0030.00516.85
7.4.260.0030.00316.84
7.4.250.0000.00716.94
7.4.240.0000.00816.89
7.4.230.0000.00717.08
7.4.220.0030.00517.02
7.4.210.0030.01616.93
7.4.200.0070.00016.68
7.4.160.0120.00716.85
7.4.150.0110.00717.40
7.4.140.0070.01417.86
7.4.130.0090.00916.98
7.4.120.0120.00716.83
7.4.110.0190.00416.70
7.4.100.0110.00716.99
7.4.90.0070.01116.88
7.4.80.0070.01319.39
7.4.70.0070.01116.79
7.4.60.0060.01016.93
7.4.50.0090.00616.84
7.4.40.0110.00716.82
7.4.00.0090.01015.21
7.3.330.0030.00313.29
7.3.320.0060.00013.54
7.3.310.0000.00716.73
7.3.300.0070.00016.53
7.3.290.0050.00216.61
7.3.280.0060.01216.58
7.3.270.0120.00617.40
7.3.260.0100.01016.73
7.3.250.0130.00816.70
7.3.240.0100.00816.62
7.3.230.0110.00716.82
7.3.210.0110.01116.70
7.3.200.0130.00816.77
7.3.190.0130.00316.68
7.3.180.0030.01216.57
7.3.170.0130.01016.84
7.3.160.0060.01316.50
7.3.120.0130.00714.86
7.3.110.0100.00715.02
7.3.100.0060.01114.75
7.3.90.0080.00414.98
7.3.80.0090.00615.08
7.3.70.0040.00714.72
7.3.60.0040.00814.77
7.3.50.0060.01214.76
7.3.40.0040.01514.76
7.3.30.0040.01114.84
7.3.20.0290.00415.87
7.3.10.0210.01115.67
7.3.00.0200.00815.88
7.2.330.0100.00916.61
7.2.320.0110.00816.84
7.2.310.0100.01016.87
7.2.300.0190.00016.80
7.2.290.0060.01317.14
7.2.250.0030.01615.09
7.2.240.0110.00415.35
7.2.230.0070.01014.91
7.2.220.0090.00615.16
7.2.210.0100.00314.84
7.2.200.0060.01014.94
7.2.190.0110.00715.10
7.2.180.0030.01315.05
7.2.170.0130.00614.98
7.2.150.0420.00715.16
7.2.140.0500.00715.10
7.2.130.0320.00614.96
7.2.120.0430.00715.00
7.2.110.0350.00715.17
7.2.100.0410.01414.99
7.2.90.0390.00715.08
7.2.80.0460.01015.05
7.2.70.0400.00615.23
7.2.60.0190.01115.94
7.2.50.0440.00315.15
7.2.40.0480.00615.36
7.2.30.0460.00315.12
7.2.20.0580.00616.68
7.2.10.0590.00816.63
7.2.00.0500.00716.65
7.1.330.0060.00916.12
7.1.320.0110.00315.84
7.1.310.0000.00915.65
7.1.300.0100.00315.96
7.1.290.0130.00615.87
7.1.280.0070.01015.85
7.1.270.0000.01615.80
7.1.260.0030.01215.58
7.1.250.0410.00313.95
7.1.240.0510.00613.79
7.1.230.0580.00614.06
7.1.220.0530.01014.04
7.1.210.0640.01413.98
7.1.200.0310.00915.00
7.1.190.0490.01714.12
7.1.180.0500.01013.86
7.1.170.0730.01314.10
7.1.160.0520.01314.02
7.1.150.0600.00314.18
7.1.140.0650.01315.43
7.1.130.0540.01115.51
7.1.120.0550.01115.55
7.1.110.0490.00615.18
7.1.100.0450.00715.18
7.1.90.0610.01314.86
7.1.80.0560.00614.92
7.1.70.0450.01014.73
7.1.60.0470.01823.79
7.1.50.0490.01223.74
7.1.40.0550.00323.37
7.1.30.0610.01023.38
7.1.20.0660.01523.48
7.1.10.0530.01114.35
7.1.00.0560.01314.63
7.0.330.0490.01713.56
5.6.380.0130.00814.53

preferences:
30.94 ms | 403 KiB | 5 Q