Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/KPH2h
function name: (null)
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
26 0 E > INIT_FCALL 'showcomments'
1 DO_FCALL 0
2 > RETURN 1
Function getcomments:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/KPH2h
function name: getComments
number of ops: 12
compiled vars: !0 = $parentId, !1 = $comments
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > RECV_INIT !0 null
4 1 ASSIGN !1, <array>
14 2 INIT_FCALL 'array_filter'
3 SEND_VAR !1
4 DECLARE_LAMBDA_FUNCTION ~3 [0]
5 BIND_LEXICAL ~3, !0
6 SEND_VAL ~3
7 DO_ICALL $4
8 VERIFY_RETURN_TYPE $4
9 > RETURN $4
15 10* VERIFY_RETURN_TYPE
11* > RETURN null
Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/KPH2h
function name: {closure}
number of ops: 8
compiled vars: !0 = $comment, !1 = $parentId
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
14 0 E > RECV !0
1 BIND_STATIC !1
2 FETCH_DIM_R ~2 !0, 'parentId'
3 IS_IDENTICAL ~3 !1, ~2
4 VERIFY_RETURN_TYPE ~3
5 > RETURN ~3
6* VERIFY_RETURN_TYPE
7* > RETURN null
End of Dynamic Function 0
End of function getcomments
Function showcomments:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 28
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 28
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename: /in/KPH2h
function name: showComments
number of ops: 30
compiled vars: !0 = $parentId, !1 = $level, !2 = $comment
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
17 0 E > RECV_INIT !0 null
1 RECV_INIT !1 0
18 2 INIT_FCALL 'getcomments'
3 SEND_VAR !0
4 DO_FCALL 0 $3
5 > FE_RESET_R $4 $3, ->28
6 > > FE_FETCH_R $4, !2, ->28
19 7 > INIT_FCALL 'printf'
8 SEND_VAL '%25sComment+id%3A+%25d+-+comment+%25s'
9 INIT_FCALL 'str_repeat'
10 SEND_VAL '+++'
11 SEND_VAR !1
12 DO_ICALL $5
13 SEND_VAR $5
14 FETCH_DIM_R ~6 !2, 'id'
15 SEND_VAL ~6
16 FETCH_DIM_R ~7 !2, 'comment'
17 SEND_VAL ~7
18 DO_ICALL
20 19 ECHO '%0A'
22 20 INIT_FCALL_BY_NAME 'showComments'
21 CHECK_FUNC_ARG
22 FETCH_DIM_FUNC_ARG $9 !2, 'id'
23 SEND_FUNC_ARG $9
24 ADD ~10 !1, 1
25 SEND_VAL_EX ~10
26 DO_FCALL 0
18 27 > JMP ->6
28 > FE_FREE $4
24 29 > RETURN null
End of function showcomments
Generated using Vulcan Logic Dumper, using php 8.0.0