Skip to content

Commit 89d80c9

Browse files
authored
include_once is not a statement but an expression (GH-3790)
1 parent 4cb53ec commit 89d80c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language/control-structures/include-once.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<title>include_once</title>
66
<?phpdoc print-version-for="include_once"?>
77
<para>
8-
The <literal>include_once</literal> statement includes and evaluates
8+
The <literal>include_once</literal> expression includes and evaluates
99
the specified file during the execution of the script.
10-
This is a behavior similar to the <function>include</function> statement,
10+
This is a behavior similar to the <function>include</function> expression,
1111
with the only difference being that if the code from a file has already
1212
been included, it will not be included again, and include_once returns &true;. As the name suggests,
1313
the file will be included just once.

0 commit comments

Comments
 (0)