diff --git a/language/control-structures.xml b/language/control-structures.xml index 11ec91ab55..160e383cd1 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -1290,6 +1290,8 @@ require ('somefile.txt'); you included include/a.php and there is include "b.php" in that file, b.php is first looked in /www/ and then in /www/include/. + If filename begins with ../, it is looked only in + include_path relative to the current working directory. When a file is included, the code it contains inherits the