cvs: phpdoc /en/reference/misc/functions defined.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 27 Feb 2009 16:09:08 +0000 |
| Subject: | cvs: phpdoc /en/reference/misc/functions defined.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3360@lists.php.net to get a copy of this message | ||
kalle Fri Feb 27 16:09:08 2009 UTC
Modified files:
/phpdoc/en/reference/misc/functions defined.xml
Log:
Fixed #47508 (simplify wording on documentation page)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/defined.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/misc/functions/defined.xml
diff -u phpdoc/en/reference/misc/functions/defined.xml:1.11
phpdoc/en/reference/misc/functions/defined.xml:1.12
--- phpdoc/en/reference/misc/functions/defined.xml:1.11 Wed Jun 20 22:24:57 2007
+++ phpdoc/en/reference/misc/functions/defined.xml Fri Feb 27 16:09:07 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xml:id="function.defined" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>defined</refname>
@@ -58,9 +58,9 @@
<![CDATA[
<?php
/* Note the use of quotes, this is important. This example is checking
- * if the string 'CONSTANT' is the name of a constant named CONSTANT */
-if (defined('CONSTANT')) {
- echo CONSTANT;
+ * if the string 'TEST' is the name of a constant named TEST */
+if (defined('TEST')) {
+ echo TEST;
}
?>
]]>