3v4l.org

run code in 300+ PHP versions simultaneously
<?php $context = stream_context_create(array('http' => array('header' => 'Accept: application/xml'))); $url = 'http://mp3.zing.vn/xml/album-xml/kHJmTZmaVRFQkCstkbJtDnLn'; $xml = file_get_contents($url, false); $xml = simplexml_load_string($xml); print_r($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ENSC
function name:  (null)
number of ops:  18
compiled vars:  !0 = $context, !1 = $url, !2 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'stream_context_create'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN                                                   !1, 'http%3A%2F%2Fmp3.zing.vn%2Fxml%2Falbum-xml%2FkHJmTZmaVRFQkCstkbJtDnLn'
    6     5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <false>
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
    7    10        INIT_FCALL                                               'simplexml_load_string'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $8      
         13        ASSIGN                                                   !2, $8
    8    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.03 ms | 1394 KiB | 21 Q