In PHP, how does include() exactly work?

后端 未结 5 1927
别那么骄傲
别那么骄傲 2020-12-18 01:18

How does include(\'./code.php\'); work? I understand it is the equivalent of having the code \"pasted\" directly where the include occurs, but, for example:

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-18 01:45

    include('./code.php'); // The Same As Pasting The Code From Code.PHP.
    

    It Will Not Redirect To Code.php In Any Case.

提交回复
热议问题