Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlZEs
function name:  (null)
number of ops:  23
compiled vars:  !0 = $con, !1 = $q, !2 = $my_var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   59     0  E >   ASSIGN                                                   !0, 'my_var'
   60     1        NEW                                              $5      'Conn'
          2        SEND_VAL_EX                                              'host'
          3        SEND_VAL_EX                                              'user'
          4        SEND_VAL_EX                                              'pass'
          5        SEND_VAL_EX                                              'base'
          6        DO_FCALL                                      0          
          7        FETCH_W                      local               $4      !0
          8        ASSIGN                                                   $4, $5
   64     9        INIT_METHOD_CALL                                         !2, 'query'
         10        SEND_VAL_EX                                              'Valid+Query'
         11        DO_FCALL                                      0  $8      
         12        ASSIGN                                                   !1, $8
   65    13        INIT_METHOD_CALL                                         !1, 'fetch_assoc'
         14        DO_FCALL                                      0          
   67    15        ECHO                                                     '%0A-----%0A'
   70    16        INIT_METHOD_CALL                                         !2, 'query'
         17        SEND_VAL_EX                                              'This+is+not+valid'
         18        DO_FCALL                                      0  $11     
         19        ASSIGN                                                   !1, $11
   71    20        INIT_METHOD_CALL                                         !1, 'fetch_assoc'
         21        DO_FCALL                                      0          
         22      > RETURN                                                   1
Class Foo:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlZEs
function name:  __construct
number of ops:  13
compiled vars:  !0 = $host, !1 = $user, !2 = $passwd, !3 = $dbname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   10     4        ASSIGN_OBJ                                               'host'
          5        OP_DATA                                                  !0
   11     6        ASSIGN_OBJ                                               'user'
          7        OP_DATA                                                  !1
   12     8        ASSIGN_OBJ                                               'pass'
          9        OP_DATA                                                  !2
   13    10        ASSIGN_OBJ                                               !3
         11        OP_DATA                                                  !3
   14    12      > RETURN                                                   null
End of function __construct
Function query:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/PlZEs
function name:  query
number of ops:  10
compiled vars:  !0 = $sql, !1 = $resultmode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   18     2        IS_NOT_IDENTICAL                                         !0, 'Valid+Query'
          3      > JMPZ                                                     ~2, ->6
   19     4    >   ASSIGN_OBJ                                               'error'
          5        OP_DATA                                                  'Expected+%22Valid+Query%22'
   22     6    >   NEW                                              $4      'Bar'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   $4
   23     9*     > RETURN                                                   null
End of function query
End of class Foo.
Class Bar:
Function fetch_assoc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlZEs
function name:  fetch_assoc
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   ECHO                                                     'I+was+successful'
   32     1      > RETURN                                                   null
End of function fetch_assoc
End of class Bar.
Class Conn:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlZEs
function name:  __construct
number of ops:  8
compiled vars:  !0 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   42     0  E >   RECV_VARIADIC                                    !0      
   44     1        NEW                                              $2      'Foo'
          2        SEND_UNPACK                                              !0
          3        CHECK_UNDEF_ARGS                                         
          4        DO_FCALL                                      1          
          5        ASSIGN_OBJ                                               'conn'
          6        OP_DATA                                                  $2
   45     7      > RETURN                                                   null
End of function __construct
Function query:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PlZEs
function name:  query
number of ops:  21
compiled vars:  !0 = $query, !1 = $resultmode, !2 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   47     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      1
   49     2        FETCH_OBJ_R                                      ~3      'conn'
          3        INIT_METHOD_CALL                                         ~3, 'query'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !2, $4
   50     8        FETCH_OBJ_IS                                     ~6      'conn'
          9        ISSET_ISEMPTY_PROP_OBJ                           ~7      ~6, 'error'
         10        BOOL_NOT                                         ~8      ~7
         11      > JMPZ                                                     ~8, ->19
   51    12    >   NEW                                              $9      'RuntimeException'
         13        CHECK_FUNC_ARG                                           
         14        FETCH_OBJ_FUNC_ARG                               $10     'conn'
         15        FETCH_OBJ_FUNC_ARG                               $11     $10, 'error'
         16        SEND_FUNC_ARG                                            $11
         17        DO_FCALL                                      0          
         18      > THROW                                         0          $9
   54    19    > > RETURN                                                   !2
   55    20*     > RETURN                                                   null
End of function query
End of class Conn.
Generated using Vulcan Logic Dumper, using php 8.0.0