cvs: phpdoc /en/chapters config.xml

From: Date: Wed, 03 Jul 2002 02:29:14 +0000
Subject: cvs: phpdoc /en/chapters config.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347084@lists.php.net to get a copy of this message
philip Tue Jul 2 22:29:14 2002 EDT Modified files: /phpdoc/en/chapters config.xml Log: short_open_tag: - Can use <?php echo '<?xml version="1.0"'; ?> for xml if on - <?= won't work if off - <?xml works inline if short_open_tag if off Index: phpdoc/en/chapters/config.xml diff -u phpdoc/en/chapters/config.xml:1.58 phpdoc/en/chapters/config.xml:1.59 --- phpdoc/en/chapters/config.xml:1.58 Tue Jul 2 20:19:19 2002 +++ phpdoc/en/chapters/config.xml Tue Jul 2 22:29:14 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.58 $ --> +<!-- $Revision: 1.59 $ --> <chapter id="configuration"> <title>Configuration</title> @@ -743,7 +743,7 @@ </note> </listitem> </varlistentry> - + <varlistentry id="ini.short-open-tag"> <term> <parameter>short_open_tag</parameter> @@ -753,9 +753,20 @@ <para> Tells whether the short form (<userinput>&lt;? ?&gt;</userinput>) of PHP's open tag should be allowed. If you want to use PHP in - combination with XML, you have to disable this option. If - disabled, you must use the long form of the open tag - (<userinput>&lt;?php ?&gt;</userinput>).</para> + combination with XML, you can disable this option in order to + use (<userinput>&lt;?xml ?&gt;</userinput> inline. Otherwise, you + can print it with PHP, for example: <userinput>&lt;?php echo '&lt;?xml + version="1.0"'; ?&gt;</userinput>. Also if disabled, you must use the + long form of the PHP open tag (<userinput>&lt;?php ?&gt;</userinput>). + </para> + <note> + <para> + This directive also affects the shorthand <userinput>&lt;?=</userinput>, + which is identical to <userinput>&lt;? echo</userinput>. Use of this + shortcut requires <systemitem role="directive">short_open_tag</systemitem> + to be on. + </para> + </note> </listitem> </varlistentry>

« previous php.doc (#969347084) next »