Computer Science, asked by Omsak3583, 1 year ago

Difference between include, include_once, require, require_once

Answers

Answered by Anonymous
0

Hi

include and include_once never gonna throw an fatal error if file not found, but require, require_once do.

include and require will add content of imported file as many time as you call them in your file whereas include_once and required_once will import the content of file only one time and will ignore other calls.


Similar questions