History has a large program of PHP, which is extremely irregular, many variables are defined only in the paragraph of the if statement, but the latter is used; there are many cases where it is possible to use the value of the index without specifying an index value without first judging whether the index exists.
Of course, the best is to fix these non-standard, but the workload is too large.
Note: The pit Daddy is, at present the program runs well, only then appears the above problem situation the log has the error.
But now we need to plug a slim framework, add the source program to the RESTful interface, then the problem is, any one of the above error occurs, Slim will quit the program.
Is there any setting or parameter that allows access to the slim interface to execute the source program's class/function, the more likely the error is the same as the source program just write the error log without forcing the exit to run .
Reply content:
History has a large program of PHP, which is extremely irregular, many variables are defined only in the paragraph of the if statement, but the latter is used; there are many cases where it is possible to use the value of the index without specifying an index value without first judging whether the index exists.
Of course, the best is to fix these non-standard, but the workload is too large.
Note: The pit Daddy is, at present the program runs well, only then appears the above problem situation the log has the error.
But now we need to plug a slim framework, add the source program to the RESTful interface, then the problem is, any one of the above error occurs, Slim will quit the program.
Is there any setting or parameter that allows access to the slim interface to execute the source program's class/function, the more likely the error is the same as the source program just write the error log without forcing the exit to run .