Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: (null) number of ops: 1 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 196 0 E > > RETURN 1 Class AmoApi: Function setpostparams: 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 = 12 Branch analysis from position: 12 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12 Branch analysis from position: 10 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 12 filename: /in/90s23 function name: setPostParams number of ops: 15 compiled vars: !0 = $post_params line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 13 0 E > RECV !0 14 1 FETCH_DIM_R ~1 !0, 'placement' 2 IS_EQUAL ~1, 1 3 > JMPZ ~2, ->7 15 4 > ASSIGN_DIM !0, 'placement' 5 OP_DATA '2040058' 6 > JMP ->12 16 7 > FETCH_DIM_R ~4 !0, 'placement' 8 IS_EQUAL ~4, 0 9 > JMPZ ~5, ->12 17 10 > ASSIGN_DIM !0, 'placement' 11 OP_DATA '2040060' 19 12 > ASSIGN_OBJ 'post_params' 13 OP_DATA !0 21 14 > RETURN null End of function setpostparams Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: __construct number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 23 0 E > INIT_METHOD_CALL 'auth' 1 DO_FCALL 0 24 2 > RETURN null End of function __construct Function setlink: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: setLink number of ops: 4 compiled vars: !0 = $link line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 29 0 E > RECV !0 30 1 ASSIGN_OBJ 'link' 2 OP_DATA !0 31 3 > RETURN null End of function setlink Function getcurrentuserinfo: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: getCurrentUserInfo number of ops: 7 compiled vars: !0 = $arr line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 34 0 E > INIT_METHOD_CALL 'curlGet' 1 DO_FCALL 0 $1 2 ASSIGN !0, $1 35 3 FETCH_DIM_R ~3 !0, 'response' 4 FETCH_DIM_R ~4 ~3, 'account' 5 > RETURN ~4 36 6* > RETURN null End of function getcurrentuserinfo Function auth: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: auth number of ops: 10 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 39 0 E > INIT_METHOD_CALL 'curlPost' 1 CHECK_FUNC_ARG 2 FETCH_OBJ_FUNC_ARG $0 'params' 3 SEND_FUNC_ARG $0 4 FETCH_OBJ_R ~1 'link' 5 CONCAT ~2 '', ~1 6 SEND_VAL_EX ~2 7 DO_FCALL 0 $3 8 > RETURN $3 40 9* > RETURN null End of function auth Function curlpost: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: curlPost number of ops: 101 compiled vars: !0 = $params, !1 = $link, !2 = $curl, !3 = $out, !4 = $code line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 42 0 E > RECV !0 1 RECV !1 43 2 INIT_FCALL_BY_NAME 'curl_init' 3 DO_FCALL 0 $5 4 ASSIGN !2, $5 45 5 INIT_FCALL_BY_NAME 'curl_setopt' 6 SEND_VAR_EX !2 7 FETCH_CONSTANT ~7 'CURLOPT_RETURNTRANSFER' 8 SEND_VAL_EX ~7 9 SEND_VAL_EX <true> 10 DO_FCALL 0 46 11 INIT_FCALL_BY_NAME 'curl_setopt' 12 SEND_VAR_EX !2 13 FETCH_CONSTANT ~9 'CURLOPT_USERAGENT' 14 SEND_VAL_EX ~9 15 SEND_VAL_EX 'amoCRM-API-client%2F1.0' 16 DO_FCALL 0 47 17 INIT_FCALL_BY_NAME 'curl_setopt' 18 SEND_VAR_EX !2 19 FETCH_CONSTANT ~11 'CURLOPT_URL' 20 SEND_VAL_EX ~11 21 SEND_VAR_EX !1 22 DO_FCALL 0 48 23 INIT_FCALL_BY_NAME 'curl_setopt' 24 SEND_VAR_EX !2 25 FETCH_CONSTANT ~13 'CURLOPT_CUSTOMREQUEST' 26 SEND_VAL_EX ~13 27 SEND_VAL_EX 'POST' 28 DO_FCALL 0 49 29 INIT_FCALL_BY_NAME 'curl_setopt' 30 SEND_VAR_EX !2 31 FETCH_CONSTANT ~15 'CURLOPT_POSTFIELDS' 32 SEND_VAL_EX ~15 33 INIT_FCALL 'json_encode' 34 SEND_VAR !0 35 DO_ICALL $16 36 SEND_VAR_NO_REF_EX $16 37 DO_FCALL 0 50 38 INIT_FCALL_BY_NAME 'curl_setopt' 39 SEND_VAR_EX !2 40 FETCH_CONSTANT ~18 'CURLOPT_HTTPHEADER' 41 SEND_VAL_EX ~18 42 SEND_VAL_EX <array> 43 DO_FCALL 0 51 44 INIT_FCALL_BY_NAME 'curl_setopt' 45 SEND_VAR_EX !2 46 FETCH_CONSTANT ~20 'CURLOPT_HEADER' 47 SEND_VAL_EX ~20 48 SEND_VAL_EX <false> 49 DO_FCALL 0 52 50 INIT_FCALL_BY_NAME 'curl_setopt' 51 SEND_VAR_EX !2 52 FETCH_CONSTANT ~22 'CURLOPT_COOKIEFILE' 53 SEND_VAL_EX ~22 54 INIT_FCALL 'dirname' 55 SEND_VAL '%2Fin%2F90s23' 56 DO_ICALL $23 57 CONCAT ~24 $23, '%2Fcookie.txt' 58 SEND_VAL_EX ~24 59 DO_FCALL 0 53 60 INIT_FCALL_BY_NAME 'curl_setopt' 61 SEND_VAR_EX !2 62 FETCH_CONSTANT ~26 'CURLOPT_COOKIEJAR' 63 SEND_VAL_EX ~26 64 INIT_FCALL 'dirname' 65 SEND_VAL '%2Fin%2F90s23' 66 DO_ICALL $27 67 CONCAT ~28 $27, '%2Fcookie.txt' 68 SEND_VAL_EX ~28 69 DO_FCALL 0 54 70 INIT_FCALL_BY_NAME 'curl_setopt' 71 SEND_VAR_EX !2 72 FETCH_CONSTANT ~30 'CURLOPT_SSL_VERIFYPEER' 73 SEND_VAL_EX ~30 74 SEND_VAL_EX 0 75 DO_FCALL 0 55 76 INIT_FCALL_BY_NAME 'curl_setopt' 77 SEND_VAR_EX !2 78 FETCH_CONSTANT ~32 'CURLOPT_SSL_VERIFYHOST' 79 SEND_VAL_EX ~32 80 SEND_VAL_EX 0 81 DO_FCALL 0 56 82 INIT_FCALL_BY_NAME 'curl_exec' 83 SEND_VAR_EX !2 84 DO_FCALL 0 $34 85 ASSIGN !3, $34 57 86 INIT_FCALL_BY_NAME 'curl_getinfo' 87 SEND_VAR_EX !2 88 FETCH_CONSTANT ~36 'CURLINFO_HTTP_CODE' 89 SEND_VAL_EX ~36 90 DO_FCALL 0 $37 91 ASSIGN !4, $37 58 92 INIT_FCALL_BY_NAME 'curl_close' 93 SEND_VAR_EX !2 94 DO_FCALL 0 59 95 INIT_FCALL 'json_decode' 96 SEND_VAR !3 97 SEND_VAL <true> 98 DO_ICALL $40 99 > RETURN $40 60 100* > RETURN null End of function curlpost Function curlget: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: curlGet number of ops: 80 compiled vars: !0 = $link, !1 = $curl, !2 = $out, !3 = $code, !4 = $Response line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 63 0 E > RECV_INIT !0 '' 64 1 INIT_FCALL_BY_NAME 'curl_init' 2 DO_FCALL 0 $5 3 ASSIGN !1, $5 66 4 INIT_FCALL_BY_NAME 'curl_setopt' 5 SEND_VAR_EX !1 6 FETCH_CONSTANT ~7 'CURLOPT_RETURNTRANSFER' 7 SEND_VAL_EX ~7 8 SEND_VAL_EX <true> 9 DO_FCALL 0 67 10 INIT_FCALL_BY_NAME 'curl_setopt' 11 SEND_VAR_EX !1 12 FETCH_CONSTANT ~9 'CURLOPT_USERAGENT' 13 SEND_VAL_EX ~9 14 SEND_VAL_EX 'amoCRM-API-client%2F1.0' 15 DO_FCALL 0 68 16 INIT_FCALL_BY_NAME 'curl_setopt' 17 SEND_VAR_EX !1 18 FETCH_CONSTANT ~11 'CURLOPT_URL' 19 SEND_VAL_EX ~11 20 SEND_VAR_EX !0 21 DO_FCALL 0 69 22 INIT_FCALL_BY_NAME 'curl_setopt' 23 SEND_VAR_EX !1 24 FETCH_CONSTANT ~13 'CURLOPT_HEADER' 25 SEND_VAL_EX ~13 26 SEND_VAL_EX <false> 27 DO_FCALL 0 70 28 INIT_FCALL_BY_NAME 'curl_setopt' 29 SEND_VAR_EX !1 30 FETCH_CONSTANT ~15 'CURLOPT_COOKIEFILE' 31 SEND_VAL_EX ~15 32 INIT_FCALL 'dirname' 33 SEND_VAL '%2Fin%2F90s23' 34 DO_ICALL $16 35 CONCAT ~17 $16, '%2Fcookie.txt' 36 SEND_VAL_EX ~17 37 DO_FCALL 0 71 38 INIT_FCALL_BY_NAME 'curl_setopt' 39 SEND_VAR_EX !1 40 FETCH_CONSTANT ~19 'CURLOPT_COOKIEJAR' 41 SEND_VAL_EX ~19 42 INIT_FCALL 'dirname' 43 SEND_VAL '%2Fin%2F90s23' 44 DO_ICALL $20 45 CONCAT ~21 $20, '%2Fcookie.txt' 46 SEND_VAL_EX ~21 47 DO_FCALL 0 72 48 INIT_FCALL_BY_NAME 'curl_setopt' 49 SEND_VAR_EX !1 50 FETCH_CONSTANT ~23 'CURLOPT_SSL_VERIFYPEER' 51 SEND_VAL_EX ~23 52 SEND_VAL_EX 0 53 DO_FCALL 0 73 54 INIT_FCALL_BY_NAME 'curl_setopt' 55 SEND_VAR_EX !1 56 FETCH_CONSTANT ~25 'CURLOPT_SSL_VERIFYHOST' 57 SEND_VAL_EX ~25 58 SEND_VAL_EX 0 59 DO_FCALL 0 75 60 INIT_FCALL_BY_NAME 'curl_exec' 61 SEND_VAR_EX !1 62 DO_FCALL 0 $27 63 ASSIGN !2, $27 76 64 INIT_FCALL_BY_NAME 'curl_getinfo' 65 SEND_VAR_EX !1 66 FETCH_CONSTANT ~29 'CURLINFO_HTTP_CODE' 67 SEND_VAL_EX ~29 68 DO_FCALL 0 $30 69 ASSIGN !3, $30 77 70 INIT_FCALL_BY_NAME 'curl_close' 71 SEND_VAR_EX !1 72 DO_FCALL 0 83 73 INIT_FCALL 'json_decode' 74 SEND_VAR !2 75 SEND_VAL <true> 76 DO_ICALL $33 77 ASSIGN !4, $33 84 78 > RETURN !4 85 79* > RETURN null End of function curlget Function addleads: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: addLeads number of ops: 40 compiled vars: !0 = $link, !1 = $current_user, !2 = $params line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 88 0 E > ASSIGN !0, 'private%2Fapi%2Fv2%2Fjson%2Fleads%2Fset' 89 1 INIT_METHOD_CALL 'getCurrentUserInfo' 2 DO_FCALL 0 $4 3 ASSIGN !1, $4 92 4 INIT_METHOD_CALL 'getNumRequest' 5 DO_FCALL 0 $9 6 CONCAT ~10 '%D0%97%D0%B0%D1%8F%D0%B2%D0%BA%D0%B0+%D1%81+%D1%81%D0%B0%D0%B9%D1%82%D0%B0+%E2%84%96+', $9 7 INIT_ARRAY ~11 ~10, 'name' 93 8 ADD_ARRAY_ELEMENT ~11 7540914, 'status_id' 95 9 ADD_ARRAY_ELEMENT ~11 209582, 'responsible_user_id' 92 10 INIT_ARRAY ~12 <array> 106 11 INIT_ARRAY ~13 901454, 'id' 108 12 FETCH_OBJ_R ~14 'post_params' 13 FETCH_DIM_R ~15 ~14, 'placement' 14 INIT_ARRAY ~16 ~15, 'value' 15 INIT_ARRAY ~17 ~16 16 ADD_ARRAY_ELEMENT ~13 ~17, 'values' 17 ADD_ARRAY_ELEMENT ~12 ~13 113 18 INIT_ARRAY ~18 896588, 'id' 114 19 FETCH_OBJ_R ~19 'post_params' 20 FETCH_DIM_R ~20 ~19, 'summa' 21 INIT_ARRAY ~21 ~20, 'value' 22 INIT_ARRAY ~22 ~21 23 ADD_ARRAY_ELEMENT ~18 ~22, 'values' 24 ADD_ARRAY_ELEMENT ~12 ~18 25 ADD_ARRAY_ELEMENT ~11 ~12, 'custom_fields' 26 INIT_ARRAY ~23 ~11 90 27 FETCH_DIM_W $6 !2, 'request' 28 FETCH_DIM_W $7 $6, 'leads' 29 ASSIGN_DIM $7, 'add' 114 30 OP_DATA ~23 119 31 INIT_METHOD_CALL 'curlPost' 32 SEND_VAR_EX !2 33 SEND_VAR_EX !0 34 DO_FCALL 0 $24 35 FETCH_DIM_R ~25 $24, 'response' 36 FETCH_DIM_R ~26 ~25, 'leads' 37 FETCH_DIM_R ~27 ~26, 'add' 38 > RETURN ~27 120 39* > RETURN null End of function addleads Function addcontacts: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: addContacts number of ops: 49 compiled vars: !0 = $lead_id, !1 = $link, !2 = $params line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 122 0 E > RECV_INIT !0 0 124 1 ASSIGN !1, 'private%2Fapi%2Fv2%2Fjson%2Fcontacts%2Fset' 127 2 FETCH_OBJ_R ~7 'post_params' 3 FETCH_DIM_R ~8 ~7, 'name' 4 INIT_ARRAY ~9 ~8, 'name' 129 5 INIT_ARRAY ~10 !0 6 ADD_ARRAY_ELEMENT ~9 ~10, 'linked_leads_id' 135 7 INIT_ARRAY ~11 861010, 'id' 138 8 FETCH_OBJ_R ~12 'post_params' 9 FETCH_DIM_R ~13 ~12, 'phone' 10 INIT_ARRAY ~14 ~13, 'value' 139 11 ADD_ARRAY_ELEMENT ~14 'WORK', 'enum' 12 INIT_ARRAY ~15 ~14 13 ADD_ARRAY_ELEMENT ~11 ~15, 'values' 14 INIT_ARRAY ~16 ~11 146 15 INIT_ARRAY ~17 861012, 'id' 149 16 FETCH_OBJ_R ~18 'post_params' 17 FETCH_DIM_R ~19 ~18, 'email' 18 INIT_ARRAY ~20 ~19, 'value' 150 19 ADD_ARRAY_ELEMENT ~20 'WORK', 'enum' 20 INIT_ARRAY ~21 ~20 21 ADD_ARRAY_ELEMENT ~17 ~21, 'values' 22 ADD_ARRAY_ELEMENT ~16 ~17 157 23 INIT_ARRAY ~22 901490, 'id' 160 24 FETCH_OBJ_R ~23 'post_params' 25 FETCH_DIM_R ~24 ~23, 'region' 26 INIT_ARRAY ~25 ~24, 'value' 27 INIT_ARRAY ~26 ~25 28 ADD_ARRAY_ELEMENT ~22 ~26, 'values' 29 ADD_ARRAY_ELEMENT ~16 ~22 167 30 INIT_ARRAY ~27 896596, 'id' 168 31 FETCH_OBJ_R ~28 'post_params' 32 FETCH_DIM_R ~29 ~28, 'age' 33 INIT_ARRAY ~30 ~29, 'value' 34 INIT_ARRAY ~31 ~30 35 ADD_ARRAY_ELEMENT ~27 ~31, 'values' 36 ADD_ARRAY_ELEMENT ~16 ~27 37 ADD_ARRAY_ELEMENT ~9 ~16, 'custom_fields' 38 INIT_ARRAY ~32 ~9 125 39 FETCH_DIM_W $4 !2, 'request' 40 FETCH_DIM_W $5 $4, 'contacts' 41 ASSIGN_DIM $5, 'add' 168 42 OP_DATA ~32 174 43 INIT_METHOD_CALL 'curlPost' 44 SEND_VAR_EX !2 45 SEND_VAR_EX !1 46 DO_FCALL 0 $33 47 > RETURN $33 175 48* > RETURN null End of function addcontacts Function addconnectedrow: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/90s23 function name: addConnectedRow number of ops: 17 compiled vars: !0 = $lead_id, !1 = $contact line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 178 0 E > INIT_METHOD_CALL 'addLeads' 1 DO_FCALL 0 $2 2 FETCH_DIM_R ~3 $2, 0 3 FETCH_DIM_R ~4 ~3, 'id' 4 ASSIGN !0, ~4 179 5 FETCH_OBJ_W $6 'error' 6 ASSIGN_DIM $6 7 OP_DATA !0 180 8 INIT_METHOD_CALL 'addContacts' 9 SEND_VAR_EX !0 10 DO_FCALL 0 $8 11 ASSIGN !1, $8 181 12 FETCH_OBJ_W $10 'error' 13 ASSIGN_DIM $10 14 OP_DATA !1 182 15 > RETURN !1 183 16* > RETURN null End of
Generated using Vulcan Logic Dumper, using php 8.0.0