3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_url('http://ilumet.com.br/ubs_area.kml'); if ($xml === false) { echo "Failed loading XML: "; foreach(libxml_get_errors() as $error) { echo "<br>", $error->message; } } else { print_r($xml); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 17
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UmIvb
function name:  (null)
number of ops:  21
compiled vars:  !0 = $xml, !1 = $error
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'simplexml_load_url'
          1        SEND_VAL_EX                                              'http%3A%2F%2Filumet.com.br%2Fubs_area.kml'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    3     4        TYPE_CHECK                                    4          !0
          5      > JMPZ                                                     ~4, ->17
    4     6    >   ECHO                                                     'Failed+loading+XML%3A+'
    5     7        INIT_FCALL                                               'libxml_get_errors'
          8        DO_ICALL                                         $5      
          9      > FE_RESET_R                                       $6      $5, ->15
         10    > > FE_FETCH_R                                               $6, !1, ->15
    6    11    >   ECHO                                                     '%3Cbr%3E'
         12        FETCH_OBJ_R                                      ~7      !1, 'message'
         13        ECHO                                                     ~7
    5    14      > JMP                                                      ->10
         15    >   FE_FREE                                                  $6
         16      > JMP                                                      ->20
    9    17    >   INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
   11    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.61 ms | 1395 KiB | 17 Q