STRIP_RUNTIME_SPACE constant is removed in tp3.0. So it is useless. After reading the source code of tp just now, it is found that the removal of white space and comments in the code has become the default behavior, and developers cannot control it. So only the source code is modified. Modification method: ThinkPHP/Common/runtime. php... "/> <scripttype =" text/plain CR
STRIP_RUNTIME_SPACE constant is removed in tp3.0. So it is useless.
After reading the source code of tp just now, it is found that the removal of white space and comments in the code has become the default behavior, and developers cannot control it.
So only the source code is modified. Modification method:
In ThinkPHP/Common/runtime. php, the last
File_put_contents (RUNTIME_FILE, strip_whitespace (' // Comment out and change it:
File_put_contents (RUNTIME_FILE ,'
Or the strip_whitespace () method in ThinkPHP/Common/common. php can be directly started.
Return $ content;
After debugging, remember to change it back.