mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Converting from object (bug #29029)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168755 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
afde52fb0c
commit
b7f0fa3777
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.141 $ -->
|
||||
<!-- $Revision: 1.142 $ -->
|
||||
<chapter id="language.types">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -271,7 +271,7 @@ if ($show_separators) {
|
|||
</listitem>
|
||||
<listitem>
|
||||
<simpara>an <link linkend="language.types.object">object</link>
|
||||
with zero member variables</simpara>
|
||||
with zero member variables (PHP 4 only)</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>the special type <link linkend="language.types.null"
|
||||
|
@ -607,6 +607,7 @@ EXPONENT_DNUM ( ({LNUM} | {DNUM}) [eE][+-]? {LNUM})
|
|||
is the same as if the value would have been converted to integer
|
||||
and then to float. See the <link linkend="language.types.integer.casting">Converting
|
||||
to integer</link> section for more information.
|
||||
As of PHP 5, notice is thrown if you try to convert object to float.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
@ -1158,6 +1159,7 @@ $str{strlen($str)-1} = 'e';
|
|||
<type>object</type> for debugging reasons, read the paragraphs
|
||||
below. If you would like to find out the class name of which an object
|
||||
is an instance of, use <function>get_class</function>.
|
||||
As of PHP 5, __toString() method is used if applicable.
|
||||
</para>
|
||||
<para>
|
||||
Resources are always converted to strings with the structure
|
||||
|
|
Loading…
Reference in a new issue