mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
use more precise, easily understood words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344464 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
26a786694e
commit
d974b3aee1
1 changed files with 6 additions and 1 deletions
|
@ -34,9 +34,14 @@
|
|||
<title>Casting:</title>
|
||||
<para>
|
||||
<classname>Componere\</classname> casting functions can cast among user defined compatible types;
|
||||
Where compatible means <classname>Type</classname> is contravariant or covariant with the class of <parameter>object</parameter>.
|
||||
Where compatible means <classname>Type</classname> is a sub type or super type of <parameter>object</parameter>.
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('componere.cast')/db:refsect1[@role='description']/descendant::db:methodsynopsis)" />
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('componere.cast_by_ref')/db:refsect1[@role='description']/descendant::db:methodsynopsis)" />
|
||||
<note>
|
||||
<para>
|
||||
Casting can not be performed losslessly: The result of a cast cannot be cast back to it's original class without loss, incurred at the point of the original cast.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
|
|
Loading…
Reference in a new issue