3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new DOMDocument(); $xml->loadXml('<balise><ata>2013-08-20T17:13:25</ata><atd>2013-08-20T17:15:03</atd><callSequence>1</callSequence><actualCallSequence>2</actualCallSequence><clauseInfo><clause>LIV_CFM</clause><description>Conforme</description></clauseInfo></balise>'); foreach ($xml->documentElement->childNodes as $childnode) { echo get_class($childnode) . "\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/YsTE8
function name:  (null)
number of ops:  16
compiled vars:  !0 = $xml, !1 = $childnode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DOMDocument'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        INIT_METHOD_CALL                                         !0, 'loadXml'
          4        SEND_VAL_EX                                              '%3Cbalise%3E%3Cata%3E2013-08-20T17%3A13%3A25%3C%2Fata%3E%3Catd%3E2013-08-20T17%3A15%3A03%3C%2Fatd%3E%3CcallSequence%3E1%3C%2FcallSequence%3E%3CactualCallSequence%3E2%3C%2FactualCallSequence%3E%3CclauseInfo%3E%3Cclause%3ELIV_CFM%3C%2Fclause%3E%3Cdescription%3EConforme%3C%2Fdescription%3E%3C%2FclauseInfo%3E%3C%2Fbalise%3E'
          5        DO_FCALL                                      0          
    6     6        FETCH_OBJ_R                                      ~6      !0, 'documentElement'
          7        FETCH_OBJ_R                                      ~7      ~6, 'childNodes'
          8      > FE_RESET_R                                       $8      ~7, ->14
          9    > > FE_FETCH_R                                               $8, !1, ->14
    7    10    >   GET_CLASS                                        ~9      !1
         11        CONCAT                                           ~10     ~9, '%0A'
         12        ECHO                                                     ~10
    6    13      > JMP                                                      ->9
         14    >   FE_FREE                                                  $8
   10    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.5 ms | 1394 KiB | 13 Q