diff --git a/language/control-structures.xml b/language/control-structures.xml index 09874a47ec..bc25c2a665 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -1404,11 +1404,16 @@ if ($condition) { - Handling Returns: It is possible to execute a return - statement inside an included file in order to terminate processing in that - file and return to the script which called it. Also, it's possible to return - values from included files. You can take the value of the include call as - you would a normal function. + Handling Returns: It is possible to execute a return + statement inside an included file in order to terminate processing in that + file and return to the script which called it. Also, it's possible to return + values from included files. You can take the value of the include call as + you would a normal function. This is not, however, possible when including + remote files unless the output of the remote file has + valid PHP start + and end tags (as with any local file). You can declare the needed + variables within those tags and they will be introduced at whichever point + the file was included.