3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tartalom["index"] = "nyert2"; $lap = "index\0../../../"; if( preg_match( '[^a-zA-Z0-9\_\-]', $lap ) ) { echo "404.php"; } else { echo "nyert"; } if( empty($tartalom[$lap] ) ) { echo "404.php"; exit; } else { echo $tartalom[$lap]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
Branch analysis from position: 16
filename:       /in/XX1d7
function name:  (null)
number of ops:  19
compiled vars:  !0 = $tartalom, !1 = $lap
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'index'
          1        OP_DATA                                                  'nyert2'
    4     2        ASSIGN                                                   !1, 'index%00..%2F..%2F..%2F'
    6     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%5B%5Ea-zA-Z0-9%5C_%5C-%5D'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7      > JMPZ                                                     $4, ->10
    8     8    >   ECHO                                                     '404.php'
          9      > JMP                                                      ->11
   10    10    >   ECHO                                                     'nyert'
   14    11    >   ISSET_ISEMPTY_DIM_OBJ                         1          !0, !1
         12      > JMPZ                                                     ~5, ->16
   16    13    >   ECHO                                                     '404.php'
   17    14      > EXIT                                                     
         15*       JMP                                                      ->18
   19    16    >   FETCH_DIM_R                                      ~6      !0, !1
         17        ECHO                                                     ~6
   20    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.68 ms | 1395 KiB | 15 Q