mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document unary plus operator
Despite having two *downvoted* notes about the unary plus operator (108105 and 116868), we document it in the manual (and delete the notes). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339585 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f81df0ec7a
commit
d8669a0bd4
1 changed files with 8 additions and 0 deletions
|
@ -372,6 +372,14 @@ x minus one equals 3, or so I hope
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>+$a</entry>
|
||||
<entry>Identity</entry>
|
||||
<entry>
|
||||
Conversion of <varname>$a</varname> to <type>int</type> or
|
||||
<type>float</type> as appropriate.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>-$a</entry>
|
||||
<entry>Negation</entry>
|
||||
|
|
Loading…
Reference in a new issue