3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://apps.tirol.gv.at/lwd/produkte/llb/2014-2015/2015-05-01_0730/2015-05-01_0730_avalanche_bulletin_tyrol_de.xml"; //disabled for security reasons // if(file_exists($url)){ // $xmlFile = simple_load_file($url); // loadToDatabase($xmlFile); // } else { // exit("Coudn't find xml file"); // } $xmlFile = simplexml_load_file($url); loadToDatabase($xmlFile); function loadToDatabase($file){ print_r($file); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eGKr1
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url, !1 = $xmlFile
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fapps.tirol.gv.at%2Flwd%2Fprodukte%2Fllb%2F2014-2015%2F2015-05-01_0730%2F2015-05-01_0730_avalanche_bulletin_tyrol_de.xml'
   13     1        INIT_FCALL                                               'simplexml_load_file'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   14     5        INIT_FCALL_BY_NAME                                       'loadToDatabase'
          6        SEND_VAR_EX                                              !1
          7        DO_FCALL                                      0          
   20     8      > RETURN                                                   1

Function loadtodatabase:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eGKr1
function name:  loadToDatabase
number of ops:  5
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   17     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   18     4      > RETURN                                                   null

End of function loadtodatabase

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.59 ms | 1395 KiB | 17 Q