Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/Z4QZt
function name: (null)
number of ops: 28
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
27 0 E > INIT_FCALL 'endswith'
1 SEND_VAL '%D0%A8%D1%83%D1%81%D1%82%D1%80%D0%B0%D1%8F+%D0%B1%D1%83%D1%80%D0%B0%D1%8F+%D0%BB%D0%B8%D1%81%D0%B0+%D0%BF%D1%80%D1%8B%D0%B3%D0%B0%D0%B5%D1%82+%D1%87%D0%B5%D1%80%D0%B5%D0%B7+%D0%BB%D0%B5%D0%BD%D0%B8%D0%B2%D1%83%D1%8E+%D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D1%83'
2 SEND_VAL '%D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D1%83'
3 DO_FCALL 0
28 4 INIT_FCALL 'endswith'
5 SEND_VAL '%EB%82%A0%EC%8C%98+%EA%B0%88%EC%83%89+%EC%97%AC%EC%9A%B0%EA%B0%80+%EA%B2%8C%EC%9C%BC%EB%A5%B8+%EA%B0%9C%EB%A5%BC+%EB%9B%B0%EC%96%B4%EB%84%98%EB%8A%94%EB%8B%A4'
6 SEND_VAL '%EA%B0%9C%EB%A5%BC+%EB%9B%B0%EC%96%B4%EB%84%98%EB%8A%94%EB%8B%A4'
7 DO_FCALL 0
29 8 INIT_FCALL 'endswith'
9 SEND_VAL '%E6%95%8F%E6%8D%B7%E7%9A%84%E6%A3%95%E6%AF%9B%E7%8B%90%E7%8B%B8%E4%BB%8E%E6%87%B6%E7%8B%97%E8%BA%AB%E4%B8%8A%E8%B7%83%E8%BF%87'
10 SEND_VAL '%E4%BB%8E%E6%87%B6%E7%8B%97%E8%BA%AB%E4%B8%8A%E8%B7%83%E8%BF%87'
11 DO_FCALL 0
31 12 INIT_FCALL 'replacefirst'
13 SEND_VAL '%D0%BB%D0%B8%D1%81%D0%B0'
14 SEND_VAL '%D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D1%83'
15 SEND_VAL '%D0%A8%D1%83%D1%81%D1%82%D1%80%D0%B0%D1%8F+%D0%B1%D1%83%D1%80%D0%B0%D1%8F+%D0%BB%D0%B8%D1%81%D0%B0+%D0%BF%D1%80%D1%8B%D0%B3%D0%B0%D0%B5%D1%82+%D1%87%D0%B5%D1%80%D0%B5%D0%B7+%D0%BB%D0%B5%D0%BD%D0%B8%D0%B2%D1%83%D1%8E+%D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D1%83'
16 DO_FCALL 0
32 17 INIT_FCALL 'replacefirst'
18 SEND_VAL '%EC%97%AC%EC%9A%B0'
19 SEND_VAL '%EA%B0%9C%EB%A5%BC'
20 SEND_VAL '%EB%82%A0%EC%8C%98+%EA%B0%88%EC%83%89+%EC%97%AC%EC%9A%B0%EA%B0%80+%EA%B2%8C%EC%9C%BC%EB%A5%B8+%EA%B0%9C%EB%A5%BC+%EB%9B%B0%EC%96%B4%EB%84%98%EB%8A%94%EB%8B%A4'
21 DO_FCALL 0
33 22 INIT_FCALL 'replacefirst'
23 SEND_VAL '%E7%8B%90'
24 SEND_VAL '%E7%8B%97'
25 SEND_VAL '%E6%95%8F%E6%8D%B7%E7%9A%84%E6%A3%95%E6%AF%9B%E7%8B%90%E7%8B%B8%E4%BB%8E%E6%87%B6%E7%8B%97%E8%BA%AB%E4%B8%8A%E8%B7%83%E8%BF%87'
26 DO_FCALL 0
27 > RETURN 1
Function endswith:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 29
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 29
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename: /in/Z4QZt
function name: endsWith
number of ops: 31
compiled vars: !0 = $haystack, !1 = $needles, !2 = $needle
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > RECV !0
1 RECV !1
5 2 CAST 7 ~3 !1
3 > FE_RESET_R $4 ~3, ->29
4 > > FE_FETCH_R $4, !2, ->29
6 5 > INIT_FCALL 'var_dump'
7 6 INIT_ARRAY ~5 !0, '%24haystack'
8 7 ADD_ARRAY_ELEMENT ~5 !2, '%24needle'
9 8 STRLEN ~6 !2
9 ADD_ARRAY_ELEMENT ~5 ~6, 'strlen%28%24needle%29'
10 10 INIT_FCALL 'substr'
11 SEND_VAR !0
12 STRLEN ~7 !2
13 MUL ~8 ~7, -1
14 SEND_VAL ~8
15 DO_ICALL $9
16 ADD_ARRAY_ELEMENT ~5 $9, 'substr%28%24haystack%2C+-strlen%28%24needle%29%29'
11 17 INIT_FCALL 'substr'
18 SEND_VAR !0
19 STRLEN ~10 !2
20 MUL ~11 ~10, -1
21 SEND_VAL ~11
22 DO_ICALL $12
23 CAST 6 ~13 !2
24 IS_IDENTICAL ~14 $12, ~13
25 ADD_ARRAY_ELEMENT ~5 ~14, 'substr%28%24haystack%2C+-strlen%28%24needle%29%29+%3D%3D%3D+%28string%29+%24needle'
26 SEND_VAL ~5
6 27 DO_ICALL
5 28 > JMP ->4
29 > FE_FREE $4
14 30 > RETURN null
End of function endswith
Function replacefirst:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/Z4QZt
function name: replaceFirst
number of ops: 24
compiled vars: !0 = $search, !1 = $replace, !2 = $subject, !3 = $position
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
16 0 E > RECV !0
1 RECV !1
2 RECV !2
18 3 INIT_FCALL 'var_dump'
19 4 INIT_ARRAY ~4 !0, '%24search'
20 5 ADD_ARRAY_ELEMENT ~4 !1, '%24replace'
21 6 ADD_ARRAY_ELEMENT ~4 !2, '%24subject'
22 7 INIT_FCALL 'strpos'
8 SEND_VAR !2
9 SEND_VAR !0
10 DO_ICALL $5
11 ASSIGN ~6 !3, $5
12 ADD_ARRAY_ELEMENT ~4 ~6, 'strpos%28%24subject%2C+%24search%29'
23 13 INIT_FCALL 'substr_replace'
14 SEND_VAR !2
15 SEND_VAR !1
16 SEND_VAR !3
17 STRLEN ~7 !0
18 SEND_VAL ~7
19 DO_ICALL $8
20 ADD_ARRAY_ELEMENT ~4 $8, 'substr_replace%28%24subject%2C+%24replace%2C+%24position%2C+strlen%28%24search%29%29'
21 SEND_VAL ~4
18 22 DO_ICALL
25 23 > RETURN null
End of function replacefirst
Generated using Vulcan Logic Dumper, using php 8.0.0