+ 1

What is the different between required and required once?

did they have the same function?

15th Apr 2018, 5:42 AM
Fanuel Almaw
Fanuel Almaw - avatar
1 Antwort
+ 2
The require_once statement is identical to require except PHP will check if the file has already been included, and if so, not include (require) it again. (php.net)
15th Apr 2018, 5:53 AM
᠌᠌Code X
᠌᠌Code X - avatar