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

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sjfdI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $xml, !1 = $simpleXml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3CDataSet%3E%0A++%3Cschema+id%3D%22OutDataSet%22+xmlns%3D%22%22+xmlns%3Axs%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22+xmlns%3Amsdata%3D%22urn%3Aschemas-microsoft-com%3Axml-msdata%22%3E%0A++++%3Celement+name%3D%22OutDataSet%22+msdata%3AIsDataSet%3D%22true%22+msdata%3AUseCurrentLocale%3D%22true%22%3E%0A++++++%3CcomplexType%3E%0A++++++++%3Cchoice+minOccurs%3D%220%22+maxOccurs%3D%22unbounded%22%3E%0A++++++++++%3Celement+name%3D%22BuscaSMS%22%3E%0A++++++++++++%3CcomplexType%3E%0A++++++++++++++%3Csequence%3E%0A++++++++++++++++%3Celement+name%3D%22seunum%22+type%3D%22string%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22celular%22+type%3D%22string%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22mensagem%22+type%3D%22string%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22status%22+type%3D%22string%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22datarec%22+type%3D%22dateTime%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22dataenv%22+type%3D%22dateTime%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22datastatus%22+type%3D%22dateTime%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++++%3Celement+name%3D%22op%22+type%3D%22short%22+minOccurs%3D%220%22+%2F%3E%0A++++++++++++++%3C%2Fsequence%3E%0A++++++++++++%3C%2FcomplexType%3E%0A++++++++++%3C%2Felement%3E%0A++++++++%3C%2Fchoice%3E%0A++++++%3C%2FcomplexType%3E%0A++++%3C%2Felement%3E%0A++%3C%2Fschema%3E%0A++%3Cdiffgram+xmlns%3Amsdata%3D%22urn%3Aschemas-microsoft-com%3Axml-msdata%22+xmlns%3Adiffgr%3D%22urn%3Aschemas-microsoft-com%3Axml-diffgram-v1%22%3E%0A++++%3COutDataSet+xmlns%3D%22%22%3E%0A++++++%3CBuscaSMS+diffgr%3Aid%3D%22BuscaSMS0%22+msdata%3ArowOrder%3D%223%22%3E%0A++++++++%3Cseunum%3E999999999%3C%2Fseunum%3E%0A++++++++%3Ccelular%3E9999999999%3C%2Fcelular%3E%0A++++++++%3Cmensagem%3Eobrigado%3C%2Fmensagem%3E%0A++++++++%3Cstatus%3EMO%3C%2Fstatus%3E%0A++++++++%3Cdatarec%3E2018-02-01T13%3A30%3A51.547-02%3A00%3C%2Fdatarec%3E%0A++++++++%3Cdataenv%3E2018-02-01T13%3A30%3A52.773-02%3A00%3C%2Fdataenv%3E%0A++++++++%3Cdatastatus%3E2018-02-01T13%3A30%3A52.773-02%3A00%3C%2Fdatastatus%3E%0A++++++++%3Cop%3E5%3C%2Fop%3E%0A++++++%3C%2FBuscaSMS%3E%0A++++++%3CBuscaSMS+diffgr%3Aid%3D%22BuscaSMS1%22+msdata%3ArowOrder%3D%224%22%3E%0A++++++++%3Cseunum%3E99999999999%3C%2Fseunum%3E%0A++++++++%3Ccelular%3E9999999999%3C%2Fcelular%3E%0A++++++++%3Cmensagem%3EObrigado.%3C%2Fmensagem%3E%0A++++++++%3Cstatus%3EMO%3C%2Fstatus%3E%0A++++++++%3Cdatarec%3E2018-02-01T13%3A37%3A17.18-02%3A00%3C%2Fdatarec%3E%0A++++++++%3Cdataenv%3E2018-02-01T13%3A37%3A20.807-02%3A00%3C%2Fdataenv%3E%0A++++++++%3Cdatastatus%3E2018-02-01T13%3A37%3A20.807-02%3A00%3C%2Fdatastatus%3E%0A++++++++%3Cop%3E5%3C%2Fop%3E%0A++++++%3C%2FBuscaSMS%3E%0A++++%3C%2FOutDataSet%3E%0A++%3C%2Fdiffgram%3E%0A%3C%2FDataSet%3E'
   54     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   56     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.62 ms | 1461 KiB | 15 Q