Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: (null)
number of ops: 15
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > INIT_FCALL 'stream_wrapper_unregister'
1 SEND_VAL 'file'
2 DO_ICALL
4 3 INIT_FCALL 'stream_wrapper_register'
4 SEND_VAL 'file'
5 SEND_VAL 'InvalidStreamWrapper'
6 DO_ICALL
6 7 ECHO '%3D%3D%3D%3D%3D%3D%3D%3Dfile_get_contents%0A'
7 8 INIT_FCALL 'file_get_contents'
9 SEND_VAL 'non-exists-file'
10 DO_ICALL $2
11 ECHO $2
8 12 ECHO '%3D%3D%3D%3D%3D%3D%3D%3Drequire%0A'
9 13 INCLUDE_OR_EVAL 'non-exists-file', REQUIRE
51 14 > RETURN 1
Class InvalidStreamWrapper:
Function stream_read:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: stream_read
number of ops: 9
compiled vars: !0 = $count
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
22 0 E > RECV !0
24 1 FETCH_OBJ_R ~1 'counter'
2 IS_SMALLER 2, ~1
3 > JMPZ ~2, ->5
25 4 > > RETURN ''
27 5 > PRE_INC_OBJ 'counter'
29 6 FETCH_OBJ_R ~4 'content'
7 > RETURN ~4
30 8* > RETURN null
End of function stream_read
Function stream_stat:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: stream_stat
number of ops: 4
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
34 0 E > FETCH_OBJ_R ~0 'size'
1 INIT_ARRAY ~1 ~0, 'size'
2 > RETURN ~1
35 3* > RETURN null
End of function stream_stat
Function stream_open:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: stream_open
number of ops: 7
compiled vars: !0 = $path, !1 = $mode, !2 = $options, !3 = $opened_path
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
37 0 E > RECV !0
1 RECV !1
2 RECV !2
3 RECV !3
39 4 > RETURN <true>
40 5* VERIFY_RETURN_TYPE
6* > RETURN null
End of function stream_open
Function stream_eof:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: stream_eof
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
44 0 E > > RETURN <true>
45 1* VERIFY_RETURN_TYPE
2* > RETURN null
End of function stream_eof
Function stream_set_option:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bJO5c
function name: stream_set_option
number of ops: 5
compiled vars: !0 = $option, !1 = $arg1, !2 = $arg2
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
47 0 E > RECV !0
1 RECV !1
2 RECV !2
49 3 > RETURN <true>
50 4* > RETURN null
End of function stream_set_option
End of class InvalidStreamWrapper.
Generated using Vulcan Logic Dumper, using php 8.0.0