3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://gdata.youtube.com/feeds/api/users/gudjondaniel/uploads?max-results=1'; $source = file_get_contents($url); $xml = new SimpleXMLElement($source); $title = $xml->entry->title; var_dump($xml->entry);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y2HSG
function name:  (null)
number of ops:  17
compiled vars:  !0 = $url, !1 = $source, !2 = $xml, !3 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fusers%2Fgudjondaniel%2Fuploads%3Fmax-results%3D1'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    5     5        NEW                                              $7      'SimpleXMLElement'
          6        SEND_VAR_EX                                              !1
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $7
    6     9        FETCH_OBJ_R                                      ~10     !2, 'entry'
         10        FETCH_OBJ_R                                      ~11     ~10, 'title'
         11        ASSIGN                                                   !3, ~11
    8    12        INIT_FCALL                                               'var_dump'
         13        FETCH_OBJ_R                                      ~13     !2, 'entry'
         14        SEND_VAL                                                 ~13
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.62 ms | 1398 KiB | 17 Q