svn: /phpdoc/en/trunk/faq/ using.xml

From: Date: Thu, 08 Oct 2009 21:01:59 +0000
Subject: svn: /phpdoc/en/trunk/faq/ using.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5110@lists.php.net to get a copy of this message
kalle Thu, 08 Oct 2009 21:01:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289374 Log: Fix links Changed paths: U phpdoc/en/trunk/faq/using.xml Modified: phpdoc/en/trunk/faq/using.xml =================================================================== --- phpdoc/en/trunk/faq/using.xml 2009-10-08 21:01:32 UTC (rev 289373) +++ phpdoc/en/trunk/faq/using.xml 2009-10-08 21:01:59 UTC (rev 289374) @@ -211,8 +211,8 @@ <para> To be able to use the results of your function in an expression (such as concatenating it with other strings in the example above), you need - to <function>return</function> the value, not <function>echo</function> - it. + to <link linkend="control-structures.return">return</link> the value, + not <function>echo</function> it. </para> </answer> </qandaentry> @@ -262,9 +262,9 @@ and the <link linkend="ref.session">session functions</link> need to add headers to the output stream but headers can only be sent before all other content. There can be no output - before using these functions, output such as HTML. The function <function> - headers_sent</function> will check if your script has already sent - headers and see also the <link linkend="ref.outcontrol">Output Control + before using these functions, output such as HTML. The function + <function>headers_sent</function> will check if your script has already + sent headers and see also the <link linkend="ref.outcontrol">Output Control functions</link>. </para> </answer> @@ -360,11 +360,11 @@ In order to embed &lt;?xml straight into your PHP code, you'll have to turn off short tags by having the PHP directive <link linkend="ini.short-open-tag">short_open_tags</link> set to - <literal>0</literal>. You cannot set this directive with <function> - ini_set</function>. Regardless of <link linkend="ini.short-open-tag"> - short_open_tags</link> being on or off, you can do something like: - <literal>&lt;?php echo '&lt;?xml'; ?&gt;</literal>. The default - for this directive is on. + <literal>0</literal>. You cannot set this directive with + <function>ini_set</function>. Regardless of + <link linkend="ini.short-open-tag">short_open_tags</link> being on or + off, you can do something like: <literal>&lt;?php echo '&lt;?xml'; ?&gt;</literal>. + The default for this directive is <literal>On</literal>. </para> </answer> </qandaentry>

« previous php.doc.cvs (#5110) next »