mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
tip -> note, where tips actually contained notes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69764 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f2949a422d
commit
f99a6ff0d7
1 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.72 $ -->
|
||||
<!-- $Revision: 1.73 $ -->
|
||||
<chapter id="language.types">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -104,7 +104,7 @@
|
|||
rather, it is decided at runtime by PHP depending on the context in
|
||||
which that variable is used.
|
||||
</simpara>
|
||||
<tip>
|
||||
<note>
|
||||
<simpara>
|
||||
If you want to check out the type and value of a certain <link
|
||||
linkend="language.expressions">expression</link>, use
|
||||
|
@ -117,7 +117,7 @@
|
|||
<literal>is_<replaceable>type</replaceable></literal> functions.
|
||||
</simpara>
|
||||
<!-- TODO: example(s) would be great -->
|
||||
</tip>
|
||||
</note>
|
||||
<simpara>
|
||||
If you would like to force a variable to be converted to a certain
|
||||
type, you may either <link
|
||||
|
@ -1281,7 +1281,7 @@ $error_descriptions[8] = "This is just an informal notice";
|
|||
And, if these arguments don't help: this syntax is simply deprecated,
|
||||
and it might stop working some day.
|
||||
</para>
|
||||
<tip>
|
||||
<note>
|
||||
<simpara>
|
||||
When you turn <link linkend="function.error-reporting"
|
||||
>error_reporting</link> to <literal>E_ALL</literal>,
|
||||
|
@ -1290,7 +1290,7 @@ $error_descriptions[8] = "This is just an informal notice";
|
|||
(put the line <literal>error_reporting(E_ALL);</literal>
|
||||
in your script)
|
||||
</simpara>
|
||||
</tip>
|
||||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
Inside a double-quoted <type>string</type>, an other syntax
|
||||
|
@ -1969,13 +1969,13 @@ $bar = (float) $foo; // $bar is a float
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<tip>
|
||||
<note>
|
||||
<simpara>
|
||||
Instead of casting a variable to string, you can also enclose
|
||||
the variable in double quotes.
|
||||
<!-- TODO: example -->
|
||||
</simpara>
|
||||
</tip>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
Note that tabs and spaces are allowed inside the parentheses, so
|
||||
|
|
Loading…
Reference in a new issue