3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $con=mysqli_connect("localhost", "root", "Howismy1975", "testevent"); $companyname = isset($_POST["companyname"]) ? $_POST['companyname'] : 'companyname'; $contactname = isset($_POST["contactname"]) ? $_POST['contactname'] : 'contactname'; $conphonenumber = isset($_POST["conphonenumber"]) ? $_POST['conphonenumber'] : 'conphonenumber'; $conemail = isset($_POST["conemail"]) ? $_POST['conemail'] : 'conemail'; $conaddress = isset($_POST["conaddress"]) ? $_POST['conaddress'] : 'conaddress'; $conpostcode = isset($_POST["conpostcode"]) ? $_POST['conpostcode'] : 'conpostcode'; $statement = mysqli_prepare($con, "INSERT INTO client(companyname, contactname, conphonenumber, conemail, conaddress, conpostcode) VALUES (?, ?, ?, ?, ?, ?)"); mysqli_stmt_bind_param($statement, "ssssss", $companyname, $contactname, $conphonenumber, $conemail, $conaddress, $conpostcode); mysqli_stmt_execute($statement); mysqli_stmt_close($statement); mysqli_close($con); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 23
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 32
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 41
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 42
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 50
Branch analysis from position: 46
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 59
Branch analysis from position: 55
1 jumps found. (Code = 42) Position 1 = 60
Branch analysis from position: 60
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 59
Branch analysis from position: 55
Branch analysis from position: 59
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 50
Branch analysis from position: 46
Branch analysis from position: 50
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 41
Branch analysis from position: 37
Branch analysis from position: 41
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 32
Branch analysis from position: 28
Branch analysis from position: 32
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 23
Branch analysis from position: 19
Branch analysis from position: 23
filename:       /in/jmJlF
function name:  (null)
number of ops:  86
compiled vars:  !0 = $con, !1 = $companyname, !2 = $contactname, !3 = $conphonenumber, !4 = $conemail, !5 = $conaddress, !6 = $conpostcode, !7 = $statement
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   INIT_FCALL_BY_NAME                                       'mysqli_connect'
         1        SEND_VAL_EX                                              'localhost'
         2        SEND_VAL_EX                                              'root'
         3        SEND_VAL_EX                                              'Howismy1975'
         4        SEND_VAL_EX                                              'testevent'
         5        DO_FCALL                                      0  $8      
         6        ASSIGN                                                   !0, $8
   8     7        FETCH_IS                                         $10     '_POST'
         8        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~11     $10, 'companyname'
         9      > JMPZ                                                     ~11, ->14
        10    >   FETCH_R                      global              $12     '_POST'
        11        FETCH_DIM_R                                      $13     $12, 'companyname'
        12        QM_ASSIGN                                        ~14     $13
        13      > JMP                                                      ->15
        14    >   QM_ASSIGN                                        ~14     'companyname'
        15    >   ASSIGN                                                   !1, ~14
   9    16        FETCH_IS                                         $16     '_POST'
        17        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~17     $16, 'contactname'
        18      > JMPZ                                                     ~17, ->23
        19    >   FETCH_R                      global              $18     '_POST'
        20        FETCH_DIM_R                                      $19     $18, 'contactname'
        21        QM_ASSIGN                                        ~20     $19
        22      > JMP                                                      ->24
        23    >   QM_ASSIGN                                        ~20     'contactname'
        24    >   ASSIGN                                                   !2, ~20
  10    25        FETCH_IS                                         $22     '_POST'
        26        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~23     $22, 'conphonenumber'
        27      > JMPZ                                                     ~23, ->32
        28    >   FETCH_R                      global              $24     '_POST'
        29        FETCH_DIM_R                                      $25     $24, 'conphonenumber'
        30        QM_ASSIGN                                        ~26     $25
        31      > JMP                                                      ->33
        32    >   QM_ASSIGN                                        ~26     'conphonenumber'
        33    >   ASSIGN                                                   !3, ~26
  11    34        FETCH_IS                                         $28     '_POST'
        35        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~29     $28, 'conemail'
        36      > JMPZ                                                     ~29, ->41
        37    >   FETCH_R                      global              $30     '_POST'
        38        FETCH_DIM_R                                      $31     $30, 'conemail'
        39        QM_ASSIGN                                        ~32     $31
        40      > JMP                                                      ->42
        41    >   QM_ASSIGN                                        ~32     'conemail'
        42    >   ASSIGN                                                   !4, ~32
  12    43        FETCH_IS                                         $34     '_POST'
        44        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~35     $34, 'conaddress'
        45      > JMPZ                                                     ~35, ->50
        46    >   FETCH_R                      global              $36     '_POST'
        47        FETCH_DIM_R                                      $37     $36, 'conaddress'
        48        QM_ASSIGN                                        ~38     $37
        49      > JMP                                                      ->51
        50    >   QM_ASSIGN                                        ~38     'conaddress'
        51    >   ASSIGN                                                   !5, ~38
  13    52        FETCH_IS                                         $40     '_POST'
        53        ISSET_ISEMPTY_DIM_OBJ                       33554432  ~41     $40, 'conpostcode'
        54      > JMPZ                                                     ~41, ->59
        55    >   FETCH_R                      global              $42     '_POST'
        56        FETCH_DIM_R                                      $43     $42, 'conpostcode'
        57        QM_ASSIGN                                        ~44     $43
        58      > JMP                                                      ->60
        59    >   QM_ASSIGN                                        ~44     'conpostcode'
        60    >   ASSIGN                                                   !6, ~44
  15    61        INIT_FCALL_BY_NAME                                       'mysqli_prepare'
        62        SEND_VAR_EX                                              !0
        63        SEND_VAL_EX                                              'INSERT+INTO+client%28companyname%2C+contactname%2C+conphonenumber%2C+conemail%2C+conaddress%2C+conpostcode%29+VALUES+%28%3F%2C+%3F%2C+%3F%2C+%3F%2C+%3F%2C+%3F%29'
        64        DO_FCALL                                      0  $46     
        65        ASSIGN                                                   !7, $46
  16    66        INIT_FCALL_BY_NAME                                       'mysqli_stmt_bind_param'
        67        SEND_VAR_EX                                              !7
        68        SEND_VAL_EX                                              'ssssss'
        69        SEND_VAR_EX                                              !1
        70        SEND_VAR_EX                                              !2
        71        SEND_VAR_EX                                              !3
        72        SEND_VAR_EX                                              !4
        73        SEND_VAR_EX                                              !5
        74        SEND_VAR_EX                                              !6
        75        DO_FCALL                                      0          
  17    76        INIT_FCALL_BY_NAME                                       'mysqli_stmt_execute'
        77        SEND_VAR_EX                                              !7
        78        DO_FCALL                                      0          
  19    79        INIT_FCALL_BY_NAME                                       'mysqli_stmt_close'
        80        SEND_VAR_EX                                              !7
        81        DO_FCALL                                      0          
  22    82        INIT_FCALL_BY_NAME                                       'mysqli_close'
        83        SEND_VAR_EX                                              !0
        84        DO_FCALL                                      0          
  23    85      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0