cvs: phpdoc /en/functions strings.xml

From: Date: Sun, 13 Jan 2002 21:23:51 +0000
Subject: cvs: phpdoc /en/functions strings.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341161@lists.php.net to get a copy of this message
derick Sun Jan 13 16:23:51 2002 EDT Modified files: /phpdoc/en/functions strings.xml Log: - Document print to be a language construct Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.153 phpdoc/en/functions/strings.xml:1.154 --- phpdoc/en/functions/strings.xml:1.153 Sat Jan 12 18:32:00 2002 +++ phpdoc/en/functions/strings.xml Sun Jan 13 16:23:51 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.153 $ --> +<!-- $Revision: 1.154 $ --> <reference id="ref.strings"> <title>String functions</title> <titleabbrev>Strings</titleabbrev> @@ -1744,6 +1744,11 @@ <simpara> Outputs <parameter>arg</parameter>. &return.success; </simpara> + <para> + <function>print</function> is not actually a function (it is a + language construct) so you are not required to use parentheses + with it. + </para> <example> <title><function>print</function> examples</title> <programlisting role="php"> @@ -1761,7 +1766,7 @@ print "escaping characters is done \"Like this\"." -//You can use variables inside of an print statement +// You can use variables inside of an print statement $foo = "foobar"; $bar = "barbaz";

« previous php.doc (#969341161) next »