3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($result = mysqli_query($con, $get)) { while ($row = mysqli_fetch_assoc($result)) { $hash = $row['password']; if (password_verify($password, $hash)) { echo 'Valid'; } else { echo 'Invalid'; } } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 22
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 7
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 7
Branch analysis from position: 22
Branch analysis from position: 7
Branch analysis from position: 22
filename:       /in/fvAVa
function name:  (null)
number of ops:  23
compiled vars:  !0 = $result, !1 = $con, !2 = $get, !3 = $hash, !4 = $row, !5 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mysqli_query'
          1        SEND_VAR_EX                                              !1
          2        SEND_VAR_EX                                              !2
          3        DO_FCALL                                      0  $6      
          4        ASSIGN                                           ~7      !0, $6
          5      > JMPZ                                                     ~7, ->22
    3     6    > > JMP                                                      ->17
    4     7    >   FETCH_DIM_R                                      ~8      !4, 'password'
          8        ASSIGN                                                   !3, ~8
    6     9        INIT_FCALL                                               'password_verify'
         10        SEND_VAR                                                 !5
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                         $10     
         13      > JMPZ                                                     $10, ->16
    7    14    >   ECHO                                                     'Valid'
         15      > JMP                                                      ->17
    9    16    >   ECHO                                                     'Invalid'
    3    17    >   INIT_FCALL_BY_NAME                                       'mysqli_fetch_assoc'
         18        SEND_VAR_EX                                              !0
         19        DO_FCALL                                      0  $11     
         20        ASSIGN                                           ~12     !4, $11
         21      > JMPNZ                                                    ~12, ->7
   13    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.33 ms | 1395 KiB | 15 Q