Php program die debugging method to quickly solve errors. This is a slightly experienced phper will adopt the following method to solve the problem 1. check the error output, check the source code from the output item, and add the debugging code to the context of the source code. the code can be the simplest. this is a little experienced phper. the following methods are used to solve the problem:
1. check the error output, check the source code from the output item, and add the debugging code to the context of the source code. the code can be the simplest.
$ Debuglineno = _ LINE __;
Die ($ debuglineno );
2. output Google or Baidu based on the error
Incorrect practice:
1. directly ask your superiors or colleagues
2. direct! Go to the forum for help, instead of first going through your own troubleshooting
3. complain instead of analyzing the problem
Parse uses the following methods to solve the problem: 1. check the error output, check the source code from the output item, and add the debugging code in the context of the source code. the code can be the simplest...