3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); require_once 'includes/db.php'; require_once 'includes/init.php'; if (!($user -> LoggedIn())) { header('location: login.php'); die(); } if (!($user->hasMembership($odb))) { header('location: purchase.php'); die(); } if (!($user -> notBanned($odb))) { header('location: login.php'); die(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo $title_prefix; ?>Skype Resolver</title> <?php include 'includes/css.php';?> </head> <body> <?php include 'sidebar.php'; ?> <!-- Right side --> <div id="rightSide"> <?php include 'header.php';?> <!-- Title area --> <div class="titleArea"> <div class="wrapper"> <div class="pageTitle"> <h3>Skype Resolver</h3> </div> <div class="clear"></div> </div> </div> <div class="line"></div> <!-- Main content wrapper --> <div class="wrapper"> <!-- Form --> <?php $resolved = ''; if (isset($_POST['resolveBtn'])) { $name = $_POST['skypeName']; $resolved = @file_get_contents ("http://Skypeapihere.com/skype={$name}"); } ?> <form class="form" method="POST" action=""> <fieldset> <div class="widget"> <div class="title"><img src="images/icons/dark/list.png" alt="" class="titleIcon" /><h6>Skype Resolver</h6></div> <div class="formRow"> <label>Skype Name</label> <div class="formRight"><input type="text" name="skypeName" value="<?php echo $name; ?>" id="skypeName"/></div> <div class="clear"></div> </div> <div class="formRow"> <?php echo $resolved;?> <input type="submit" value="Resolve" name="resolveBtn" class="dblueB logMeIn" /> <div class="clear"></div> </div> </div> </fieldset> </form> </div> <!-- Footer line --> <?php include 'footer.php';?> </div> <div class="clear"></div> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 30
Branch analysis from position: 26
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 30
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 54
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 54
filename:       /in/tmqud
function name:  (null)
number of ops:  62
compiled vars:  !0 = $user, !1 = $odb, !2 = $title_prefix, !3 = $resolved, !4 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        INCLUDE_OR_EVAL                                          'includes%2Fdb.php', REQUIRE_ONCE
    4     3        INCLUDE_OR_EVAL                                          'includes%2Finit.php', REQUIRE_ONCE
    5     4        INIT_METHOD_CALL                                         !0, 'LoggedIn'
          5        DO_FCALL                                      0  $8      
          6        BOOL_NOT                                         ~9      $8
          7      > JMPZ                                                     ~9, ->12
    7     8    >   INIT_FCALL                                               'header'
          9        SEND_VAL                                                 'location%3A+login.php'
         10        DO_ICALL                                                 
    8    11      > EXIT                                                     
   10    12    >   INIT_METHOD_CALL                                         !0, 'hasMembership'
         13        SEND_VAR_EX                                              !1
         14        DO_FCALL                                      0  $11     
         15        BOOL_NOT                                         ~12     $11
         16      > JMPZ                                                     ~12, ->21
   12    17    >   INIT_FCALL                                               'header'
         18        SEND_VAL                                                 'location%3A+purchase.php'
         19        DO_ICALL                                                 
   13    20      > EXIT                                                     
   15    21    >   INIT_METHOD_CALL                                         !0, 'notBanned'
         22        SEND_VAR_EX                                              !1
         23        DO_FCALL                                      0  $14     
         24        BOOL_NOT                                         ~15     $14
         25      > JMPZ                                                     ~15, ->30
   17    26    >   INIT_FCALL                                               'header'
         27        SEND_VAL                                                 'location%3A+login.php'
         28        DO_ICALL                                                 
   18    29      > EXIT                                                     
   21    30    >   ECHO                                                     '%3C%21DOCTYPE+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0%0A+%0ATransitional%2F%2FEN%22%0A+%0A%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-transitional.dtd%22%3E%0A%3Chtml+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%3Chead%3E%0A%3Ctitle%3E'
   28    31        ECHO                                                     !2
         32        ECHO                                                     'Skype+Resolver%3C%2Ftitle%3E%0A'
   29    33        INCLUDE_OR_EVAL                                          'includes%2Fcss.php', INCLUDE
   30    34        ECHO                                                     '%3C%2Fhead%3E%0A%3Cbody%3E%0A'
   33    35        INCLUDE_OR_EVAL                                          'sidebar.php', INCLUDE
   35    36        ECHO                                                     '%3C%21--+Right+side+--%3E%0A%3Cdiv+id%3D%22rightSide%22%3E%0A'
   37    37        INCLUDE_OR_EVAL                                          'header.php', INCLUDE
   38    38        ECHO                                                     '+++%0A+++%0A+%0A+++%0A++++%3C%21--+Title+area+--%3E%0A++++%3Cdiv+class%3D%22titleArea%22%3E%0A++++++++%3Cdiv+class%3D%22wrapper%22%3E%0A++++++++++++%3Cdiv+class%3D%22pageTitle%22%3E%0A++++++++++++++++%3Ch3%3ESkype+Resolver%3C%2Fh3%3E%0A++++++++++++%3C%2Fdiv%3E%0A++++++++++++%3Cdiv+class%3D%22clear%22%3E%3C%2Fdiv%3E%0A++++++++%3C%2Fdiv%3E%0A++++%3C%2Fdiv%3E%0A+++%0A++++%3Cdiv+class%3D%22line%22%3E%3C%2Fdiv%3E%0A+++%0A+%0A+++%0A++++%3C%21--+Main+content+wrapper+--%3E%0A++++%3Cdiv+class%3D%22wrapper%22%3E%0A++++++++%3C%21--+Form+--%3E%0A++++++++++++++++'
   60    39        ASSIGN                                                   !3, ''
   61    40        FETCH_IS                                         ~21     '_POST'
         41        ISSET_ISEMPTY_DIM_OBJ                         0          ~21, 'resolveBtn'
         42      > JMPZ                                                     ~22, ->54
   63    43    >   FETCH_R                      global              ~23     '_POST'
         44        FETCH_DIM_R                                      ~24     ~23, 'skypeName'
         45        ASSIGN                                                   !4, ~24
   64    46        BEGIN_SILENCE                                    ~26     
         47        INIT_FCALL                                               'file_get_contents'
   66    48        NOP                                                      
         49        FAST_CONCAT                                      ~27     'http%3A%2F%2FSkypeapihere.com%2Fskype%3D', !4
         50        SEND_VAL                                                 ~27
         51        DO_ICALL                                         $28     
         52        END_SILENCE                                              ~26
   64    53        ASSIGN                                                   !3, $28
   69    54    >   ECHO                                                     '++++++++++++++++%3Cform+class%3D%22form%22+method%3D%22POST%22+action%3D%22%22%3E%0A++++++++++++%3Cfieldset%3E%0A++++++++++++++++%3Cdiv+class%3D%22widget%22%3E%0A++++++++++++++++++++%3Cdiv+class%3D%22title%22%3E%3Cimg%0A+%0Asrc%3D%22images%2Ficons%2Fdark%2Flist.png%22+alt%3D%22%22+class%3D%22titleIcon%22%0A+%0A%2F%3E%3Ch6%3ESkype+Resolver%3C%2Fh6%3E%3C%2Fdiv%3E%0A++++++++++++++++++++%3Cdiv+class%3D%22formRow%22%3E%0A++++++++++++++++++++++++%3Clabel%3ESkype+Name%3C%2Flabel%3E%0A++++++++++++++++++++++++%3Cdiv+class%3D%22formRight%22%3E%3Cinput+type%3D%22text%22%0A+%0Aname%3D%22skypeName%22+value%3D%22'
   81    55        ECHO                                                     !4
         56        ECHO                                                     '%22%0A+%0Aid%3D%22skypeName%22%2F%3E%3C%2Fdiv%3E%0A++++++++++++++++++++++++%3Cdiv+class%3D%22clear%22%3E%3C%2Fdiv%3E%0A++++++++++++++++++++++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++++++++++++++++++++++%3Cdiv+class%3D%22formRow%22%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++'
   87    57        ECHO                                                     !3
   88    58        ECHO                                                     '++++++++++++++++++++++++++++++++++++++++++++++++%3Cinput+type%3D%22submit%22%0A+%0Avalue%3D%22Resolve%22+name%3D%22resolveBtn%22+class%3D%22dblueB+logMeIn%22+%2F%3E%0A++++++++++++++++++++++++++++++++++++++++++++++++%3Cdiv+class%3D%22clear%22%3E%3C%2Fdiv%3E%0A++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++%3C%2Ffieldset%3E%0A++++++++%3C%2Fform%3E%0A++++%3C%2Fdiv%3E%0A++++%3C%21--+Footer+line+--%3E%0A++++'
   98    59        INCLUDE_OR_EVAL                                          'footer.php', INCLUDE
   99    60        ECHO                                                     '+%0A%3C%2Fdiv%3E%0A+%0A%3Cdiv+class%3D%22clear%22%3E%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A+%0A%3C%2Fhtml%3E'
  105    61      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.77 ms | 1404 KiB | 19 Q