mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Made <simpara> => <para> changes where needed; <simpara> can't handle goodies
such as <informalexample>'s. And a typo fix. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@102741 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c3f65d02db
commit
d3a860c966
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.95 $ -->
|
||||
<!-- $Revision: 1.96 $ -->
|
||||
<chapter id="language.types">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -1008,7 +1008,7 @@ $last = $str{strlen($str)-1};
|
|||
|
||||
<para>
|
||||
A boolean &true; value is converted to the string <literal>"1"</literal>,
|
||||
the &false; value is represented as <literal>""/literal> (empty string).
|
||||
the &false; value is represented as <literal>""</literal> (empty string).
|
||||
This way you can convert back and forth between boolean and string values.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -1392,7 +1392,7 @@ $error_descriptions[8] = "This is just an informal notice";
|
|||
<link linkend="reserved">reserved keywords</link>.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
<para>
|
||||
When you turn <link linkend="function.error-reporting"
|
||||
>error_reporting</link> to <literal>E_ALL</literal>,
|
||||
you will see that PHP generates notices whenever an
|
||||
|
@ -1426,7 +1426,7 @@ line <b>10</b><br />
|
|||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</simpara>
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
|
@ -2076,7 +2076,7 @@ $foo = ( int ) $bar;
|
|||
</informalexample>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
<para>
|
||||
Instead of casting a variable to string, you can also enclose
|
||||
the variable in double quotes.
|
||||
<informalexample>
|
||||
|
@ -2091,7 +2091,7 @@ if ($fst === $str) {
|
|||
}
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</simpara>
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue