Require

PHP Require Function

by Hiroshi on June 17, 2008

in Require

The require function is used to include a file into PHP code. However there is one difference between the two functions. When you include a file with the include function and PHP cannot find it you will see a warning message while when you include a file with the require function and PHP cannot find […]

{ 0 comments }

As php.net clearly describes, the two constructs are identical in every way except how they handle failure.

{ 0 comments }