3v4l.org

run code in 300+ PHP versions simultaneously
<?php $friend_status = get_user_friend_status($user_profile_id,$_SESSION['user_id']); if ($friend_status == NULL) { ?> <form action="API.php" method="post"> <input style="float: right; margin-right: 20px; background: gray;" type="submit" name="friend_request" value="Ask Friendship" class="user_button" /> <input type="hidden" name="command" value="friend_request" /> <input type="hidden" name="user_profile_id" value="<?php echo $user_profile_id; ?>" /> </form> <?php }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/g1bFX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $friend_status, !1 = $user_profile_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'get_user_friend_status'
          1        SEND_VAR_EX                                              !1
          2        CHECK_FUNC_ARG                                           
          3        FETCH_FUNC_ARG               global              $2      '_SESSION'
          4        FETCH_DIM_FUNC_ARG                               $3      $2, 'user_id'
          5        SEND_FUNC_ARG                                            $3
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !0, $4
    4     8        IS_EQUAL                                                 !0, null
          9      > JMPZ                                                     ~6, ->13
    6    10    >   ECHO                                                     '++++%3Cform+action%3D%22API.php%22+method%3D%22post%22%3E%0A++++++++%3Cinput+style%3D%22float%3A+right%3B+margin-right%3A+20px%3B+background%3A+gray%3B%22+type%3D%22submit%22+name%3D%22friend_request%22+value%3D%22Ask+Friendship%22+class%3D%22user_button%22+%2F%3E%0A++++++++%3Cinput+type%3D%22hidden%22+name%3D%22command%22+value%3D%22friend_request%22+%2F%3E%0A++++++++%3Cinput+type%3D%22hidden%22+name%3D%22user_profile_id%22+value%3D%22'
    9    11        ECHO                                                     !1
         12        ECHO                                                     '%22+%2F%3E%0A++++%3C%2Fform%3E%0A++++'
   12    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.11 ms | 1398 KiB | 13 Q