Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/JTj7I function name: (null) number of ops: 9 compiled vars: !0 = $treeByCat line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 46 0 E > ASSIGN !0, <array> 59 1 INIT_FCALL 'print_r' 2 INIT_FCALL 'getparentandchild' 3 SEND_VAR !0 4 SEND_VAL 4 5 DO_FCALL 0 $2 6 SEND_VAR $2 7 DO_ICALL 61 8 > RETURN 1 Function getparentandchild: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9 Branch analysis from position: 7 1 jumps found. (Code = 42) Position 1 = 10 Branch analysis from position: 10 1 jumps found. (Code = 42) Position 1 = 28 Branch analysis from position: 28 2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 17 Branch analysis from position: 30 1 jumps found. (Code = 42) Position 1 = 48 Branch analysis from position: 48 2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 31 Branch analysis from position: 51 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 31 2 jumps found. (Code = 77) Position 1 = 32, Position 2 = 47 Branch analysis from position: 32 2 jumps found. (Code = 78) Position 1 = 33, Position 2 = 47 Branch analysis from position: 33 2 jumps found. (Code = 77) Position 1 = 39, Position 2 = 44 Branch analysis from position: 39 2 jumps found. (Code = 78) Position 1 = 40, Position 2 = 44 Branch analysis from position: 40 1 jumps found. (Code = 42) Position 1 = 39 Branch analysis from position: 39 Branch analysis from position: 44 1 jumps found. (Code = 42) Position 1 = 32 Branch analysis from position: 32 Branch analysis from position: 44 Branch analysis from position: 47 2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 31 Branch analysis from position: 51 Branch analysis from position: 31 Branch analysis from position: 47 Branch analysis from position: 17 2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23 Branch analysis from position: 21 1 jumps found. (Code = 42) Position 1 = 24 Branch analysis from position: 24 2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 17 Branch analysis from position: 30 Branch analysis from position: 17 Branch analysis from position: 23 2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 17 Branch analysis from position: 30 Branch analysis from position: 17 Branch analysis from position: 9 1 jumps found. (Code = 42) Position 1 = 28 Branch analysis from position: 28 filename: /in/JTj7I function name: getParentAndChild number of ops: 69 compiled vars: !0 = $data, !1 = $id, !2 = $tree, !3 = $current, !4 = $parent_id, !5 = $child_ids, !6 = $child_id, !7 = $children, !8 = $child line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 4 0 E > RECV !0 1 RECV !1 7 2 ASSIGN !2, <array> 13 3 FETCH_DIM_R ~10 !0, !1 4 ASSIGN !3, ~10 14 5 TYPE_CHECK 2 !3 6 > JMPZ ~12, ->9 7 > QM_ASSIGN ~13 'NULL' 8 > JMP ->10 9 > QM_ASSIGN ~13 !3 10 > ASSIGN !4, ~13 16 11 INIT_ARRAY ~15 !1 12 ASSIGN !5, ~15 18 13 FETCH_DIM_W $17 !2, 'parents' 14 ASSIGN_DIM $17 15 OP_DATA !4 20 16 > JMP ->28 21 17 > FETCH_DIM_R ~19 !0, !4 18 ASSIGN !3, ~19 22 19 TYPE_CHECK 2 !3 20 > JMPZ ~21, ->23 21 > QM_ASSIGN ~22 'NULL' 22 > JMP ->24 23 > QM_ASSIGN ~22 !3 24 > ASSIGN !4, ~22 23 25 FETCH_DIM_W $24 !2, 'parents' 26 ASSIGN_DIM $24 27 OP_DATA !4 20 28 > ISSET_ISEMPTY_DIM_OBJ 0 !0, !4 29 > JMPNZ ~26, ->17 26 30 > > JMP ->48 28 31 > > FE_RESET_R $27 !5, ->47 32 > > FE_FETCH_R $27, !6, ->47 30 33 > INIT_FCALL 'array_keys' 34 SEND_VAR !0 35 SEND_VAR !6 36 DO_ICALL $28 37 ASSIGN !7, $28 32 38 > FE_RESET_R $30 !7, ->44 39 > > FE_FETCH_R $30, !8, ->44 40 > FETCH_DIM_W $31 !2, 'children' 41 ASSIGN_DIM $31 42 OP_DATA !8 43 > JMP ->39 44 > FE_FREE $30 34 45 ASSIGN !5, !7 28 46 > JMP ->32 47 > FE_FREE $27 26 48 > COUNT ~34 !5 49 IS_SMALLER 0, ~34 50 > JMPNZ ~35, ->31 39 51 > INIT_FCALL 'array_merge' 52 INIT_FCALL 'array_reverse' 53 FETCH_DIM_R ~37 !2, 'parents' 54 SEND_VAL ~37 55 DO_ICALL $38 56 SEND_VAR $38 57 FETCH_DIM_R ~39 !2, 'children' 58 SEND_VAL ~39 59 DO_ICALL $40 60 ASSIGN_DIM !2, 'full' 61 OP_DATA $40 41 62 INIT_FCALL 'implode' 63 SEND_VAL '+%3E+' 64 FETCH_DIM_R ~41 !2, 'full' 65 SEND_VAL ~41 66 DO_ICALL $42 67 ECHO $42 43 68 > RETURN null End of function getparentandchild
Generated using Vulcan Logic Dumper, using php 8.0.0