Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 25 Branch analysis from position: 13 2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 25 Branch analysis from position: 14 1 jumps found. (Code = 42) Position 1 = 13 Branch analysis from position: 13 Branch analysis from position: 25 2 jumps found. (Code = 77) Position 1 = 33, Position 2 = 41 Branch analysis from position: 33 2 jumps found. (Code = 78) Position 1 = 34, Position 2 = 41 Branch analysis from position: 34 1 jumps found. (Code = 42) Position 1 = 33 Branch analysis from position: 33 Branch analysis from position: 41 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 41 Branch analysis from position: 25 filename: /in/N9k7P function name: (null) number of ops: 46 compiled vars: !0 = $spl, !1 = $collection, !2 = $collArr, !3 = $i, !4 = $item line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > INIT_STATIC_METHOD_CALL 'SplFixedArray', 'fromArray' 1 SEND_VAL <array> 2 DO_FCALL 0 $5 3 ASSIGN !0, $5 27 4 NEW $7 'Collection' 5 SEND_VAR_EX !0 6 DO_FCALL 0 7 ASSIGN !1, $7 28 8 FETCH_OBJ_R ~10 !1, 'fixedArray' 9 ASSIGN !2, ~10 30 10 ECHO 'Test+%231%0A' 32 11 ASSIGN !3, 0 34 12 > FE_RESET_R $13 !2, ->25 13 > > FE_FETCH_R $13, !4, ->25 35 14 > CONCAT ~14 '--+iteration%3A+', !3 15 CONCAT ~15 ~14, '%2C+item%3A+' 16 CONCAT ~16 ~15, !4 17 CONCAT ~17 ~16, '%2C+sum%3A+' 18 INIT_METHOD_CALL !1, 'getSum' 19 DO_FCALL 0 $18 20 CONCAT ~19 ~17, $18 21 CONCAT ~20 ~19, '%0A' 22 ECHO ~20 36 23 PRE_INC !3 34 24 > JMP ->13 25 > FE_FREE $13 40 26 CONCAT ~22 'Expected+3+iterations%2C+executed+', !3 27 CONCAT ~23 ~22, '%0A' 28 ECHO ~23 41 29 ECHO '%0A' 43 30 ECHO 'Test+%232%0A' 45 31 ASSIGN !3, 0 47 32 > FE_RESET_R $25 !2, ->41 33 > > FE_FETCH_R $25, !4, ->41 48 34 > CONCAT ~26 '--+iteration%3A+', !3 35 CONCAT ~27 ~26, '%2C+item%3A+' 36 CONCAT ~28 ~27, !4 37 CONCAT ~29 ~28, '%0A' 38 ECHO ~29 49 39 PRE_INC !3 47 40 > JMP ->33 41 > FE_FREE $25 52 42 CONCAT ~31 'Expected+3+iterations%2C+executed+', !3 43 CONCAT ~32 ~31, '%0A' 44 ECHO ~32 53 45 > RETURN 1 Class Collection: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/N9k7P function name: __construct number of ops: 4 compiled vars: !0 = $splFixedArray line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 7 0 E > RECV !0 9 1 ASSIGN_OBJ 'fixedArray' 2 OP_DATA !0 10 3 > RETURN null End of function __construct Function getsum: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 7 Branch analysis from position: 4 2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 7 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 4 Branch analysis from position: 4 Branch analysis from position: 7 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 filename: /in/N9k7P function name: getSum number of ops: 10 compiled vars: !0 = $sum, !1 = $arr, !2 = $item line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 14 0 E > ASSIGN !0, 0 15 1 FETCH_OBJ_R ~4 'fixedArray' 2 ASSIGN !1, ~4 16 3 > FE_RESET_R $6 !1, ->7 4 > > FE_FETCH_R $6, !2, ->7 17 5 > ASSIGN_OP 1 !0, !2 16 6 > JMP ->4 7 > FE_FREE $6 20 8 > RETURN !0 21 9* > RETURN null End of function getsum End of class Collection.
Generated using Vulcan Logic Dumper, using php 8.0.0