Forums : The Ohcount Project

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Different include_once, require_once PHP

Hi proficient,
Could an anybody give a description of different between includeonce, requireonce in PHP with An Example program, an already I have search this but I can’t take that example so anybody tell description to me for this question.

Thanks in advance for your help.
Regards,
Gilbertsavier.
[url=http://www.mioot.com]Live chat By mioot [/url]

Gilbertsavier almost 15 years ago
 

include_once includes a file and throws a warning (but keeps going) if not found.

require_once includes a file and EXITS with a FATAL ERROR if not found.

Think of it like the difference between asking someone if they can do something - and telling them to do it.

Xeoncross almost 15 years ago