3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); require_once("Connect.inc.php"); require_once("dbconnection.php"); if(isset($_POST['Anrede']) && isset($_POST['Name']) && isset($_POST['Vorname']) && isset($_POST['Username']) && isset($_POST['Email']) && isset($_POST['Passwort']) && isset($_POST['Passwort2']) && isset($_POST['PLZ']) && isset($_POST['Ort']) && isset($_POST['Adresse'])){ if(filter_input_array(INPUT_POST, FILTER_SANITIZE_SPECIAL_CHARS)){ $anrede = $_POST['Anrede']; $name = $_POST['Name']; $vorname = $_POST['Vorname']; $username = $_POST['Username']; $email = $_POST['Email']; $passwort = $_POST['Passwort']; $passwort2 = $_POST['Passwort2']; $plz = $_POST['PLZ']; $ort = $_POST['Ort']; $adresse = $_POST['Adresse']; //Passwort Kontrolle if($passwort != $passwort2){ echo "Die Passw&ouml;ter stimmen nicht &uuml;berein!"; } else{ $add_registry_sql = ("INSERT INTO benutzer (Anrede, Name, Vorname, Username, Email, Passwort, Passwort2, PLZ, Ort, Adresse) VALUES ('$anrede', '$name', '$vorname', '$username', '$email', '$passwort', '$passwort2', '$plz', '$ort, '$adresse')"); mysqli_query($db, $add_registry_sql); header("Refresh: 2; index.php?site=home"); } } else{ echo "Es ist ein Fehler aufgetaucht!"; header("Refresh: 2; index.php?site=contact"); } } else{ echo "Es ist ein Fehler aufgetaucht!"; header("Refresh: 2; index.php?site=contact"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
2 jumps found. (Code = 46) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
2 jumps found. (Code = 46) Position 1 = 27, Position 2 = 30
Branch analysis from position: 27
2 jumps found. (Code = 46) Position 1 = 31, Position 2 = 34
Branch analysis from position: 31
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 38
Branch analysis from position: 35
2 jumps found. (Code = 46) Position 1 = 39, Position 2 = 42
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 117
Branch analysis from position: 43
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 112
Branch analysis from position: 48
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 82
Branch analysis from position: 80
1 jumps found. (Code = 42) Position 1 = 111
Branch analysis from position: 111
1 jumps found. (Code = 42) Position 1 = 116
Branch analysis from position: 116
1 jumps found. (Code = 42) Position 1 = 121
Branch analysis from position: 121
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 82
1 jumps found. (Code = 42) Position 1 = 116
Branch analysis from position: 116
Branch analysis from position: 112
1 jumps found. (Code = 42) Position 1 = 121
Branch analysis from position: 121
Branch analysis from position: 117
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
Branch analysis from position: 38
Branch analysis from position: 34
Branch analysis from position: 30
Branch analysis from position: 26
Branch analysis from position: 22
Branch analysis from position: 18
Branch analysis from position: 14
Branch analysis from position: 10
filename:       /in/I8QjN
function name:  (null)
number of ops:  122
compiled vars:  !0 = $anrede, !1 = $name, !2 = $vorname, !3 = $username, !4 = $email, !5 = $passwort, !6 = $passwort2, !7 = $plz, !8 = $ort, !9 = $adresse, !10 = $add_registry_sql, !11 = $db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    3     2        INCLUDE_OR_EVAL                                          'Connect.inc.php', REQUIRE_ONCE
    4     3        INCLUDE_OR_EVAL                                          'dbconnection.php', REQUIRE_ONCE
    6     4        FETCH_IS                                         ~15     '_POST'
          5        ISSET_ISEMPTY_DIM_OBJ                         0  ~16     ~15, 'Anrede'
          6      > JMPZ_EX                                          ~16     ~16, ->10
          7    >   FETCH_IS                                         ~17     '_POST'
          8        ISSET_ISEMPTY_DIM_OBJ                         0  ~18     ~17, 'Name'
          9        BOOL                                             ~16     ~18
         10    > > JMPZ_EX                                          ~16     ~16, ->14
         11    >   FETCH_IS                                         ~19     '_POST'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~20     ~19, 'Vorname'
         13        BOOL                                             ~16     ~20
         14    > > JMPZ_EX                                          ~16     ~16, ->18
         15    >   FETCH_IS                                         ~21     '_POST'
         16        ISSET_ISEMPTY_DIM_OBJ                         0  ~22     ~21, 'Username'
         17        BOOL                                             ~16     ~22
         18    > > JMPZ_EX                                          ~16     ~16, ->22
         19    >   FETCH_IS                                         ~23     '_POST'
         20        ISSET_ISEMPTY_DIM_OBJ                         0  ~24     ~23, 'Email'
         21        BOOL                                             ~16     ~24
         22    > > JMPZ_EX                                          ~16     ~16, ->26
         23    >   FETCH_IS                                         ~25     '_POST'
         24        ISSET_ISEMPTY_DIM_OBJ                         0  ~26     ~25, 'Passwort'
         25        BOOL                                             ~16     ~26
         26    > > JMPZ_EX                                          ~16     ~16, ->30
         27    >   FETCH_IS                                         ~27     '_POST'
         28        ISSET_ISEMPTY_DIM_OBJ                         0  ~28     ~27, 'Passwort2'
         29        BOOL                                             ~16     ~28
         30    > > JMPZ_EX                                          ~16     ~16, ->34
         31    >   FETCH_IS                                         ~29     '_POST'
         32        ISSET_ISEMPTY_DIM_OBJ                         0  ~30     ~29, 'PLZ'
         33        BOOL                                             ~16     ~30
         34    > > JMPZ_EX                                          ~16     ~16, ->38
         35    >   FETCH_IS                                         ~31     '_POST'
         36        ISSET_ISEMPTY_DIM_OBJ                         0  ~32     ~31, 'Ort'
         37        BOOL                                             ~16     ~32
         38    > > JMPZ_EX                                          ~16     ~16, ->42
         39    >   FETCH_IS                                         ~33     '_POST'
         40        ISSET_ISEMPTY_DIM_OBJ                         0  ~34     ~33, 'Adresse'
         41        BOOL                                             ~16     ~34
         42    > > JMPZ                                                     ~16, ->117
    9    43    >   INIT_FCALL                                               'filter_input_array'
         44        SEND_VAL                                                 0
         45        SEND_VAL                                                 515
         46        DO_ICALL                                         $35     
         47      > JMPZ                                                     $35, ->112
   10    48    >   FETCH_R                      global              ~36     '_POST'
         49        FETCH_DIM_R                                      ~37     ~36, 'Anrede'
         50        ASSIGN                                                   !0, ~37
   11    51        FETCH_R                      global              ~39     '_POST'
         52        FETCH_DIM_R                                      ~40     ~39, 'Name'
         53        ASSIGN                                                   !1, ~40
   12    54        FETCH_R                      global              ~42     '_POST'
         55        FETCH_DIM_R                                      ~43     ~42, 'Vorname'
         56        ASSIGN                                                   !2, ~43
   13    57        FETCH_R                      global              ~45     '_POST'
         58        FETCH_DIM_R                                      ~46     ~45, 'Username'
         59        ASSIGN                                                   !3, ~46
   14    60        FETCH_R                      global              ~48     '_POST'
         61        FETCH_DIM_R                                      ~49     ~48, 'Email'
         62        ASSIGN                                                   !4, ~49
   15    63        FETCH_R                      global              ~51     '_POST'
         64        FETCH_DIM_R                                      ~52     ~51, 'Passwort'
         65        ASSIGN                                                   !5, ~52
   16    66        FETCH_R                      global              ~54     '_POST'
         67        FETCH_DIM_R                                      ~55     ~54, 'Passwort2'
         68        ASSIGN                                                   !6, ~55
   17    69        FETCH_R                      global              ~57     '_POST'
         70        FETCH_DIM_R                                      ~58     ~57, 'PLZ'
         71        ASSIGN                                                   !7, ~58
   18    72        FETCH_R                      global              ~60     '_POST'
         73        FETCH_DIM_R                                      ~61     ~60, 'Ort'
         74        ASSIGN                                                   !8, ~61
   19    75        FETCH_R                      global              ~63     '_POST'
         76        FETCH_DIM_R                                      ~64     ~63, 'Adresse'
         77        ASSIGN                                                   !9, ~64
   22    78        IS_NOT_EQUAL                                             !5, !6
         79      > JMPZ                                                     ~66, ->82
   23    80    >   ECHO                                                     'Die+Passw%26ouml%3Bter+stimmen+nicht+%26uuml%3Bberein%21'
         81      > JMP                                                      ->111
   26    82    >   ROPE_INIT                                    21  ~68     'INSERT+INTO+benutzer+%28Anrede%2C+Name%2C+Vorname%2C+Username%2C+Email%2C+Passwort%2C+Passwort2%2C+PLZ%2C+Ort%2C+Adresse%29+VALUES%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%28%27'
   27    83        ROPE_ADD                                      1  ~68     ~68, !0
         84        ROPE_ADD                                      2  ~68     ~68, '%27%2C+%27'
         85        ROPE_ADD                                      3  ~68     ~68, !1
         86        ROPE_ADD                                      4  ~68     ~68, '%27%2C+%27'
         87        ROPE_ADD                                      5  ~68     ~68, !2
         88        ROPE_ADD                                      6  ~68     ~68, '%27%2C+%27'
         89        ROPE_ADD                                      7  ~68     ~68, !3
         90        ROPE_ADD                                      8  ~68     ~68, '%27%2C+%27'
         91        ROPE_ADD                                      9  ~68     ~68, !4
         92        ROPE_ADD                                     10  ~68     ~68, '%27%2C+%27'
         93        ROPE_ADD                                     11  ~68     ~68, !5
         94        ROPE_ADD                                     12  ~68     ~68, '%27%2C+%27'
         95        ROPE_ADD                                     13  ~68     ~68, !6
         96        ROPE_ADD                                     14  ~68     ~68, '%27%2C+%27'
         97        ROPE_ADD                                     15  ~68     ~68, !7
         98        ROPE_ADD                                     16  ~68     ~68, '%27%2C+%27'
         99        ROPE_ADD                                     17  ~68     ~68, !8
        100        ROPE_ADD                                     18  ~68     ~68, '%2C+%27'
        101        ROPE_ADD                                     19  ~68     ~68, !9
        102        ROPE_END                                     20  ~67     ~68, '%27%29'
   26   103        ASSIGN                                                   !10, ~67
   28   104        INIT_FCALL_BY_NAME                                       'mysqli_query'
        105        SEND_VAR_EX                                              !11
        106        SEND_VAR_EX                                              !10
        107        DO_FCALL                                      0          
   29   108        INIT_FCALL                                               'header'
        109        SEND_VAL                                                 'Refresh%3A+2%3B+index.php%3Fsite%3Dhome'
        110        DO_ICALL                                                 
        111    > > JMP                                                      ->116
   33   112    >   ECHO                                                     'Es+ist+ein+Fehler+aufgetaucht%21'
   34   113        INIT_FCALL                                               'header'
        114        SEND_VAL                                                 'Refresh%3A+2%3B+index.php%3Fsite%3Dcontact'
        115        DO_ICALL                                                 
        116    > > JMP                                                      ->121
   38   117    >   ECHO                                                     'Es+ist+ein+Fehler+aufgetaucht%21'
   39   118        INIT_FCALL                                               'header'
        119        SEND_VAL                                                 'Refresh%3A+2%3B+index.php%3Fsite%3Dcontact'
        120        DO_ICALL                                                 
   42   121    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.57 ms | 1400 KiB | 19 Q