From cf4a06bf385c21b9fc8df9bf821b8dfd5f38e940 Mon Sep 17 00:00:00 2001 From: Karoly Negyesi Date: Mon, 13 Aug 2012 07:26:30 +0000 Subject: [PATCH] Tinkering include docs a bit more. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327096 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures/include.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/language/control-structures/include.xml b/language/control-structures/include.xml index 8ac7f84ec9..6288b3ddfd 100644 --- a/language/control-structures/include.xml +++ b/language/control-structures/include.xml @@ -181,10 +181,10 @@ include 'file.php'; // Works. information. - Handling Returns: include always returns - FALSE on failure. Unless overridden by the included file, - include returns 1 if the include was - successful. It is possible to execute a return + Handling Returns: include returns + FALSE on failure and raises a warning. Successful + includes, unless overridden by the included file, return + 1. 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