1-Both are similar but file is not found by include(), a warning error will be issued, but execution will continue and require() it will cause a fatel error and halt the execution of the script.
2- include() - E_WARNING but require()- E_COMPILE_ERROR
Copyright ©2022 coderraj.com. All Rights Reserved.