search

Home  >  Q&A  >  body text

php - The browser executes the program once and is executed multiple times by the server

My problem is similar to this http://bbs.csdn.net/topics/39...

WeChat template message, I only called the template message interface once, but the entire program was actually executed N times.
The code does not use loops, and after curl post, exit() is done at the end;
I don’t know why, the program was re-executed N times

ringa_leeringa_lee2818 days ago492

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-16 13:13:01

    debug_print_backtrace();  //打印调用栈看看是被哪里调用循环了

    reply
    0
  • Cancelreply