Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/5oXGp
function name: (null)
number of ops: 10
compiled vars: !0 = $needles, !1 = $myString
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, <array>
3 1 ASSIGN !1, 'abcdefh'
5 2 INIT_FCALL 'var_dump'
3 INIT_FCALL_BY_NAME 'searchString'
4 SEND_VAR_EX !0
5 SEND_VAR_EX !1
6 DO_FCALL 0 $4
7 SEND_VAR $4
8 DO_ICALL
17 9 > RETURN 1
Function searchstring:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 14
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 13
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename: /in/5oXGp
function name: searchString
number of ops: 19
compiled vars: !0 = $needles, !1 = $haystack, !2 = $itemsFound, !3 = $needle
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
7 0 E > RECV !0
1 RECV !1
9 2 ASSIGN !2, <array>
10 3 > FE_RESET_R $5 !0, ->14
4 > > FE_FETCH_R $5, !3, ->14
11 5 > INIT_FCALL 'strpos'
6 SEND_VAR !1
7 SEND_VAR !3
8 DO_ICALL $6
9 TYPE_CHECK 1018 $6
10 > JMPZ ~7, ->13
12 11 > ASSIGN_DIM !2
12 OP_DATA !3
10 13 > > JMP ->4
14 > FE_FREE $5
16 15 VERIFY_RETURN_TYPE !2
16 > RETURN !2
17 17* VERIFY_RETURN_TYPE
18* > RETURN null
End of function searchstring
Generated using Vulcan Logic Dumper, using php 8.0.0