mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Improve tag semantic usage (#2676)
Co-authored-by: André L F S Bacci <ae@php.net>
This commit is contained in:
@@ -371,7 +371,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
|
||||
<link linkend="ini.max-input-time">max_input_time</link> sets the maximum
|
||||
time, in seconds, the script is allowed to receive input; this includes
|
||||
file uploads. For large or multiple files, or users on slower connections,
|
||||
the default of <literal>60 seconds</literal> may be exceeded.
|
||||
the default of <literal>60</literal> seconds may be exceeded.
|
||||
</simpara>
|
||||
</warning>
|
||||
<simpara>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</para>
|
||||
<para>
|
||||
The first key difference in XForms is how the form is sent to the client.
|
||||
<link xlink:href="&url.xforms.htmlauthors;"><literal>XForms for HTML Authors</literal></link>
|
||||
<link xlink:href="&url.xforms.htmlauthors;">XForms for HTML Authors</link>
|
||||
contains a detailed description of how to create XForms, for the purpose
|
||||
of this tutorial we'll only be looking at a simple example.
|
||||
</para>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
It's also possible for interfaces to have <literal>constants</literal>. Look
|
||||
It's also possible for interfaces to have constants. Look
|
||||
at the <link linkend="language.oop5.interfaces">interface documentation</link>
|
||||
for examples.
|
||||
</para>
|
||||
|
||||
@@ -179,8 +179,7 @@ Stack trace:
|
||||
because such a function is contradictory.
|
||||
Previously, it already emitted the following
|
||||
<constant>E_NOTICE</constant> when called:
|
||||
<literal>Only variable references should be returned by reference</literal>.
|
||||
|
||||
<computeroutput>Only variable references should be returned by reference</computeroutput>.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
||||
@@ -81,7 +81,7 @@ echo pow(-1, 5.5); // NAN
|
||||
<note>
|
||||
<para>
|
||||
This function will convert all input to a number, even non-scalar values,
|
||||
which could lead to <literal>weird</literal> results.
|
||||
which could lead to <emphasis>weird</emphasis> results.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
@@ -49,8 +49,10 @@
|
||||
The string to be escaped.
|
||||
</para>
|
||||
<para>
|
||||
Characters encoded are <literal>NUL (ASCII 0), \n, \r, \, ', ", and
|
||||
Control-Z</literal>.
|
||||
Characters encoded are <literal>NUL (ASCII 0)</literal>,
|
||||
<literal>\n</literal>, <literal>\r</literal>, <literal>\</literal>,
|
||||
<literal>'</literal>, <literal>"</literal>, and
|
||||
<keycombo action='simul'><keycap>CTRL</keycap><keycap>Z</keycap></keycombo>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user