The three if sentence is not a reference file? My understanding is to judge there is no, but not a quote!
If it is not a reference, then the methods or settings in these three files are not cited, such as its function or variable constant what is not cited, or can not be used! Don't know that, right?
if (! @include (DirName (dirname (__file__)). ' /global.php ') exit (' global.php isn\ ' t exists! '); if (! @include (Base_path. ') /control/control.php ') exit (' control.php isn\ ' t exists! '); if (! @include (Base_core_path. ') /33hao.php ') exit (' 33hao.php isn\ ' t exists! ');
Reply to discussion (solution)
is quoted, judging whether there is, some words on the reference in.
If the reference file fails, exit
is quoted, judging whether there is, some words on the reference in.
I am stuck here, why is it also quoted, this reason?
If the reference file fails, exit
If conditions can not be introduced into the document AH, because I understand it here is to judge the real false, and that's all.
Why is it?
if (!@ include (DirName (DirName (__file__)). ' /global.php ') exit (' global.php isn\ ' t exists! ');
Include (DirName (DirName (__file__)). /global.php ') is used to introduce the global.php file, is there any objection?
If the failure returns false, it is accompanied by an error message. After blocking the error message
Var_dump (@include (' global.php ')); BOOL (FALSE)
Is that not understandable?
Why is it?
if (!@ include (DirName (DirName (__file__)). ' /global.php ') exit (' global.php isn\ ' t exists! ');
Include (DirName (DirName (__file__)). /global.php ') is used to introduce the global.php file, is there any objection?
If the failure returns false, it is accompanied by an error message. After blocking the error message
Var_dump (@include (' global.php ')); BOOL (FALSE)
Is that not understandable?
Why is it?
if (!@ include (DirName (DirName (__file__)). ' /global.php ') exit (' global.php isn\ ' t exists! ');
Include (DirName (DirName (__file__)). /global.php ') is used to introduce the global.php file, is there any objection?
If the failure returns false, it is accompanied by an error message. After blocking the error message
Var_dump (@include (' global.php ')); BOOL (FALSE)
Is that not understandable?
No, my understanding is that this can only be judged if there is no reference to the file.
Then ask you to do the following to clear the wrong idea
If judgment needs to execute the operation in parentheses, the Include execution is complete (success) will return 1,so
If judgment needs to execute the operation in parentheses, the Include execution is complete (success) will return 1,so
Oh, yes, the implementation is complete, this explanation has reason, understand.
Include refers to the inclusion of the meaning Ah, you can go to the manual, reference failure to exit. If only the file_exists () can be determined by the memory.