3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://webexpress.cargus.ro/history/infoNT2_XML.php?cod_nt=TSD22731818I"; $response = file_get_contents($url); $xml = simplexml_load_string($response); $result = $xml->xpath("//data_eveniment");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WnptX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $response, !2 = $xml, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwebexpress.cargus.ro%2Fhistory%2FinfoNT2_XML.php%3Fcod_nt%3DTSD22731818I'
    6     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
   10     5        INIT_FCALL                                               'simplexml_load_string'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !2, $7
   11     9        INIT_METHOD_CALL                                         !2, 'xpath'
         10        SEND_VAL_EX                                              '%2F%2Fdata_eveniment'
         11        DO_FCALL                                      0  $9      
         12        ASSIGN                                                   !3, $9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.23 ms | 1394 KiB | 17 Q