3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <DataSet> <schema id="OutDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <element name="OutDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <complexType> <choice minOccurs="0" maxOccurs="unbounded"> <element name="BuscaSMS"> <complexType> <sequence> <element name="seunum" type="string" minOccurs="0" /> <element name="celular" type="string" minOccurs="0" /> <element name="mensagem" type="string" minOccurs="0" /> <element name="status" type="string" minOccurs="0" /> <element name="datarec" type="dateTime" minOccurs="0" /> <element name="dataenv" type="dateTime" minOccurs="0" /> <element name="datastatus" type="dateTime" minOccurs="0" /> <element name="op" type="short" minOccurs="0" /> </sequence> </complexType> </element> </choice> </complexType> </element> </schema> <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> </diffgram> </DataSet> XML; $simpleXml = simplexml_load_string($xml); var_dump($simpleXml);

Abusive script

This script was stopped while abusing our resources

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.0000.02020.94
8.3.100.0060.00617.03
8.3.90.0040.00426.77
8.3.80.0130.00017.97
8.3.70.0070.01016.88
8.3.60.0190.00018.23
8.3.50.0080.00619.29
8.3.40.0100.00718.96
8.3.30.0090.00618.82
8.3.20.0040.00420.45
8.3.10.0060.00323.91
8.3.00.0090.00019.85
8.2.230.0100.00022.58
8.2.220.0070.01024.06
8.2.210.0200.00026.77
8.2.200.0100.00016.88
8.2.190.0090.00616.58
8.2.180.0100.01018.79
8.2.170.0130.00322.96
8.2.160.0090.00619.21
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00321.48
8.2.110.0030.00622.58
8.2.100.0100.00318.19
8.2.90.0090.00022.56
8.2.80.0040.00418.16
8.2.70.0030.00618.05
8.2.60.0000.01018.28
8.2.50.0040.00418.22
8.2.40.0030.00520.68
8.2.30.0030.00619.43
8.2.20.0000.00818.28
8.2.10.0030.00518.28
8.2.00.0040.00418.38
8.1.290.0070.00730.84
8.1.280.0120.00325.92
8.1.270.0030.00623.99
8.1.260.0000.00926.35
8.1.250.0090.00028.09
8.1.240.0030.00622.39
8.1.230.0040.00719.34
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0090.00017.48
8.1.190.0030.00617.35
8.1.180.0100.00018.10
8.1.170.0000.00819.16
8.1.160.0060.00319.17
8.1.150.0060.00320.45
8.1.140.0040.00417.89
8.1.130.0000.00719.16
8.1.120.0040.00717.66
8.1.110.0040.00417.50
8.1.100.0030.00617.70
8.1.90.0000.00817.70
8.1.80.0050.00317.53
8.1.70.0030.00617.53
8.1.60.0000.00817.64
8.1.50.0000.01117.78
8.1.40.0030.00617.60
8.1.30.0000.00817.86
8.1.20.0060.00317.72
8.1.10.0030.00517.60
8.1.00.0050.00317.61
8.0.300.0040.00419.85
8.0.290.0040.00417.13
8.0.280.0030.00518.67
8.0.270.0040.00417.08
8.0.260.0070.00017.12
8.0.250.0040.00417.15
8.0.240.0000.00717.22
8.0.230.0040.00417.24
8.0.220.0000.00817.17
8.0.210.0000.00717.03
8.0.200.0070.00017.24
8.0.190.0000.00717.12
8.0.180.0030.00517.19
8.0.170.0060.00317.04
8.0.160.0040.00417.23
8.0.150.0050.00316.95
8.0.140.0000.00917.02
8.0.130.0000.00613.58
8.0.120.0000.00817.02
8.0.110.0040.00417.13
8.0.100.0030.00517.04
8.0.90.0050.00317.03
8.0.80.0060.00917.19
8.0.70.0000.00816.97
8.0.60.0000.00817.05
8.0.50.0040.00416.98
8.0.30.0140.00817.09
8.0.20.0080.01417.40
8.0.10.0000.00817.12
8.0.00.0080.01617.09
7.4.330.0050.00016.97
7.4.320.0000.00716.88
7.4.300.0000.00716.70
7.4.290.0000.00816.70
7.4.280.0030.00616.85
7.4.270.0080.00016.69
7.4.260.0040.00416.79
7.4.250.0070.00016.74
7.4.240.0040.00416.65
7.4.230.0040.00416.54
7.4.220.0050.00316.58
7.4.210.0060.01316.78
7.4.200.0050.00316.60
7.4.160.0140.00816.74
7.4.150.0120.00917.40
7.4.140.0150.00817.86
7.4.130.0150.00416.70
7.4.120.0120.01016.69
7.4.110.0100.01016.68
7.4.100.0200.00616.66
7.4.90.0090.01216.64
7.4.80.0060.01319.39
7.4.70.0130.01316.63
7.4.60.0060.01516.58
7.4.50.0080.00816.59
7.4.40.0090.01016.62
7.4.00.0120.00315.05
7.3.330.0030.00313.26
7.3.320.0000.00513.35
7.3.310.0020.00516.52
7.3.300.0080.00016.45
7.3.290.0030.00516.42
7.3.280.0070.00916.42
7.3.270.0070.01417.40
7.3.260.0120.01216.53
7.3.250.0140.01016.59
7.3.240.0090.01416.59
7.3.230.0090.01216.60
7.3.210.0130.00716.45
7.3.200.0130.00716.55
7.3.190.0090.00916.53
7.3.180.0170.00016.39
7.3.170.0120.00816.66
7.3.160.0140.00316.64
7.3.10.0100.00316.45
7.3.00.0030.01316.64
7.2.330.0130.00616.56
7.2.320.0040.01516.75
7.2.310.0100.01016.76
7.2.300.0100.01016.84
7.2.290.0120.01216.57
7.2.130.0090.00617.07
7.2.120.0070.01116.86
7.2.110.0110.00317.11
7.2.100.0190.00016.98
7.2.90.0060.00916.71
7.2.80.0070.00317.09
7.2.70.0040.01216.84
7.2.60.0030.01516.84
7.2.50.0120.00916.91
7.2.40.0000.01617.09
7.2.30.0070.01016.93
7.2.20.0480.00817.45
7.2.10.0430.00917.48
7.2.00.0330.01217.36
7.1.250.0090.00615.79
7.1.200.0070.00315.61
7.1.140.0720.01616.96
7.1.130.0650.01617.04
7.1.120.0480.01016.75
7.1.110.0460.01516.14
7.1.100.0750.01015.98
7.1.90.0480.01715.60
7.1.80.0550.01615.71
7.1.70.0610.00915.27
7.1.60.0730.01632.95
7.1.50.0730.01732.75
7.1.40.0540.01032.51
7.1.30.0600.00932.60
7.1.20.0600.02032.76
7.1.10.0430.00414.71
7.1.00.0390.00714.95

preferences:
35.92 ms | 403 KiB | 5 Q