What is different between include_once and require_once in php?


#1

include_once
Does what include does, but does it once if you are including the same file more than once.
require_once
if you know suggest me that


#2

Have you checked the manual at http://www.php.net?


#3

http://php.net/manual/en/function.include.php


#4

fresh: https://www.sitepoint.com/community/t/how-to-write-proper-php/301523


closed #6

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.