3v4l.org

run code in 300+ PHP versions simultaneously
<? if(isset($_GET['p']) && $_GET['p'] != "" && $_GET['p'] > 0) { $p = (int)$_GET['p']; } else { $p = 0; } $start = $p*1 . '1'; $tube = "http://gdata.youtube.com/feeds/api/videos?q=$ser&duration=short&start-index=$start&max-results=10&v=2&alt=rss&prettyprint=true"; require_once "func/curl.busquedas.php"; $sxm = google_url($tube); $oxm = new SimpleXMLElement($sxm); $total1 = $oxm->channel->item->pubDate; $video = $oxm->channel->item->children("media",true)->group->children("yt",true)->videoid; if($total1) { foreach($oxm->channel->item as $e){ $titulo = $e->title; $url = $e->children("media",true)->group->children("yt",true)->videoid; $titulo = substr($titulo,0,70); echo' <li class="list-group-item result even" id="'.$url.'"> <h2><em>'.$titulo.'</em></h2> <p>Size: 10.3 MB | Source: youtube.com</p> <div class="action container"> <div class="button"> <a href="http://www.music-clips.net/api/'.$url.'/mp3/" class="download btn btn-info btn-small" target="_blank">Download</a> '; echo" <a href=\"#\" onclick=\"LoadVideo('$url');return false;\" class=\"listen btn btn-info btn-small\">Listen</a> </div> </div> </li>"; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 91
Branch analysis from position: 55
2 jumps found. (Code = 77) Position 1 = 58, Position 2 = 90
Branch analysis from position: 58
2 jumps found. (Code = 78) Position 1 = 59, Position 2 = 90
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
Branch analysis from position: 90
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 90
Branch analysis from position: 91
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 91
Branch analysis from position: 55
Branch analysis from position: 91
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/NbigJ
function name:  (null)
number of ops:  92
compiled vars:  !0 = $p, !1 = $start, !2 = $tube, !3 = $ser, !4 = $sxm, !5 = $oxm, !6 = $total1, !7 = $video, !8 = $e, !9 = $titulo, !10 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_IS                                         ~11     '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~12     ~11, 'p'
          2      > JMPZ_EX                                          ~12     ~12, ->7
          3    >   FETCH_R                      global              ~13     '_GET'
          4        FETCH_DIM_R                                      ~14     ~13, 'p'
          5        IS_NOT_EQUAL                                     ~15     ~14, ''
          6        BOOL                                             ~12     ~15
          7    > > JMPZ_EX                                          ~12     ~12, ->12
          8    >   FETCH_R                      global              ~16     '_GET'
          9        FETCH_DIM_R                                      ~17     ~16, 'p'
         10        IS_SMALLER                                       ~18     0, ~17
         11        BOOL                                             ~12     ~18
         12    > > JMPZ                                                     ~12, ->18
    4    13    >   FETCH_R                      global              ~19     '_GET'
         14        FETCH_DIM_R                                      ~20     ~19, 'p'
         15        CAST                                          4  ~21     ~20
         16        ASSIGN                                                   !0, ~21
         17      > JMP                                                      ->19
    8    18    >   ASSIGN                                                   !0, 0
   10    19    >   MUL                                              ~24     !0, 1
         20        CONCAT                                           ~25     ~24, '1'
         21        ASSIGN                                                   !1, ~25
   11    22        ROPE_INIT                                     5  ~28     'http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fvideos%3Fq%3D'
         23        ROPE_ADD                                      1  ~28     ~28, !3
         24        ROPE_ADD                                      2  ~28     ~28, '%26duration%3Dshort%26start-index%3D'
         25        ROPE_ADD                                      3  ~28     ~28, !1
         26        ROPE_END                                      4  ~27     ~28, '%26max-results%3D10%26v%3D2%26alt%3Drss%26prettyprint%3Dtrue'
         27        ASSIGN                                                   !2, ~27
   13    28        INCLUDE_OR_EVAL                                          'func%2Fcurl.busquedas.php', REQUIRE_ONCE
   15    29        INIT_FCALL_BY_NAME                                       'google_url'
         30        SEND_VAR_EX                                              !2
         31        DO_FCALL                                      0  $33     
         32        ASSIGN                                                   !4, $33
   16    33        NEW                                              $35     'SimpleXMLElement'
         34        SEND_VAR_EX                                              !4
         35        DO_FCALL                                      0          
         36        ASSIGN                                                   !5, $35
   18    37        FETCH_OBJ_R                                      ~38     !5, 'channel'
         38        FETCH_OBJ_R                                      ~39     ~38, 'item'
         39        FETCH_OBJ_R                                      ~40     ~39, 'pubDate'
         40        ASSIGN                                                   !6, ~40
   21    41        FETCH_OBJ_R                                      ~42     !5, 'channel'
         42        FETCH_OBJ_R                                      ~43     ~42, 'item'
         43        INIT_METHOD_CALL                                         ~43, 'children'
         44        SEND_VAL_EX                                              'media'
         45        SEND_VAL_EX                                              <true>
         46        DO_FCALL                                      0  $44     
         47        FETCH_OBJ_R                                      ~45     $44, 'group'
         48        INIT_METHOD_CALL                                         ~45, 'children'
         49        SEND_VAL_EX                                              'yt'
         50        SEND_VAL_EX                                              <true>
         51        DO_FCALL                                      0  $46     
         52        FETCH_OBJ_R                                      ~47     $46, 'videoid'
         53        ASSIGN                                                   !7, ~47
   24    54      > JMPZ                                                     !6, ->91
   27    55    >   FETCH_OBJ_R                                      ~49     !5, 'channel'
         56        FETCH_OBJ_R                                      ~50     ~49, 'item'
         57      > FE_RESET_R                                       $51     ~50, ->90
         58    > > FE_FETCH_R                                               $51, !8, ->90
   29    59    >   FETCH_OBJ_R                                      ~52     !8, 'title'
         60        ASSIGN                                                   !9, ~52
   30    61        INIT_METHOD_CALL                                         !8, 'children'
         62        SEND_VAL_EX                                              'media'
         63        SEND_VAL_EX                                              <true>
         64        DO_FCALL                                      0  $54     
         65        FETCH_OBJ_R                                      ~55     $54, 'group'
         66        INIT_METHOD_CALL                                         ~55, 'children'
         67        SEND_VAL_EX                                              'yt'
         68        SEND_VAL_EX                                              <true>
         69        DO_FCALL                                      0  $56     
         70        FETCH_OBJ_R                                      ~57     $56, 'videoid'
         71        ASSIGN                                                   !10, ~57
   31    72        INIT_FCALL                                               'substr'
         73        SEND_VAR                                                 !9
         74        SEND_VAL                                                 0
         75        SEND_VAL                                                 70
         76        DO_ICALL                                         $59     
         77        ASSIGN                                                   !9, $59
   35    78        CONCAT                                           ~61     '%0A%3Cli+class%3D%22list-group-item+result+even%22+id%3D%22', !10
         79        CONCAT                                           ~62     ~61, '%22%3E%0A%3Ch2%3E%3Cem%3E'
   36    80        CONCAT                                           ~63     ~62, !9
         81        CONCAT                                           ~64     ~63, '%3C%2Fem%3E%3C%2Fh2%3E%0A%3Cp%3ESize%3A+10.3+MB+%7C+Source%3A+youtube.com%3C%2Fp%3E%0A%3Cdiv+class%3D%22action+container%22%3E%0A%3Cdiv+class%3D%22button%22%3E%0A%3Ca+href%3D%22http%3A%2F%2Fwww.music-clips.net%2Fapi%2F'
   40    82        CONCAT                                           ~65     ~64, !10
         83        CONCAT                                           ~66     ~65, '%2Fmp3%2F%22+class%3D%22download+btn+btn-info+btn-small%22+target%3D%22_blank%22%3EDownload%3C%2Fa%3E+'
         84        ECHO                                                     ~66
   43    85        ROPE_INIT                                     3  ~68     '%0A%3Ca+href%3D%22%23%22++onclick%3D%22LoadVideo%28%27'
   44    86        ROPE_ADD                                      1  ~68     ~68, !10
         87        ROPE_END                                      2  ~67     ~68, '%27%29%3Breturn+false%3B%22+++class%3D%22listen+btn+btn-info+btn-small%22%3EListen%3C%2Fa%3E+%0A%0A%0A%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%0A%0A%0A%0A%0A%0A%0A%0A%3C%2Fli%3E'
         88        ECHO                                                     ~67
   27    89      > JMP                                                      ->58
         90    >   FE_FREE                                                  $51
   65    91    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.68 ms | 1408 KiB | 15 Q