Bug #78388 [NEW]: GMP does not support overloaded unary plus operator

From: Date: Fri, 09 Aug 2019 04:26:20 +0000
Subject: Bug #78388 [NEW]: GMP does not support overloaded unary plus operator
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222149@lists.php.net to get a copy of this message
From: smokey101stair at gmail dot com Operating system: All PHP version: Irrelevant Package: GNU MP related Bug Type: Bug Bug description:GMP does not support overloaded unary plus operator Description: ------------ 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. Test script: --------------- https://3v4l.org/PvRhf -- Edit bug report at https://bugs.php.net/bug.php?id=78388&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78388&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78388&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78388&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78388&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78388&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78388&r=support Expected behavior: https://bugs.php.net/fix.php?id=78388&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78388&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78388&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78388&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78388&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78388&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78388&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78388&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78388&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78388&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78388&r=mysqlcfg

« previous php.bugs (#222149) next »