Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/jSTon function name: (null) number of ops: 153 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > ECHO 'Should+pass%0A' 5 1 INIT_FCALL 'var_dump' 2 INIT_FCALL_BY_NAME 'to_int' 3 SEND_VAL_EX '0' 4 DO_FCALL 0 $0 5 SEND_VAR $0 6 DO_ICALL 6 7 INIT_FCALL 'var_dump' 8 INIT_FCALL_BY_NAME 'to_int' 9 SEND_VAL_EX 0 10 DO_FCALL 0 $2 11 SEND_VAR $2 12 DO_ICALL 7 13 INIT_FCALL 'var_dump' 14 INIT_FCALL_BY_NAME 'to_int' 15 SEND_VAL_EX 0 16 DO_FCALL 0 $4 17 SEND_VAR $4 18 DO_ICALL 8 19 INIT_FCALL 'var_dump' 20 INIT_FCALL_BY_NAME 'to_int' 21 SEND_VAL_EX '0.0' 22 DO_FCALL 0 $6 23 SEND_VAR $6 24 DO_ICALL 10 25 INIT_FCALL 'var_dump' 26 INIT_FCALL_BY_NAME 'to_int' 27 SEND_VAL_EX '10' 28 DO_FCALL 0 $8 29 SEND_VAR $8 30 DO_ICALL 11 31 INIT_FCALL 'var_dump' 32 INIT_FCALL_BY_NAME 'to_int' 33 SEND_VAL_EX 10 34 DO_FCALL 0 $10 35 SEND_VAR $10 36 DO_ICALL 12 37 INIT_FCALL 'var_dump' 38 INIT_FCALL_BY_NAME 'to_int' 39 SEND_VAL_EX 10 40 DO_FCALL 0 $12 41 SEND_VAR $12 42 DO_ICALL 13 43 INIT_FCALL 'var_dump' 44 INIT_FCALL_BY_NAME 'to_int' 45 SEND_VAL_EX '10.0' 46 DO_FCALL 0 $14 47 SEND_VAR $14 48 DO_ICALL 15 49 ECHO 'Should+fail%0A' 17 50 INIT_FCALL 'var_dump' 51 INIT_FCALL_BY_NAME 'to_int' 52 SEND_VAL_EX 1.5 53 DO_FCALL 0 $16 54 SEND_VAR $16 55 DO_ICALL 18 56 INIT_FCALL 'var_dump' 57 INIT_FCALL_BY_NAME 'to_int' 58 SEND_VAL_EX '1.5' 59 DO_FCALL 0 $18 60 SEND_VAR $18 61 DO_ICALL 19 62 INIT_FCALL 'var_dump' 63 INIT_FCALL_BY_NAME 'to_int' 64 SEND_VAL_EX '75e-5' 65 DO_FCALL 0 $20 66 SEND_VAR $20 67 DO_ICALL 20 68 INIT_FCALL 'var_dump' 69 INIT_FCALL_BY_NAME 'to_int' 70 SEND_VAL_EX '31e%2B7' 71 DO_FCALL 0 $22 72 SEND_VAR $22 73 DO_ICALL 22 74 INIT_FCALL 'var_dump' 75 INIT_FCALL_BY_NAME 'to_int' 76 SEND_VAL_EX '10abc' 77 DO_FCALL 0 $24 78 SEND_VAR $24 79 DO_ICALL 23 80 INIT_FCALL 'var_dump' 81 INIT_FCALL_BY_NAME 'to_int' 82 SEND_VAL_EX 'abc10' 83 DO_FCALL 0 $26 84 SEND_VAR $26 85 DO_ICALL 25 86 INIT_FCALL 'var_dump' 87 INIT_FCALL_BY_NAME 'to_int' 88 SEND_VAL_EX INF 89 DO_FCALL 0 $28 90 SEND_VAR $28 91 DO_ICALL 26 92 INIT_FCALL 'var_dump' 93 INIT_FCALL_BY_NAME 'to_int' 94 SEND_VAL_EX -INF 95 DO_FCALL 0 $30 96 SEND_VAR $30 97 DO_ICALL 27 98 INIT_FCALL 'var_dump' 99 INIT_FCALL_BY_NAME 'to_int' 100 SEND_VAL_EX NAN 101 DO_FCALL 0 $32 102 SEND_VAR $32 103 DO_ICALL 28 104 INIT_FCALL 'var_dump' 105 INIT_FCALL_BY_NAME 'to_int' 106 SEND_VAL_EX 1.84467e+19 107 DO_FCALL 0 $34 108 SEND_VAR $34 109 DO_ICALL 30 110 INIT_FCALL 'var_dump' 111 INIT_FCALL_BY_NAME 'to_int' 112 SEND_VAL_EX null 113 DO_FCALL 0 $36 114 SEND_VAR $36 115 DO_ICALL 31 116 INIT_FCALL 'var_dump' 117 INIT_FCALL_BY_NAME 'to_int' 118 SEND_VAL_EX <true> 119 DO_FCALL 0 $38 120 SEND_VAR $38 121 DO_ICALL 32 122 INIT_FCALL 'var_dump' 123 INIT_FCALL_BY_NAME 'to_int' 124 SEND_VAL_EX <false> 125 DO_FCALL 0 $40 126 SEND_VAR $40 127 DO_ICALL 33 128 INIT_FCALL 'var_dump' 129 INIT_FCALL_BY_NAME 'to_int' 130 NEW $42 'stdClass' 131 DO_FCALL 0 132 SEND_VAR_NO_REF_EX $42 133 DO_FCALL 0 $44 134 SEND_VAR $44 135 DO_ICALL 34 136 INIT_FCALL 'var_dump' 137 INIT_FCALL_BY_NAME 'to_int' 138 INIT_FCALL 'fopen' 139 SEND_VAL 'data%3Atext%2Fhtml%2Cfoobar' 140 SEND_VAL 'r' 141 DO_ICALL $46 142 SEND_VAR_NO_REF_EX $46 143 DO_FCALL 0 $47 144 SEND_VAR $47 145 DO_ICALL 35 146 INIT_FCALL 'var_dump' 147 INIT_FCALL_BY_NAME 'to_int' 148 SEND_VAL_EX <array> 149 DO_FCALL 0 $49 150 SEND_VAR $49 151 DO_ICALL 60 152 > RETURN 1 Function to_int: Finding entry points Branch analysis from position: 0 5 jumps found. (Code = 188) Position 1 = 10, Position 2 = 12, Position 3 = 22, Position 4 = 44, Position 5 = 3 Branch analysis from position: 10 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 12 2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 20 Branch analysis from position: 16 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 20 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 22 2 jumps found. (Code = 46) Position 1 = 34, Position 2 = 37 Branch analysis from position: 34 2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 41 Branch analysis from position: 38 1 jumps found. (Code = 42) Position 1 = 42 Branch analysis from position: 42 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 41 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 37 Branch analysis from position: 44 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 10 Branch analysis from position: 5 2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 12 Branch analysis from position: 7 2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 22 Branch analysis from position: 9 1 jumps found. (Code = 42) Position 1 = 44 Branch analysis from position: 44 Branch analysis from position: 22 Branch analysis from position: 12 Branch analysis from position: 10 filename: /in/jSTon function name: to_int number of ops: 48 compiled vars: !0 = $val, !1 = $float line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 42 0 E > RECV !0 44 1 GET_TYPE ~2 !0 2 > SWITCH_STRING ~2, [ 'integer':->10, 'double':->12, 'string':->22, ], ->44 45 3 > CASE ~2, 'integer' 4 > JMPNZ ~3, ->10 47 5 > CASE ~2, 'double' 6 > JMPNZ ~3, ->12 53 7 > CASE ~2, 'string' 8 > JMPNZ ~3, ->22 9 > > JMP ->44 46 10 > FREE ~2 11 > RETURN !0 48 12 > CAST 4 ~4 !0 13 CAST 5 ~5 ~4 14 IS_IDENTICAL !0, ~5 15 > JMPZ ~6, ->20 49 16 > CAST 4 ~7 !0 17 FREE ~2 18 > RETURN ~7 19* JMP ->22 51 20 > FREE ~2 21 > RETURN <false> 54 22 > INIT_FCALL 'trim' 23 SEND_VAR !0 24 SEND_VAL '+%09%0A%0D%0B%0C' 25 DO_ICALL $8 26 ASSIGN !0, $8 55 27 INIT_FCALL 'filter_var' 28 SEND_VAR !0 29 SEND_VAL 259 30 DO_ICALL $10 31 ASSIGN !1, $10 56 32 TYPE_CHECK 1018 ~12 !1 33 > JMPZ_EX ~12 ~12, ->37 34 > CAST 4 ~13 !0 35 IS_EQUAL ~14 !1, ~13 36 BOOL ~12 ~14 37 > > JMPZ ~12, ->41 38 > CAST 4 ~15 !0 39 QM_ASSIGN ~16 ~15 40 > JMP ->42 41 > QM_ASSIGN ~16 <false> 42 > FREE ~2 43 > RETURN ~16 58 44 > FREE ~2 45 > RETURN <false> 46* FREE ~2 60 47* > RETURN null End of function to_int
Generated using Vulcan Logic Dumper, using php 8.0.0