go to bug id or search bugs for
According to the documentation, the GMP object overloads the arithmetic, bitwise, and comparison operators in PHP 5.6+. However, it seems that the unary plus operator is not supported. Not sure if this is a bug or intentional. The negation operator seems to work as expected.
Add a Patch
Add a Pull Request
A unary plus does not make the value positive. Just like how a unary minus does not make the value negative.