3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @file requestUserInfo.php * @TIME * @brief Brief * @Author Author * @Website www.lotto-pass.cn * */ define('IN_ECS', true); //echo "<p>in request:"; //print_r($_POST); $current_path = dirname(__FILE__); $base_path = substr($current_path, 0, strlen($current_path) - strlen("/webservice")); require_once($base_path . '/includes/init.php'); require_once(ROOT_PATH . 'includes/cls_json.php'); require_once(ROOT_PATH . 'includes/lib_common.php'); // echo "<p>After include:"; require_once (ROOT_PATH . 'includes/utilities/dbutilities.php'); require_once (ROOT_PATH . 'includes/webservice/webserviceutilities.php'); require_once (ROOT_PATH . 'includes/utilities/userUtilities.php'); $device_id = getHttpRequest("device_id"); $trans_time = getHttpRequest("trans_time"); $card_number = getHttpRequest("card_number"); $sessionId = getHttpRequest("sessionId"); $sessionTime = getHttpRequest("sessionTime"); $min_required_points = getHttpRequest("mpb"); $check_sum = getHttpRequest("checksum"); $check_sum_array = array( "device_id" => $device_id, "trans_time" => $trans_time, "card_number" => $card_number, "sessionId" => $sessionId, "sessionTime" => $sessionTime, "mpb" => $min_required_points, "checksum" => $check_sum ); $check_sum_str = constructHttpParameters($check_sum_array); $resultcode = 0; $xml_string = ""; $update_data = array(); $log_date = array(); $post_data = array(); $min_factor1=5; //最低积分的倍数; $min_factor2=10; $transfer_factor1 = 0; // Not enough, no transfer $transfer_factor2 = 1; // Very low, send everything that enough for purchase $transfer_factor3 = 2; // Not enough for 10 purchases, send half of the points $transfer_factor4 = 10; // Sufficient, send points for 10 purchases. $exist_card_number = 0; $post_data['sessionId'] = $sessionId; $post_data['device_id'] = $device_id; $post_data['trans_time'] = $trans_time; $post_data['mpb'] = $min_required_points; $post_data['user_id'] = ""; $post_data['user_name'] = ""; $post_data['alias'] = "";//urlencode($alias); $post_data['display_user_points'] = 0; $post_data['message'] = ""; $post_data['transfer_points'] = 0; $post_data['user_points'] = 0; $post_data['fund_status'] = 100; //100 means not enough fund // Retrieve the jackpot related information and messages $jackpot_table_name = "jackpot_award"; $jackpot_key = "add_time"; $jackpot_sql_result = selectLastRecord($jackpot_key, $jackpot_table_name); while($sql_data = mysql_fetch_array($jackpot_sql_result, MYSQL_ASSOC)){ // echo "<p>The sql_result:"; // print_r($sql_data); $jackpot_amount = $sql_data['jackpot_amount']; $jackpot_ceiling = $sql_data['jackpot_ceiling']; $jackpot_preserved = $sql_data['jackpot_preserved']; $message_front = $sql_data['message_front']; $message_mid = $sql_data['message_mid']; $message_end = $sql_data['message_end']; $message_top = $sql_data['message_top']; //echo "The messages:".$message_front."-".$message_mid."-".$message_end."-".$message_top; $jackpot_data['jackpot_amount'] = $jackpot_amount; $jackpot_data['jackpot_ceiling'] = $jackpot_ceiling; $jackpot_data['jackpot_preserved'] = $jackpot_preserved; $jackpot_data['message_front'] = $message_front; $jackpot_data['message_mid'] = $message_mid; $jackpot_data['message_end'] = $message_end; $jackpot_data['message_top'] = $message_top; $post_data['Jackpot'] = $jackpot_data; } mysql_free_result($sql_result); // echo "<p>The post data:"; // print_r($post_data); if (checkBcc($check_sum_str, $check_sum)) { if (!existSessionId($sessionId, $sessionTime)) { // Retrieve the user information and the points from database $table_name = "users"; $conditions = "card_number = ".$card_number; $sql_result = selectConditionalRecords($conditions, $table_name); while($sql_data = mysql_fetch_array($sql_result, MYSQL_ASSOC)){ // echo "<p>The sql_result:"; // print_r($sql_data); $exist_card_number++; $user_id = $sql_data['user_id']; $user_name = $sql_data['user_name']; $alias = $sql_data['alias']; $current_user_points = abs($sql_data['user_points']); $current_frozen_points = abs($sql_data['frozen_points']); $post_data['user_id'] = $user_id; $post_data['user_name'] = $user_name; $post_data['alias'] = $alias; $post_data['display_user_points'] = abs(intval($current_user_points)); $usable_points = $current_user_points - $current_frozen_points; // echo "<p>usable_points:".$usable_points; switch ($usable_points) { case ($usable_points < $min_required_points) : // echo "<p>case: 100"; $post_data['message'] = "剩余积分不足, 请充值后再继续。"; //$usable_points = 0; $transfer_points = $usable_points * $transfer_factor1; $user_points = $current_user_points; $frozen_points = $current_frozen_points + $transfer_points; $post_data['transfer_points'] = abs(intval($transfer_points)); $post_data['user_points'] = abs(intval($user_points)); $post_data['fund_status'] = 100; //100 means not enough fund break; case ($usable_points >= $min_required_points and $usable_points <= $min_required_points*$min_factor1) : // echo "<p>case: 200"; $post_data['message'] = "剩余积分很低,请速充值。"; $transfer_points = round($usable_points/($min_required_points * $transfer_factor2),0)*$min_required_points; while ($transfer_points > $usable_points) { $transfer_points = $transfer_points - $min_required_points; } $frozen_points = $current_frozen_points + $transfer_points; $user_points = $current_user_points - $transfer_points; // echo "<p> transfer_points:".$transfer_points; $post_data['frozen_points'] = abs(intval($frozen_points)); $post_data['transfer_points'] = abs(intval($transfer_points)); $post_data['user_points'] = abs(intval($user_points)); $post_data['fund_status'] = 200; //200 means very low fund break; case ($usable_points > $min_required_points*$min_factor1 and $usable_points <= $min_required_points*$min_factor2) : // echo "<p>case: 300"; $post_data['message'] = "剩余积分低,请速充值。"; $transfer_points = round($usable_points /($min_required_points * $transfer_factor3),0)*$min_required_points; while ($transfer_points > $usable_points) { $transfer_points = $transfer_points - $min_required_points; } $frozen_points = $current_frozen_points + $transfer_points; $user_points = $current_user_points - $transfer_points; // echo "<p> transfer_points:".$transfer_points; $post_data['frozen_points'] = abs(intval($frozen_points)); $post_data['transfer_points'] = abs(intval($transfer_points)); $post_data['user_points'] = abs(intval($user_points)); $post_data['fund_status'] = 300; //300 means low fund break; case ($usable_points >= $min_required_points*$min_factor4) : // echo "<p>case: default"; $post_data['message'] = "感谢参与公益购彩。"; $transfer_points = $min_required_points*$transfer_factor4; $frozen_points = $current_frozen_points + $transfer_points; $user_points = $current_user_points - $transfer_points; // echo "<p> transfer_points:".$transfer_points; $post_data['frozen_points'] = abs(intval($frozen_points)); $post_data['transfer_points'] = abs(intval($transfer_points)); $post_data['user_points'] = abs(intval($user_points)); $post_data['fund_status'] = 1000; //1000 means sufficient fund break; default : // echo "<p>case: 0"; $post_data['message'] = "无法获取有效积分,请重试。"; $usable_points = 0; $transfer_points = 0; $user_points = 0; $post_data['transfer_points'] = 0; $post_data['user_points'] = 0; $post_data['fund_status'] = 0; //0 means not processed } } mysql_free_result($sql_result); // print_r($post_data); // Update if ($exist_card_number > 0) { $post_data['card_number'] = $card_number; $user_point_change = - $transfer_points; $frozen_points_change = $transfer_points; $change_desc = "可用积分".$usable_points.",向".$device_id."上划拨".$frozen_points."积分,资金状态".$post_data['fund_status']; log_account_change($user_id, 0, 0, 0, $user_point_change, $frozen_points_change, 0, 0, $change_desc); $resultcode = 1; $post_data['status'] = $resultcode; // Check if there is any voucher need to be printed for this user. $voucher_table_name = "active_vouchers"; $conditions = "user_id = ".$user_id." AND status = 0"; $voucher_sql_result = selectConditionalRecords($conditions, $voucher_table_name);; while($sql_data = mysql_fetch_array($voucher_sql_result, MYSQL_ASSOC)){ // echo "<p>The sql_result:"; // print_r($sql_data); $voucher_id = $sql_data['id']; $voucher_template_id = $sql_data['voucher_id']; $qr_message = $sql_data['qr_message']; $voucher_message = $sql_data['message']; $voucher_data['voucher_id'] = $voucher_id; $voucher_data['voucher_template_id'] = $voucher_template_id; $voucher_data['qr_message'] = $qr_message; $voucher_data['voucher_message'] = $voucher_message; $post_data['Coupon'] = $voucher_data; } mysql_free_result($sql_result); } else { $post_data['card_number'] = -1; } $xml_string = getArrayToXML($post_data); //echo $xml_string; $dbStatus = setSessionId($sessionId, $sessionTime, $frozen_points, $xml_string); // echo "<p> The XML_data:".$xml_string; } else { $resultcode = 2;//重发 $xml_string = getTransferred($sessionId, $sessionTime); } } else { $resultcode = 0; } header("Expires: date('Y-m-d H:i:s')"); echo $xml_string; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 147
Branch analysis from position: 147
2 jumps found. (Code = 44) Position 1 = 154, Position 2 = 117
Branch analysis from position: 154
2 jumps found. (Code = 43) Position 1 = 162, Position 2 = 473
Branch analysis from position: 162
2 jumps found. (Code = 43) Position 1 = 168, Position 2 = 466
Branch analysis from position: 168
1 jumps found. (Code = 42) Position 1 = 373
Branch analysis from position: 373
2 jumps found. (Code = 44) Position 1 = 380, Position 2 = 177
Branch analysis from position: 380
2 jumps found. (Code = 43) Position 1 = 385, Position 2 = 452
Branch analysis from position: 385
1 jumps found. (Code = 42) Position 1 = 441
Branch analysis from position: 441
2 jumps found. (Code = 44) Position 1 = 448, Position 2 = 423
Branch analysis from position: 448
1 jumps found. (Code = 42) Position 1 = 454
Branch analysis from position: 454
1 jumps found. (Code = 42) Position 1 = 472
Branch analysis from position: 472
1 jumps found. (Code = 42) Position 1 = 474
Branch analysis from position: 474
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 423
2 jumps found. (Code = 44) Position 1 = 448, Position 2 = 423
Branch analysis from position: 448
Branch analysis from position: 423
Branch analysis from position: 452
1 jumps found. (Code = 42) Position 1 = 472
Branch analysis from position: 472
Branch analysis from position: 177
2 jumps found. (Code = 44) Position 1 = 211, Position 2 = 231
Branch analysis from position: 211
2 jumps found. (Code = 46) Position 1 = 213, Position 2 = 216
Branch analysis from position: 213
2 jumps found. (Code = 44) Position 1 = 218, Position 2 = 253
Branch analysis from position: 218
2 jumps found. (Code = 46) Position 1 = 221, Position 2 = 224
Branch analysis from position: 221
2 jumps found. (Code = 44) Position 1 = 226, Position 2 = 293
Branch analysis from position: 226
2 jumps found. (Code = 44) Position 1 = 230, Position 2 = 333
Branch analysis from position: 230
1 jumps found. (Code = 42) Position 1 = 362
Branch analysis from position: 362
2 jumps found. (Code = 44) Position 1 = 380, Position 2 = 177
Branch analysis from position: 380
Branch analysis from position: 177
Branch analysis from position: 333
1 jumps found. (Code = 42) Position 1 = 373
Branch analysis from position: 373
Branch analysis from position: 293
1 jumps found. (Code = 42) Position 1 = 306
Branch analysis from position: 306
2 jumps found. (Code = 44) Position 1 = 308, Position 2 = 304
Branch analysis from position: 308
1 jumps found. (Code = 42) Position 1 = 373
Branch analysis from position: 373
Branch analysis from position: 304
2 jumps found. (Code = 44) Position 1 = 308, Position 2 = 304
Branch analysis from position: 308
Branch analysis from position: 304
Branch analysis from position: 224
Branch analysis from position: 253
1 jumps found. (Code = 42) Position 1 = 266
Branch analysis from position: 266
2 jumps found. (Code = 44) Position 1 = 268, Position 2 = 264
Branch analysis from position: 268
1 jumps found. (Code = 42) Position 1 = 373
Branch analysis from position: 373
Branch analysis from position: 264
2 jumps found. (Code = 44) Position 1 = 268, Position 2 = 264
Branch analysis from position: 268
Branch analysis from position: 264
Branch analysis from position: 216
Branch analysis from position: 231
1 jumps found. (Code = 42) Position 1 = 373
Branch analysis from position: 373
Branch analysis from position: 466
1 jumps found. (Code = 42) Position 1 = 474
Branch analysis from position: 474
Branch analysis from position: 473
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 117
2 jumps found. (Code = 44) Position 1 = 154, Position 2 = 117
Branch analysis from position: 154
Branch analysis from position: 117
filename:       /in/LMePG
function name:  (null)
number of ops:  479
compiled vars:  !0 = $current_path, !1 = $base_path, !2 = $device_id, !3 = $trans_time, !4 = $card_number, !5 = $sessionId, !6 = $sessionTime, !7 = $min_required_points, !8 = $check_sum, !9 = $check_sum_array, !10 = $check_sum_str, !11 = $resultcode, !12 = $xml_string, !13 = $update_data, !14 = $log_date, !15 = $post_data, !16 = $min_factor1, !17 = $min_factor2, !18 = $transfer_factor1, !19 = $transfer_factor2, !20 = $transfer_factor3, !21 = $transfer_factor4, !22 = $exist_card_number, !23 = $jackpot_table_name, !24 = $jackpot_key, !25 = $jackpot_sql_result, !26 = $jackpot_amount, !27 = $sql_data, !28 = $jackpot_ceiling, !29 = $jackpot_preserved, !30 = $message_front, !31 = $message_mid, !32 = $message_end, !33 = $message_top, !34 = $jackpot_data, !35 = $sql_result, !36 = $table_name, !37 = $conditions, !38 = $user_id, !39 = $user_name, !40 = $alias, !41 = $current_user_points, !42 = $current_frozen_points, !43 = $usable_points, !44 = $min_factor4, !45 = $transfer_points, !46 = $user_points, !47 = $frozen_points, !48 = $user_point_change, !49 = $frozen_points_change, !50 = $change_desc, !51 = $voucher_table_name, !52 = $voucher_sql_result, !53 = $voucher_id, !54 = $voucher_template_id, !55 = $qr_message, !56 = $voucher_message, !57 = $voucher_data, !58 = $dbStatus
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'IN_ECS'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                                 
   15     4        INIT_FCALL                                               'dirname'
          5        SEND_VAL                                                 '%2Fin%2FLMePG'
          6        DO_ICALL                                         $60     
          7        ASSIGN                                                   !0, $60
   16     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 0
         11        STRLEN                                           ~62     !0
         12        SUB                                              ~63     ~62, 11
         13        SEND_VAL                                                 ~63
         14        DO_ICALL                                         $64     
         15        ASSIGN                                                   !1, $64
   17    16        CONCAT                                           ~66     !1, '%2Fincludes%2Finit.php'
         17        INCLUDE_OR_EVAL                                          ~66, REQUIRE_ONCE
   19    18        FETCH_CONSTANT                                   ~68     'ROOT_PATH'
         19        CONCAT                                           ~69     ~68, 'includes%2Fcls_json.php'
         20        INCLUDE_OR_EVAL                                          ~69, REQUIRE_ONCE
   20    21        FETCH_CONSTANT                                   ~71     'ROOT_PATH'
         22        CONCAT                                           ~72     ~71, 'includes%2Flib_common.php'
         23        INCLUDE_OR_EVAL                                          ~72, REQUIRE_ONCE
   24    24        FETCH_CONSTANT                                   ~74     'ROOT_PATH'
         25        CONCAT                                           ~75     ~74, 'includes%2Futilities%2Fdbutilities.php'
         26        INCLUDE_OR_EVAL                                          ~75, REQUIRE_ONCE
   25    27        FETCH_CONSTANT                                   ~77     'ROOT_PATH'
         28        CONCAT                                           ~78     ~77, 'includes%2Fwebservice%2Fwebserviceutilities.php'
         29        INCLUDE_OR_EVAL                                          ~78, REQUIRE_ONCE
   26    30        FETCH_CONSTANT                                   ~80     'ROOT_PATH'
         31        CONCAT                                           ~81     ~80, 'includes%2Futilities%2FuserUtilities.php'
         32        INCLUDE_OR_EVAL                                          ~81, REQUIRE_ONCE
   28    33        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         34        SEND_VAL_EX                                              'device_id'
         35        DO_FCALL                                      0  $83     
         36        ASSIGN                                                   !2, $83
   29    37        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         38        SEND_VAL_EX                                              'trans_time'
         39        DO_FCALL                                      0  $85     
         40        ASSIGN                                                   !3, $85
   30    41        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         42        SEND_VAL_EX                                              'card_number'
         43        DO_FCALL                                      0  $87     
         44        ASSIGN                                                   !4, $87
   31    45        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         46        SEND_VAL_EX                                              'sessionId'
         47        DO_FCALL                                      0  $89     
         48        ASSIGN                                                   !5, $89
   32    49        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         50        SEND_VAL_EX                                              'sessionTime'
         51        DO_FCALL                                      0  $91     
         52        ASSIGN                                                   !6, $91
   33    53        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         54        SEND_VAL_EX                                              'mpb'
         55        DO_FCALL                                      0  $93     
         56        ASSIGN                                                   !7, $93
   34    57        INIT_FCALL_BY_NAME                                       'getHttpRequest'
         58        SEND_VAL_EX                                              'checksum'
         59        DO_FCALL                                      0  $95     
         60        ASSIGN                                                   !8, $95
   37    61        INIT_ARRAY                                       ~97     !2, 'device_id'
   38    62        ADD_ARRAY_ELEMENT                                ~97     !3, 'trans_time'
   39    63        ADD_ARRAY_ELEMENT                                ~97     !4, 'card_number'
   40    64        ADD_ARRAY_ELEMENT                                ~97     !5, 'sessionId'
   41    65        ADD_ARRAY_ELEMENT                                ~97     !6, 'sessionTime'
   42    66        ADD_ARRAY_ELEMENT                                ~97     !7, 'mpb'
   43    67        ADD_ARRAY_ELEMENT                                ~97     !8, 'checksum'
   36    68        ASSIGN                                                   !9, ~97
   46    69        INIT_FCALL_BY_NAME                                       'constructHttpParameters'
         70        SEND_VAR_EX                                              !9
         71        DO_FCALL                                      0  $99     
         72        ASSIGN                                                   !10, $99
   48    73        ASSIGN                                                   !11, 0
   49    74        ASSIGN                                                   !12, ''
   50    75        ASSIGN                                                   !13, <array>
   51    76        ASSIGN                                                   !14, <array>
   52    77        ASSIGN                                                   !15, <array>
   55    78        ASSIGN                                                   !16, 5
   56    79        ASSIGN                                                   !17, 10
   58    80        ASSIGN                                                   !18, 0
   59    81        ASSIGN                                                   !19, 1
   60    82        ASSIGN                                                   !20, 2
   61    83        ASSIGN                                                   !21, 10
   65    84        ASSIGN                                                   !22, 0
   67    85        ASSIGN_DIM                                               !15, 'sessionId'
         86        OP_DATA                                                  !5
   68    87        ASSIGN_DIM                                               !15, 'device_id'
         88        OP_DATA                                                  !2
   69    89        ASSIGN_DIM                                               !15, 'trans_time'
         90        OP_DATA                                                  !3
   70    91        ASSIGN_DIM                                               !15, 'mpb'
         92        OP_DATA                                                  !7
   72    93        ASSIGN_DIM                                               !15, 'user_id'
         94        OP_DATA                                                  ''
   73    95        ASSIGN_DIM                                               !15, 'user_name'
         96        OP_DATA                                                  ''
   74    97        ASSIGN_DIM                                               !15, 'alias'
         98        OP_DATA                                                  ''
   75    99        ASSIGN_DIM                                               !15, 'display_user_points'
        100        OP_DATA                                                  0
   76   101        ASSIGN_DIM                                               !15, 'message'
        102        OP_DATA                                                  ''
   77   103        ASSIGN_DIM                                               !15, 'transfer_points'
        104        OP_DATA                                                  0
   78   105        ASSIGN_DIM                                               !15, 'user_points'
        106        OP_DATA                                                  0
   79   107        ASSIGN_DIM                                               !15, 'fund_status'
        108        OP_DATA                                                  100
   83   109        ASSIGN                                                   !23, 'jackpot_award'
   84   110        ASSIGN                                                   !24, 'add_time'
   85   111        INIT_FCALL_BY_NAME                                       'selectLastRecord'
        112        SEND_VAR_EX                                              !24
        113        SEND_VAR_EX                                              !23
        114        DO_FCALL                                      0  $127    
        115        ASSIGN                                                   !25, $127
   87   116      > JMP                                                      ->147
   91   117    >   FETCH_DIM_R                                      ~129    !27, 'jackpot_amount'
        118        ASSIGN                                                   !26, ~129
   92   119        FETCH_DIM_R                                      ~131    !27, 'jackpot_ceiling'
        120        ASSIGN                                                   !28, ~131
   93   121        FETCH_DIM_R                                      ~133    !27, 'jackpot_preserved'
        122        ASSIGN                                                   !29, ~133
   94   123        FETCH_DIM_R                                      ~135    !27, 'message_front'
        124        ASSIGN                                                   !30, ~135
   95   125        FETCH_DIM_R                                      ~137    !27, 'message_mid'
        126        ASSIGN                                                   !31, ~137
   96   127        FETCH_DIM_R                                      ~139    !27, 'message_end'
        128        ASSIGN                                                   !32, ~139
   97   129        FETCH_DIM_R                                      ~141    !27, 'message_top'
        130        ASSIGN                                                   !33, ~141
  100   131        ASSIGN_DIM                                               !34, 'jackpot_amount'
        132        OP_DATA                                                  !26
  101   133        ASSIGN_DIM                                               !34, 'jackpot_ceiling'
        134        OP_DATA                                                  !28
  102   135        ASSIGN_DIM                                               !34, 'jackpot_preserved'
        136        OP_DATA                                                  !29
  104   137        ASSIGN_DIM                                               !34, 'message_front'
        138        OP_DATA                                                  !30
  105   139        ASSIGN_DIM                                               !34, 'message_mid'
        140        OP_DATA                                                  !31
  106   141        ASSIGN_DIM                                               !34, 'message_end'
        142        OP_DATA                                                  !32
  107   143        ASSIGN_DIM                                               !34, 'message_top'
        144        OP_DATA                                                  !33
  109   145        ASSIGN_DIM                                               !15, 'Jackpot'
        146        OP_DATA                                                  !34
   87   147    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
        148        SEND_VAR_EX                                              !25
        149        FETCH_CONSTANT                                   ~151    'MYSQL_ASSOC'
        150        SEND_VAL_EX                                              ~151
        151        DO_FCALL                                      0  $152    
        152        ASSIGN                                           ~153    !27, $152
        153      > JMPNZ                                                    ~153, ->117
  112   154    >   INIT_FCALL_BY_NAME                                       'mysql_free_result'
        155        SEND_VAR_EX                                              !35
        156        DO_FCALL                                      0          
  116   157        INIT_FCALL_BY_NAME                                       'checkBcc'
        158        SEND_VAR_EX                                              !10
        159        SEND_VAR_EX                                              !8
        160        DO_FCALL                                      0  $155    
        161      > JMPZ                                                     $155, ->473
  117   162    >   INIT_FCALL_BY_NAME                                       'existSessionId'
        163        SEND_VAR_EX                                              !5
        164        SEND_VAR_EX                                              !6
        165        DO_FCALL                                      0  $156    
        166        BOOL_NOT                                         ~157    $156
        167      > JMPZ                                                     ~157, ->466
  119   168    >   ASSIGN                                                   !36, 'users'
  120   169        CONCAT                                           ~159    'card_number+%3D+', !4
        170        ASSIGN                                                   !37, ~159
  122   171        INIT_FCALL_BY_NAME                                       'selectConditionalRecords'
        172        SEND_VAR_EX                                              !37
        173        SEND_VAR_EX                                              !36
        174        DO_FCALL                                      0  $161    
        175        ASSIGN                                                   !35, $161
  123   176      > JMP                                                      ->373
  126   177    >   PRE_INC                                                  !22
  128   178        FETCH_DIM_R                                      ~164    !27, 'user_id'
        179        ASSIGN                                                   !38, ~164
  129   180        FETCH_DIM_R                                      ~166    !27, 'user_name'
        181        ASSIGN                                                   !39, ~166
  130   182        FETCH_DIM_R                                      ~168    !27, 'alias'
        183        ASSIGN                                                   !40, ~168
  131   184        INIT_FCALL                                               'abs'
        185        FETCH_DIM_R                                      ~170    !27, 'user_points'
        186        SEND_VAL                                                 ~170
        187        DO_ICALL                                         $171    
        188        ASSIGN                                                   !41, $171
  132   189        INIT_FCALL                                               'abs'
        190        FETCH_DIM_R                                      ~173    !27, 'frozen_points'
        191        SEND_VAL                                                 ~173
        192        DO_ICALL                                         $174    
        193        ASSIGN                                                   !42, $174
  134   194        ASSIGN_DIM                                               !15, 'user_id'
        195        OP_DATA                                                  !38
  135   196        ASSIGN_DIM                                               !15, 'user_name'
        197        OP_DATA                                                  !39
  136   198        ASSIGN_DIM                                               !15, 'alias'
        199        OP_DATA                                                  !40
  137   200        INIT_FCALL                                               'abs'
        201        CAST                                          4  ~180    !41
        202        SEND_VAL                                                 ~180
        203        DO_ICALL                                         $181    
        204        ASSIGN_DIM                                               !15, 'display_user_points'
        205        OP_DATA                                                  $181
  139   206        SUB                                              ~182    !41, !42
        207        ASSIGN                                                   !43, ~182
  144   208        IS_SMALLER                                       ~185    !43, !7
        209        IS_EQUAL                                                 !43, ~185
        210      > JMPNZ                                                    ~184, ->231
  155   211    >   IS_SMALLER_OR_EQUAL                              ~186    !7, !43
        212      > JMPZ_EX                                          ~186    ~186, ->216
        213    >   MUL                                              ~187    !7, !16
        214        IS_SMALLER_OR_EQUAL                              ~188    !43, ~187
        215        BOOL                                             ~186    ~188
        216    >   IS_EQUAL                                                 !43, ~186
        217      > JMPNZ                                                    ~184, ->253
  172   218    >   MUL                                              ~189    !7, !16
        219        IS_SMALLER                                       ~190    ~189, !43
        220      > JMPZ_EX                                          ~190    ~190, ->224
        221    >   MUL                                              ~191    !7, !17
        222        IS_SMALLER_OR_EQUAL                              ~192    !43, ~191
        223        BOOL                                             ~190    ~192
        224    >   IS_EQUAL                                                 !43, ~190
        225      > JMPNZ                                                    ~184, ->293
  187   226    >   MUL                                              ~193    !7, !44
        227        IS_SMALLER_OR_EQUAL                              ~194    ~193, !43
        228        IS_EQUAL                                                 !43, ~194
        229      > JMPNZ                                                    ~184, ->333
        230    > > JMP                                                      ->362
  146   231    >   ASSIGN_DIM                                               !15, 'message'
        232        OP_DATA                                                  '%E5%89%A9%E4%BD%99%E7%A7%AF%E5%88%86%E4%B8%8D%E8%B6%B3%2C+%E8%AF%B7%E5%85%85%E5%80%BC%E5%90%8E%E5%86%8D%E7%BB%A7%E7%BB%AD%E3%80%82'
  148   233        MUL                                              ~196    !43, !18
        234        ASSIGN                                                   !45, ~196
  149   235        ASSIGN                                                   !46, !41
  150   236        ADD                                              ~199    !42, !45
        237        ASSIGN                                                   !47, ~199
  151   238        INIT_FCALL                                               'abs'
        239        CAST                                          4  ~202    !45
        240        SEND_VAL                                                 ~202
        241        DO_ICALL                                         $203    
        242        ASSIGN_DIM                                               !15, 'transfer_points'
        243        OP_DATA                                                  $203
  152   244        INIT_FCALL                                               'abs'
        245        CAST                                          4  ~205    !46
        246        SEND_VAL                                                 ~205
        247        DO_ICALL                                         $206    
        248        ASSIGN_DIM                                               !15, 'user_points'
        249        OP_DATA                                                  $206
  153   250        ASSIGN_DIM                                               !15, 'fund_status'
        251        OP_DATA                                                  100
  154   252      > JMP                                                      ->373
  157   253    >   ASSIGN_DIM                                               !15, 'message'
        254        OP_DATA                                                  '%E5%89%A9%E4%BD%99%E7%A7%AF%E5%88%86%E5%BE%88%E4%BD%8E%EF%BC%8C%E8%AF%B7%E9%80%9F%E5%85%85%E5%80%BC%E3%80%82'
  158   255        INIT_FCALL                                               'round'
        256        MUL                                              ~209    !7, !19
        257        DIV                                              ~210    !43, ~209
        258        SEND_VAL                                                 ~210
        259        SEND_VAL                                                 0
        260        DO_ICALL                                         $211    
        261        MUL                                              ~212    !7, $211
        262        ASSIGN                                                   !45, ~212
  160   263      > JMP                                                      ->266
  161   264    >   SUB                                              ~214    !45, !7
        265        ASSIGN                                                   !45, ~214
  160   266    >   IS_SMALLER                                               !43, !45
        267      > JMPNZ                                                    ~216, ->264
  164   268    >   ADD                                              ~217    !42, !45
        269        ASSIGN                                                   !47, ~217
  165   270        SUB                                              ~219    !41, !45
        271        ASSIGN                                                   !46, ~219
  167   272        INIT_FCALL                                               'abs'
        273        CAST                                          4  ~222    !47
        274        SEND_VAL                                                 ~222
        275        DO_ICALL                                         $223    
        276        ASSIGN_DIM                                               !15, 'frozen_points'
        277        OP_DATA                                                  $223
  168   278        INIT_FCALL                                               'abs'
        279        CAST                                          4  ~225    !45
        280        SEND_VAL                                                 ~225
        281        DO_ICALL                                         $226    
        282        ASSIGN_DIM                                               !15, 'transfer_points'
        283        OP_DATA                                                  $226
  169   284        INIT_FCALL                                               'abs'
        285        CAST                                          4  ~228    !46
        286        SEND_VAL                                                 ~228
        287        DO_ICALL                                         $229    
        288        ASSIGN_DIM                                               !15, 'user_points'
        289        OP_DATA                                                  $229
  170   290        ASSIGN_DIM                                               !15, 'fund_status'
        291        OP_DATA                                                  200
  171   292      > JMP                                                      ->373
  174   293    >   ASSIGN_DIM                                               !15, 'message'
        294        OP_DATA                                                  '%E5%89%A9%E4%BD%99%E7%A7%AF%E5%88%86%E4%BD%8E%EF%BC%8C%E8%AF%B7%E9%80%9F%E5%85%85%E5%80%BC%E3%80%82'
  175   295        INIT_FCALL                                               'round'
        296        MUL                                              ~232    !7, !20
        297        DIV                                              ~233    !43, ~232
        298        SEND_VAL                                                 ~233
        299        SEND_VAL                                                 0
        300        DO_ICALL                                         $234    
        301        MUL                                              ~235    !7, $234
        302        ASSIGN                                                   !45, ~235
  176   303      > JMP                                                      ->306
  177   304    >   SUB                                              ~237    !45, !7
        305        ASSIGN                                                   !45, ~237
  176   306    >   IS_SMALLER                                               !43, !45
        307      > JMPNZ                                                    ~239, ->304
  179   308    >   ADD                                              ~240    !42, !45
        309        ASSIGN                                                   !47, ~240
  180   310        SUB                                              ~242    !41, !45
        311        ASSIGN                                                   !46, ~242
  182   312        INIT_FCALL                                               'abs'
        313        CAST                                          4  ~245    !47
        314        SEND_VAL 

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.3 ms | 1433 KiB | 23 Q