3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://username:password@url.com"; $xml = file_get_contents($url); $data = new SimpleXMLElement($xml); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2vnvu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $url, !1 = $xml, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fusername%3Apassword%40url.com'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        NEW                                              $6      'SimpleXMLElement'
          6        SEND_VAR_EX                                              !1
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $6
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.94 ms | 1394 KiB | 15 Q