Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: (null) number of ops: 39 compiled vars: !0 = $testString, !1 = $stringstream, !2 = $output, !3 = $filter, !4 = $bytes line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 71 0 E > INIT_FCALL 'stream_wrapper_register' 1 SEND_VAL 'stringstream' 2 SEND_VAL 'StringStreamWrapper' 3 DO_ICALL 75 4 ASSIGN !0, 'test' 77 5 INIT_FCALL 'base64_encode' 6 SEND_VAR !0 7 DO_ICALL $7 8 CONCAT ~8 'base64_encode+%3D+', $7 9 CONCAT ~9 ~8, '%0A' 10 ECHO ~9 82 11 INIT_STATIC_METHOD_CALL 'StringStreamWrapper', 'Open' 12 SEND_VAR !0 13 DO_FCALL 0 $10 14 ASSIGN !1, $10 85 15 INIT_FCALL 'fopen' 16 SEND_VAL 'php%3A%2F%2Foutput' 17 SEND_VAL 'w%2B' 18 DO_ICALL $12 19 ASSIGN !2, $12 88 20 INIT_FCALL 'stream_filter_append' 21 SEND_VAR !2 22 SEND_VAL 'convert.base64-encode' 23 DO_ICALL $14 24 ASSIGN !3, $14 90 25 ECHO 'outputstream++%3D+' 93 26 INIT_FCALL 'stream_copy_to_stream' 27 SEND_VAR !1 28 SEND_VAR !2 29 DO_ICALL $16 30 ASSIGN !4, $16 94 31 INIT_FCALL_BY_NAME 'write' 32 SEND_VAR_EX !2 33 SEND_VAL_EX '%00' 34 DO_FCALL 0 96 35 NOP 36 FAST_CONCAT ~19 '%0A+wrote+', !4 37 ECHO ~19 38 > RETURN 1 Class StringStreamWrapper: Function stream_open: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_open number of ops: 26 compiled vars: !0 = $path, !1 = $mode, !2 = $options, !3 = $opened_path, !4 = $contextOptions line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 10 0 E > RECV !0 1 RECV !1 2 RECV !2 3 RECV !3 11 4 INIT_FCALL 'stream_context_get_options' 5 FETCH_OBJ_R ~5 'context' 6 SEND_VAL ~5 7 DO_ICALL $6 8 ASSIGN !4, $6 12 9 FETCH_DIM_IS ~8 !4, 'stringstream' 10 ISSET_ISEMPTY_DIM_OBJ 0 ~9 ~8, 'string' 11 BOOL_NOT ~10 ~9 12 > JMPZ ~10, ->14 13 13 > > RETURN <false> 15 14 > ASSIGN_OBJ 'position' 15 OP_DATA 0 18 16 FETCH_DIM_R ~13 !4, 'stringstream' 17 FETCH_DIM_R ~14 ~13, 'string' 18 ASSIGN_OBJ 'stringstream' 19 OP_DATA ~14 20 20 FETCH_OBJ_R ~16 'stringstream' 21 STRLEN ~17 ~16 22 ASSIGN_OBJ 'stringlength' 23 OP_DATA ~17 22 24 > RETURN <true> 23 25* > RETURN null End of function stream_open Function stream_read: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_read number of ops: 14 compiled vars: !0 = $len, !1 = $data line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > RECV !0 26 1 INIT_FCALL 'substr' 2 FETCH_OBJ_R ~2 'stringstream' 3 SEND_VAL ~2 4 FETCH_OBJ_R ~3 'position' 5 SEND_VAL ~3 6 SEND_VAR !0 7 DO_ICALL $4 8 ASSIGN !1, $4 27 9 STRLEN ~7 !1 10 ASSIGN_OBJ_OP 1 'position' 11 OP_DATA ~7 28 12 > RETURN !1 29 13* > RETURN null End of function stream_read Function stream_write: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_write number of ops: 27 compiled vars: !0 = $data, !1 = $l line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 31 0 E > RECV !0 32 1 STRLEN ~2 !0 2 ASSIGN !1, ~2 33 3 INIT_FCALL 'substr' 4 FETCH_OBJ_R ~5 'stringstream' 5 SEND_VAL ~5 6 SEND_VAL 0 7 FETCH_OBJ_R ~6 'position' 8 SEND_VAL ~6 9 DO_ICALL $7 10 CONCAT ~8 $7, !0 11 INIT_FCALL 'substr' 12 FETCH_OBJ_R ~9 'stringstream' 13 SEND_VAL ~9 14 ASSIGN_OBJ_OP 1 ~10 'position' 15 OP_DATA !1 16 SEND_VAL ~10 17 DO_ICALL $11 18 CONCAT ~12 ~8, $11 19 ASSIGN_OBJ 'stringstream' 20 OP_DATA ~12 34 21 FETCH_OBJ_R ~14 'stringstream' 22 STRLEN ~15 ~14 23 ASSIGN_OBJ 'stringlength' 24 OP_DATA ~15 35 25 > RETURN !1 36 26* > RETURN null End of function stream_write Function stream_seek: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7 Branch analysis from position: 4 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 14 Branch analysis from position: 9 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_seek number of ops: 18 compiled vars: !0 = $offset, !1 = $whence line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 38 0 E > RECV !0 1 RECV_INIT !1 <const ast> 39 2 IS_EQUAL !1, 1 3 > JMPZ ~2, ->7 40 4 > ASSIGN_OBJ_OP 1 'position' 5 OP_DATA !0 6 > JMP ->16 42 7 > IS_EQUAL !1, 2 8 > JMPZ ~4, ->14 43 9 > FETCH_OBJ_R ~6 'stringlength' 10 ADD ~7 ~6, !0 11 ASSIGN_OBJ 'position' 12 OP_DATA ~7 13 > JMP ->16 46 14 > ASSIGN_OBJ 'position' 15 OP_DATA !0 48 16 > > RETURN <true> 49 17* > RETURN null End of function stream_seek Function stream_tell: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_tell number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 52 0 E > FETCH_OBJ_R ~0 'position' 1 > RETURN ~0 53 2* > RETURN null End of function stream_tell Function stream_eof: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_eof number of ops: 5 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 56 0 E > FETCH_OBJ_R ~0 'position' 1 FETCH_OBJ_R ~1 'stringlength' 2 IS_SMALLER_OR_EQUAL ~2 ~1, ~0 3 > RETURN ~2 57 4* > RETURN null End of function stream_eof Function stream_stat: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: stream_stat number of ops: 6 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 61 0 E > FETCH_OBJ_R ~0 'stringlength' 1 INIT_ARRAY ~1 ~0, 7 62 2 FETCH_OBJ_R ~2 'stringlength' 3 ADD_ARRAY_ELEMENT ~1 ~2, 'size' 4 > RETURN ~1 64 5* > RETURN null End of function stream_stat Function open: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/3ZmVB function name: Open number of ops: 15 compiled vars: !0 = $string, !1 = $context line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 66 0 E > RECV !0 67 1 INIT_FCALL 'stream_context_create' 2 INIT_ARRAY ~2 !0, 'string' 3 INIT_ARRAY ~3 ~2, 'stringstream' 4 SEND_VAL ~3 5 DO_ICALL $4 6 ASSIGN !1, $4 68 7 INIT_FCALL 'fopen' 8 SEND_VAL 'stringstream%3A%2F%2F' 9 SEND_VAL 'r' 10 SEND_VAL <false> 11 SEND_VAR !1 12 DO_ICALL $6 13 > RETURN $6 69 14* > RETURN null End of function open End of class StringStreamWrapper.
Generated using Vulcan Logic Dumper, using php 8.0.0