3v4l.org

run code in 300+ PHP versions simultaneously
<?php $resultStore = false; try { $stmtSaveQuizResult->execute(['user' => $userId, 'userId' => $userId, 'userid' => $userId, 'user_id' => $userId]); $resultStore = true; } catch (PDOException $e) { } return $resultStore;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 10
Branch analysis from position: 10
2 jumps found. (Code = 107) Position 1 = 11, Position 2 = -2
Branch analysis from position: 11
filename:       /in/c5Tkc
function name:  (null)
number of ops:  13
compiled vars:  !0 = $resultStore, !1 = $stmtSaveQuizResult, !2 = $userId, !3 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    5     1        INIT_METHOD_CALL                                         !1, 'execute'
          2        INIT_ARRAY                                       ~5      !2, 'user'
          3        ADD_ARRAY_ELEMENT                                ~5      !2, 'userId'
          4        ADD_ARRAY_ELEMENT                                ~5      !2, 'userid'
          5        ADD_ARRAY_ELEMENT                                ~5      !2, 'user_id'
          6        SEND_VAL_EX                                              ~5
          7        DO_FCALL                                      0          
    6     8        ASSIGN                                                   !0, <true>
          9      > JMP                                                      ->11
    7    10  E > > CATCH                                       last         'PDOException'
   10    11    > > RETURN                                                   !0
   11    12*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.21 ms | 1393 KiB | 13 Q