+ 1
Difference between include and include_once?
PHP include statement
2 Answers
+ 1
Include_once will include file at once, that means if it is already loaded it will not load again.
+ 1
In PHP you cannot declare same function more than one time so if you accidentally include already included file with declared functions you will get an error. include_once save you from such problems.