There is a large php program left over in history, which is extremely nonstandard. Many variables are defined only in a segment of the if statement, but will be used later; there are also many cases where the index value may not be specified and the index value is used directly to determine whether the index exists first. Of course, the best thing is... there is a large php program left over in history, which is extremely nonstandard. Many variables are defined only in a segment of the if statement, but will be used later; there are also many cases where the index value may not be specified and the index value is used directly to determine whether the index exists first.
Of course, the best thing is to fix these irregularities, but the workload is too large.
Note:If the program runs well, the log reports an error when the above problem occurs again.
But now you need to plug-in a slim framework and add restful interfaces to the source program. The problem arises. When any of the above errors occur, slim will exit the program.
Is there anything?Set or ParameterWhen the class/function that allows access to the slim interface to execute the source program, the above possible errors will be the same as those of the source program.Write error logs without force exit.
Reply content:
There is a large php program left over in history, which is extremely nonstandard. Many variables are defined only in a segment of the if statement, but will be used later; there are also many cases where the index value may not be specified and the index value is used directly to determine whether the index exists first.
Of course, the best thing is to fix these irregularities, but the workload is too large.
Note:If the program runs well, the log reports an error when the above problem occurs again.
But now you need to plug-in a slim framework and add restful interfaces to the source program. The problem arises. When any of the above errors occur, slim will exit the program.
Is there anything?Set or ParameterWhen the class/function that allows access to the slim interface to execute the source program, the above possible errors will be the same as those of the source program.Write error logs without force exit.