You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
644 B

  1. <?php
  2. require_once 'Common/Mysql.php';
  3. $run_id =710808;
  4. delete_memcache("orderPoolStatus[{$run_id}]");delete_memcache("orderList[{$run_id}]");
  5. die;
  6. $run_id =569536;
  7. $array1 = get_memcache("orderPoolStatus[{$run_id}]");
  8. $array2 = get_memcache("orderList[{$run_id}]");
  9. echo "----PoolStatus---\r\n";
  10. print_r($array1);
  11. echo "----OrderList----\r\n";
  12. print_r($array2);
  13. $base_info = $array2[3];
  14. $base_info[2] = "1,473757,1";
  15. $base_info[7] = "-1,473757,0";
  16. $new_array = array();
  17. $new_array[11]=$base_info;
  18. set_memcache("orderList[{$run_id}]", $new_array);
  19. echo "--new array---\r\n";
  20. $array3 = get_memcache("orderList[{$run_id}]");
  21. print_r($array3);