From d8669a0bd438b0414c765dda06e270d10af7b17e Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 8 Jul 2016 00:10:36 +0000 Subject: [PATCH] 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 --- language/operators.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/language/operators.xml b/language/operators.xml index 5cbc3a8058..25cec6d710 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -372,6 +372,14 @@ x minus one equals 3, or so I hope + + +$a + Identity + + Conversion of $a to int or + float as appropriate. + + -$a Negation