tags:

views:

31

answers:

1

Hi, what are the main differences between require, require_once, include and include_once in PHP

+1  A: 

include and include_once will accept missing scripts without throwing an error.

The _once ending ensures that the particular script is only run once for a single http request.

Gus
lake of explanation.......
Muhammad Sajid