如何强制执行php文件时执行所有代码或什么都不执行?
I am calling a php file from another php file with require_once instruction. What I want is that when I call that php file, I want the entire file to be executed or that no line in that file is executed.
在SQL中,这就像一个事务,但是在php中,我不知道这是否可行。有什么办法吗?