📜  php代码示例中require和require_once的区别

📅  最后修改于: 2022-03-11 14:53:44.530000             🧑  作者: Mango

代码示例1
As there is two different kind of require statements i.e. require and require_once
both are having same functionality of including file into the another.
  
Using require if the file is not misplaced or undefined then its stops the execution of the document.

  
And require_once is gets ignored if the file already imported with any other require or require_once.