svn: /phpdoc/en/trunk/language/ operators.xml
| From: | Christoph Michael Becker | Date: | Fri, 08 Jul 2016 00:10:36 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14292@lists.php.net to get a copy of this message | ||
cmb Fri, 08 Jul 2016 00:10:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339585
Log:
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).
Changed paths:
U phpdoc/en/trunk/language/operators.xml
Modified: phpdoc/en/trunk/language/operators.xml
===================================================================
--- phpdoc/en/trunk/language/operators.xml 2016-07-07 22:38:02 UTC (rev 339584)
+++ phpdoc/en/trunk/language/operators.xml 2016-07-08 00:10:36 UTC (rev 339585)
@@ -373,6 +373,14 @@
</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>
<entry>Opposite of <varname>$a</varname>.</entry>