3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cookie = "PHPSESSID=79bc47552fbcf7b07f0ccb3624c3b11b; login=OWYxMjM4ZjU0MmYzYTg5NjM4ZTk%3D"; $this->cookie = $cookie; $data = $this->curl("http://simply-debrid.com/inc/name.php?j=".base64_encode($url),$cookie,'',0); if(preg_match('%(http\:\/\/.*?)%U', $data, $linkpre) && stristr($data,"sd.php")){ $link = trim($linkpre[1]); $size_name = Tools_get::size_name($link, $this->cookie); $filesize = $size_name[0]; $filename = $size_name[1]; } elseif (stristr($data,"NOT SUPPORTED")) die('not support by simply-debrid.com'); elseif (stristr($data,"UNDER MAINTENANCE")) die('UNDER MAINTENANCE'); else { $cookie = ""; $this->save_cookies("simply-debrid.com",""); } /* * Home page: http://vinaget.us * Blog: http://blog.vinaget.us * Script Name: Vinaget * Version: 2.6.3 * Created: Markov (Saturday, November 30, 2013) */ ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 22, Position 2 = 27
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 46
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 66
Branch analysis from position: 66
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 53
Branch analysis from position: 51
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 53
2 jumps found. (Code = 43) Position 1 = 58, Position 2 = 60
Branch analysis from position: 58
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 60
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/27TN4
function name:  (null)
number of ops:  67
compiled vars:  !0 = $cookie, !1 = $data, !2 = $url, !3 = $linkpre, !4 = $link, !5 = $size_name, !6 = $filesize, !7 = $filename
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'PHPSESSID%3D79bc47552fbcf7b07f0ccb3624c3b11b%3B+login%3DOWYxMjM4ZjU0MmYzYTg5NjM4ZTk%253D'
    3     1        FETCH_THIS                                       $9      
          2        ASSIGN_OBJ                                               $9, 'cookie'
          3        OP_DATA                                                  !0
    4     4        FETCH_THIS                                       $11     
          5        INIT_METHOD_CALL                                         $11, 'curl'
          6        INIT_FCALL                                               'base64_encode'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $12     
          9        CONCAT                                           ~13     'http%3A%2F%2Fsimply-debrid.com%2Finc%2Fname.php%3Fj%3D', $12
         10        SEND_VAL_EX                                              ~13
         11        SEND_VAR_EX                                              !0
         12        SEND_VAL_EX                                              ''
         13        SEND_VAL_EX                                              0
         14        DO_FCALL                                      0  $14     
         15        ASSIGN                                                   !1, $14
    5    16        INIT_FCALL                                               'preg_match'
         17        SEND_VAL                                                 '%25%28http%5C%3A%5C%2F%5C%2F.%2A%3F%29%25U'
         18        SEND_VAR                                                 !1
         19        SEND_REF                                                 !3
         20        DO_ICALL                                         $16     
         21      > JMPZ_EX                                          ~17     $16, ->27
         22    >   INIT_FCALL                                               'stristr'
         23        SEND_VAR                                                 !1
         24        SEND_VAL                                                 'sd.php'
         25        DO_ICALL                                         $18     
         26        BOOL                                             ~17     $18
         27    > > JMPZ                                                     ~17, ->46
    6    28    >   INIT_FCALL                                               'trim'
         29        FETCH_DIM_R                                      ~19     !3, 1
         30        SEND_VAL                                                 ~19
         31        DO_ICALL                                         $20     
         32        ASSIGN                                                   !4, $20
    7    33        INIT_STATIC_METHOD_CALL                                  'Tools_get', 'size_name'
         34        SEND_VAR_EX                                              !4
         35        CHECK_FUNC_ARG                                           
         36        FETCH_THIS                                       $22     
         37        FETCH_OBJ_FUNC_ARG                               $23     $22, 'cookie'
         38        SEND_FUNC_ARG                                            $23
         39        DO_FCALL                                      0  $24     
         40        ASSIGN                                                   !5, $24
    8    41        FETCH_DIM_R                                      ~26     !5, 0
         42        ASSIGN                                                   !6, ~26
    9    43        FETCH_DIM_R                                      ~28     !5, 1
         44        ASSIGN                                                   !7, ~28
         45      > JMP                                                      ->66
   11    46    >   INIT_FCALL                                               'stristr'
         47        SEND_VAR                                                 !1
         48        SEND_VAL                                                 'NOT+SUPPORTED'
         49        DO_ICALL                                         $30     
         50      > JMPZ                                                     $30, ->53
         51    > > EXIT                                                     'not+support+by+simply-debrid.com'
         52*       JMP                                                      ->66
   12    53    >   INIT_FCALL                                               'stristr'
         54        SEND_VAR                                                 !1
         55        SEND_VAL                                                 'UNDER+MAINTENANCE'
         56        DO_ICALL                                         $31     
         57      > JMPZ                                                     $31, ->60
         58    > > EXIT                                                     'UNDER+MAINTENANCE'
         59*       JMP                                                      ->66
   14    60    >   ASSIGN                                                   !0, ''
   15    61        FETCH_THIS                                       $33     
         62        INIT_METHOD_CALL                                         $33, 'save_cookies'
         63        SEND_VAL_EX                                              'simply-debrid.com'
         64        SEND_VAL_EX                                              ''
         65        DO_FCALL                                      0          
   26    66    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.33 ms | 1392 KiB | 21 Q