3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!filter_has_var(INPUT_POST, "htppps://sdd")) { echo("Input type does not exist"); } else { $url = filter_input(INPUT_POST, "url", FILTER_SANITIZE_URL); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KXc1A
function name:  (null)
number of ops:  15
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'filter_has_var'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 'htppps%3A%2F%2Fsdd'
          3        DO_ICALL                                         $1      
          4        BOOL_NOT                                         ~2      $1
          5      > JMPZ                                                     ~2, ->8
    3     6    >   ECHO                                                     'Input+type+does+not+exist'
          7      > JMP                                                      ->14
    5     8    >   INIT_FCALL                                               'filter_input'
          9        SEND_VAL                                                 0
    6    10        SEND_VAL                                                 'url'
         11        SEND_VAL                                                 518
         12        DO_ICALL                                         $3      
    5    13        ASSIGN                                                   !0, $3
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.86 ms | 1394 KiB | 17 Q