Bug #72643 [NEW]: rsort changed in php7

From: Date: Fri, 22 Jul 2016 01:25:03 +0000
Subject: Bug #72643 [NEW]: rsort changed in php7
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202496@lists.php.net to get a copy of this message
From: bpearson at squiz dot com dot au Operating system: Centos PHP version: 7.0.9 Package: Arrays related Bug Type: Bug Bug description:rsort changed in php7 Description: ------------ Not sure if this is a bug or something to do with the changes in php7, but I cannot seem to find anything documentation wise about any change. I found that running rsort on a multi-dimensional array doesn't behave like it in older versions. If this is a change with php7 then there should be some form of documentation on sort() or rsort() page on php.net. Demo: https://3v4l.org/7RdrB -- Edit bug report at https://bugs.php.net/bug.php?id=72643&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72643&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72643&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72643&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72643&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72643&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72643&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72643&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72643&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72643&r=support Expected behavior: https://bugs.php.net/fix.php?id=72643&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72643&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72643&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72643&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72643&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72643&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72643&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72643&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72643&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72643&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72643&r=mysqlcfg

« previous php.bugs (#202496) next »