From 3efd70fb909c4c97fb07dc6708a0a10ace8414fb Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Thu, 9 Jul 2015 13:36:03 +0000 Subject: [PATCH] include_once returns TRUE when including the same file repeatedly (fixes #70031) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337130 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures/include-once.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/control-structures/include-once.xml b/language/control-structures/include-once.xml index b6fe04cde4..0218d494b7 100644 --- a/language/control-structures/include-once.xml +++ b/language/control-structures/include-once.xml @@ -9,8 +9,8 @@ the specified file during the execution of the script. This is a behavior similar to the include statement, with the only difference being that if the code from a file has already - been included, it will not be included again. As the name suggests, - it will be included just once. + been included, it will not be included again, and include_once returns &true;. As the name suggests, + the file will be included just once. include_once may be used in cases where