What is difference between require() and require_once() ?
Last updated 6 years, 6 months ago | 2352 views 75 5

PHP | require() and require_once()
Both require() and require_once() is use to include a file but the difference is required_once() function checks if the file already included or not where require() function does not check.
(same for include_once() and include())