Index: language/control-structures/include.xml =================================================================== --- language/control-structures/include.xml (revision 287121) +++ language/control-structures/include.xml (working copy) @@ -9,29 +9,15 @@ The documentation below also applies to require. - The two constructs are identical in every way except how they handle - failure. They both produce a - Warning, but require - results in a Fatal Error. - In other words, use require if you want - a missing file to halt processing of the page. include does - not behave this way, the script will continue regardless. Be sure to have an - appropriate include_path setting as well. - Be warned that parse error in included file doesn't cause processing halting - in PHP versions prior to PHP 4.3.5. Since this version, it does. - Files for including are first looked for in each include_path entry - relative to the current working directory, and then in the directory of - current script. - E.g. if your include_path - is libraries, current working directory is /www/, - you included include/a.php and there is include "b.php" - in that file, b.php is first looked in /www/libraries/ - and then in /www/include/. - If filename begins with ./ or ../, it - is looked for only in the current working directory or parent of the - current working directory, respectively. + Files are included based on the file path given or, if none is given, the + include_path specified. The + include construct will emit a + warning if it + cannot find a file; this is different behavior from require, + which will emit a + fatal error. When a file is included, the code it contains inherits the