Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/7oH4V function name: (null) number of ops: 16 compiled vars: !0 = $c line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 58 0 E > NEW $1 'CategoryTree' 1 DO_FCALL 0 2 ASSIGN !0, $1 59 3 INIT_METHOD_CALL !0, 'addCategory' 4 SEND_VAL_EX 'A' 5 SEND_VAL_EX null 6 DO_FCALL 0 60 7 INIT_METHOD_CALL !0, 'addCategory' 8 SEND_VAL_EX 'B' 9 SEND_VAL_EX 'A' 10 DO_FCALL 0 61 11 INIT_METHOD_CALL !0, 'addCategory' 12 SEND_VAL_EX 'C' 13 SEND_VAL_EX 'A' 14 DO_FCALL 0 62 15 > RETURN 1 Class CategoryTree: Function addcategory: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12 Branch analysis from position: 9 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 12 2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 35 Branch analysis from position: 28 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 35 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/7oH4V function name: addCategory number of ops: 38 compiled vars: !0 = $category, !1 = $parent, !2 = $node line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 6 0 E > RECV !0 1 RECV !1 9 2 INIT_METHOD_CALL 'categoryExists' 3 CHECK_FUNC_ARG 4 FETCH_OBJ_FUNC_ARG $3 'roots' 5 SEND_FUNC_ARG $3 6 SEND_VAR_EX !0 7 DO_FCALL 0 $4 8 > JMPZ $4, ->12 10 9 > NEW $5 'InvalidArgumentException' 10 DO_FCALL 0 11 > THROW 0 $5 13 12 > TYPE_CHECK 2 !1 13 > JMPZ ~7, ->18 14 14 > FETCH_OBJ_W $8 'roots' 15 ASSIGN_DIM $8, !0 16 OP_DATA <array> 15 17 > RETURN null 18 18 > INIT_METHOD_CALL 'findNode' 19 SEND_VAR_EX !1 20 CHECK_FUNC_ARG 21 FETCH_OBJ_FUNC_ARG $10 'roots' 22 SEND_FUNC_ARG $10 23 DO_FCALL 0 $11 24 ASSIGN !2, $11 19 25 ISSET_ISEMPTY_CV ~13 !2 26 BOOL_NOT ~14 ~13 27 > JMPZ ~14, ->35 20 28 > NEW $15 'InvalidArgumentException' 29 ROPE_INIT 3 ~17 'Parent+node%3A+' 30 ROPE_ADD 1 ~17 ~17, !1 31 ROPE_END 2 ~16 ~17, '+not+found.' 32 SEND_VAL_EX ~16 33 DO_FCALL 0 34 > THROW 0 $15 22 35 > ASSIGN_DIM !2, !0 36 OP_DATA <array> 23 37 > RETURN null End of function addcategory Function getchildren: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14 Branch analysis from position: 11 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/7oH4V function name: getChildren number of ops: 19 compiled vars: !0 = $parent, !1 = $node line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > RECV !0 27 1 INIT_METHOD_CALL 'findNode' 2 SEND_VAR_EX !0 3 CHECK_FUNC_ARG 4 FETCH_OBJ_FUNC_ARG $2 'roots' 5 SEND_FUNC_ARG $2 6 DO_FCALL 0 $3 7 ASSIGN !1, $3 28 8 ISSET_ISEMPTY_CV ~5 !1 9 BOOL_NOT ~6 ~5 10 > JMPZ ~6, ->14 29 11 > NEW $7 'InvalidArgumentException' 12 DO_FCALL 0 13 > THROW 0 $7 31 14 > INIT_FCALL 'array_keys' 15 SEND_VAR !1 16 DO_ICALL $9 17 > RETURN $9 32 18* > RETURN null End of function getchildren Function findnode: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21 Branch analysis from position: 19 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 21 2 jumps found. (Code = 77) Position 1 = 22, Position 2 = 30 Branch analysis from position: 22 2 jumps found. (Code = 78) Position 1 = 23, Position 2 = 30 Branch analysis from position: 23 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 30 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 30 filename: /in/7oH4V function name: findNode number of ops: 32 compiled vars: !0 = $node, !1 = $root, !2 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 34 0 E > RECV !0 1 RECV !1 35 2 INIT_FCALL 'print_r' 3 SEND_VAR !0 4 DO_ICALL 36 5 INIT_FCALL 'print_r' 6 INIT_FCALL 'array_keys' 7 SEND_VAR !1 8 DO_ICALL $4 9 SEND_VAR $4 10 DO_ICALL 37 11 INIT_FCALL 'in_array' 12 SEND_VAR !0 13 INIT_FCALL 'array_keys' 14 SEND_VAR !1 15 DO_ICALL $6 16 SEND_VAR $6 17 DO_ICALL $7 18 > JMPZ $7, ->21 38 19 > FETCH_DIM_R ~8 !1, !0 20 > RETURN ~8 40 21 > > FE_RESET_R $9 !1, ->30 22 > > FE_FETCH_R $9, !2, ->30 41 23 > INIT_METHOD_CALL 'findNode' 24 SEND_VAR_EX !0 25 SEND_VAR_EX !2 26 DO_FCALL 0 $10 27 FE_FREE $9 28 > RETURN $10 40 29* JMP ->22 30 > FE_FREE $9 43 31 > RETURN null End of function findnode Function categoryexists: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 21 Branch analysis from position: 4 2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 21 Branch analysis from position: 5 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 1 jumps found. (Code = 42) Position 1 = 4 Branch analysis from position: 4 Branch analysis from position: 21 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 21 filename: /in/7oH4V function name: categoryExists number of ops: 24 compiled vars: !0 = $nodes, !1 = $category, !2 = $exists, !3 = $node line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 45 0 E > RECV !0 1 RECV !1 46 2 ASSIGN !2, <false> 47 3 > FE_RESET_R $5 !0, ->21 4 > > FE_FETCH_R $5, !3, ->21 48 5 > INIT_FCALL 'in_array' 6 SEND_VAR !1 7 INIT_METHOD_CALL 'getChildren' 8 SEND_VAR_EX !3 9 DO_FCALL 0 $6 10 SEND_VAR $6 11 DO_ICALL $7 12 > JMPZ $7, ->15 49 13 > FE_FREE $5 14 > RETURN <true> 51 15 > INIT_METHOD_CALL 'categoryExists' 16 SEND_VAR_EX !3 17 SEND_VAR_EX !1 18 DO_FCALL 0 $8 19 ASSIGN !2, $8 47 20 > JMP ->4 21 > FE_FREE $5 53 22 > RETURN !2 54 23* > RETURN null End of function categoryexists End of class CategoryTree.
Generated using Vulcan Logic Dumper, using php 8.0.0