3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($stmt=$connection->prepare('SELECT user_ID FROM users WHERE email=(?)')) { $stmt->bind_param('s',$email); $stmt->execute(); $stmt->bind_result($user_ID); while ($stmt->fetch()) { $user=$user_ID; } if($stmt->errno!==0) { } $stmt->close(); } else { }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 25
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 15
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 22
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 15
Branch analysis from position: 19
Branch analysis from position: 15
Branch analysis from position: 25
filename:       /in/gb4p9
function name:  (null)
number of ops:  26
compiled vars:  !0 = $stmt, !1 = $connection, !2 = $email, !3 = $user_ID, !4 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_METHOD_CALL                                         !1, 'prepare'
          1        SEND_VAL_EX                                              'SELECT+user_ID++FROM+users+WHERE+email%3D%28%3F%29'
          2        DO_FCALL                                      0  $5      
          3        ASSIGN                                           ~6      !0, $5
          4      > JMPZ                                                     ~6, ->25
    6     5    >   INIT_METHOD_CALL                                         !0, 'bind_param'
          6        SEND_VAL_EX                                              's'
          7        SEND_VAR_EX                                              !2
          8        DO_FCALL                                      0          
    7     9        INIT_METHOD_CALL                                         !0, 'execute'
         10        DO_FCALL                                      0          
    8    11        INIT_METHOD_CALL                                         !0, 'bind_result'
         12        SEND_VAR_EX                                              !3
         13        DO_FCALL                                      0          
    9    14      > JMP                                                      ->16
   11    15    >   ASSIGN                                                   !4, !3
    9    16    >   INIT_METHOD_CALL                                         !0, 'fetch'
         17        DO_FCALL                                      0  $11     
         18      > JMPNZ                                                    $11, ->15
   14    19    >   FETCH_OBJ_R                                      ~12     !0, 'errno'
         20        IS_NOT_IDENTICAL                                         ~12, 0
         21      > JMPZ                                                     ~13, ->22
   18    22    >   INIT_METHOD_CALL                                         !0, 'close'
         23        DO_FCALL                                      0          
         24      > JMP                                                      ->25
   24    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.51 ms | 1386 KiB | 13 Q