Fix links

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289374 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2009-10-08 21:01:59 +00:00
parent 429e811663
commit ebe8fd16aa

View file

@ -211,8 +211,8 @@ echo "myfunc($variable) = " . myfunc($variable);
<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 @@ echo "myfunc($variable) = " . myfunc($variable);
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 @@ foreach ($headers as $name => $content) {
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>