reference/misc/functions/defined.xml
36e1d917ef7be36e8b4ff5193b456390061f2e21
...
...
@@ -3,7 +3,7 @@
3
3
<refentry xml:id="function.defined" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>defined</refname>
6
-
<refpurpose>Checks whether a given named constant exists</refpurpose>
6
+
<refpurpose>Checks whether a constant with the given name exists</refpurpose>
7
7
</refnamediv>
8
8
9
9
<refsect1 role="description">
...
...
@@ -13,7 +13,8 @@
13
13
<methodparam><type>string</type><parameter>constant_name</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Checks whether the given constant exists and is defined.
16
+
Checks whether a constant with the given <parameter>constant_name</parameter>
17
+
is defined.
17
18
</para>
18
19
<para>
19
20
This function works also with <link
20
21