Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/6elgQ function name: (null) number of ops: 13 compiled vars: !0 = $la, !1 = $drek line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 88 0 E > NEW $2 'Bitfinex' 1 SEND_VAL_EX '1' 2 SEND_VAL_EX '1' 3 SEND_VAL_EX '1' 4 DO_FCALL 0 5 ASSIGN !0, $2 90 6 INIT_METHOD_CALL !0, 'get_balances' 7 DO_FCALL 0 $5 8 ASSIGN !1, $5 91 9 ECHO '%3Cbr%2F%3E' 92 10 ECHO 'Recived+data' 93 11 ECHO !1 94 12 > RETURN 1 Class Bitfinex: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/6elgQ function name: __construct number of ops: 10 compiled vars: !0 = $api_key, !1 = $api_secret, !2 = $api_version line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 8 0 E > RECV !0 1 RECV !1 2 RECV_INIT !2 'v1' 10 3 ASSIGN_OBJ 'api_key' 4 OP_DATA !0 11 5 ASSIGN_OBJ 'api_secret' 6 OP_DATA !1 12 7 ASSIGN_OBJ 'api_version' 8 OP_DATA !2 13 9 > RETURN null End of function __construct Function get_balances: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/6elgQ function name: get_balances number of ops: 13 compiled vars: !0 = $request, !1 = $data line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 18 0 E > FETCH_OBJ_R ~2 'api_version' 1 CONCAT ~3 '%2F', ~2 2 CONCAT ~4 ~3, '%2Fbalances' 3 ASSIGN !0, ~4 20 4 ECHO !0 23 5 INIT_ARRAY ~6 !0, 'request' 6 ADD_ARRAY_ELEMENT ~6 <array>, 'options' 22 7 ASSIGN !1, ~6 27 8 INIT_METHOD_CALL 'send_signed_request' 9 SEND_VAR_EX !1 10 DO_FCALL 0 $8 11 > RETURN $8 28 12* > RETURN null End of function get_balances Function prepare_header: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/6elgQ function name: prepare_header number of ops: 37 compiled vars: !0 = $data, !1 = $payload, !2 = $signature line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 30 0 E > RECV !0 32 1 ASSIGN_DIM !0, 'nonce' 2 OP_DATA 144800329405116 35 3 ECHO !0 36 4 ECHO '%3Cbr%2F%3E' 37 5 ECHO 'Json+encode' 38 6 ECHO '%3Cbr%2F%3E' 39 7 INIT_FCALL 'json_encode' 8 SEND_VAR !0 9 DO_ICALL $4 10 ECHO $4 40 11 ECHO '%3Cbr%2F%3E' 41 12 INIT_FCALL 'base64_encode' 13 INIT_FCALL 'json_encode' 14 SEND_VAR !0 15 DO_ICALL $5 16 SEND_VAR $5 17 DO_ICALL $6 18 ASSIGN !1, $6 42 19 INIT_FCALL 'hash_hmac' 20 SEND_VAL 'sha384' 21 SEND_VAR !1 22 FETCH_OBJ_R ~8 'api_secret' 23 SEND_VAL ~8 24 DO_ICALL $9 25 ASSIGN !2, $9 44 26 ECHO 'payload' 45 27 ECHO !1 48 28 FETCH_OBJ_R ~11 'api_key' 29 CONCAT ~12 'X-BFX-APIKEY%3A+', ~11 30 INIT_ARRAY ~13 ~12 49 31 CONCAT ~14 'X-BFX-PAYLOAD%3A+', !1 32 ADD_ARRAY_ELEMENT ~13 ~14 50 33 CONCAT ~15 'X-BFX-SIGNATURE%3A+', !2 34 ADD_ARRAY_ELEMENT ~13 ~15 35 > RETURN ~13 52 36* > RETURN null End of function prepare_header Function send_signed_request: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 35, Position 2 = 38 Branch analysis from position: 35 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 38 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/6elgQ function name: send_signed_request number of ops: 45 compiled vars: !0 = $data, !1 = $ch, !2 = $url, !3 = $headers, !4 = $result line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 54 0 E > RECV !0 56 1 INIT_FCALL_BY_NAME 'curl_init' 2 DO_FCALL 0 $5 3 ASSIGN !1, $5 57 4 FETCH_OBJ_R ~7 'base_url' 5 FETCH_DIM_R ~8 !0, 'request' 6 CONCAT ~9 ~7, ~8 7 ASSIGN !2, ~9 59 8 ECHO !2 61 9 INIT_METHOD_CALL 'prepare_header' 10 SEND_VAR !0 11 DO_FCALL 0 $11 12 ASSIGN !3, $11 63 13 INIT_FCALL_BY_NAME 'curl_setopt_array' 14 SEND_VAR_EX !1 64 15 FETCH_CONSTANT ~13 'CURLOPT_URL' 16 INIT_ARRAY ~14 !2, ~13 65 17 FETCH_CONSTANT ~15 'CURLOPT_POST' 64 18 ADD_ARRAY_ELEMENT ~14 <true>, ~15 66 19 FETCH_CONSTANT ~16 'CURLOPT_RETURNTRANSFER' 64 20 ADD_ARRAY_ELEMENT ~14 <true>, ~16 67 21 FETCH_CONSTANT ~17 'CURLOPT_HTTPHEADER' 22 ADD_ARRAY_ELEMENT ~14 !3, ~17 68 23 FETCH_CONSTANT ~18 'CURLOPT_SSL_VERIFYPEER' 64 24 ADD_ARRAY_ELEMENT ~14 <false>, ~18 69 25 FETCH_CONSTANT ~19 'CURLOPT_POSTFIELDS' 26 ADD_ARRAY_ELEMENT ~14 '', ~19 27 SEND_VAL_EX ~14 28 DO_FCALL 0 74 29 INIT_FCALL_BY_NAME 'curl_exec' 30 SEND_VAR_EX !1 31 DO_FCALL 0 $21 32 ASSIGN ~22 !4, $21 33 BOOL_NOT ~23 ~22 34 > JMPZ ~23, ->38 76 35 > ECHO 'NO+%3Cbr%2F%3E' 78 36 > RETURN <false> 37* JMP ->44 82 38 > ECHO 'YES+%3Cbr%2F%3E' 83 39 INIT_FCALL 'json_decode' 40 SEND_VAR !4 41 SEND_VAL <true> 42 DO_ICALL $24 43 > RETURN $24 85 44* > RETURN null End of function send_signed_request End of class Bitfinex.
Generated using Vulcan Logic Dumper, using php 8.0.0