From: buero at wehrstedt dot com Operating system: XAMPP PHP version: 5.4Git-2015-04-30 (Git) Package: Website problem Bug Type: Bug Bug description:unpredictable results with array_udiff example
Description: ------------ --- >From manual page: http://www.php.net/function.array-udiff --- I tried out the example shown with function array_udiff. The example sets a property in the cr class, the compare function compares boolena instead of numerical. I tried this example; as soon as I changed to $a == $b instead of $a === $b, I've got the results I exspected. -- Edit bug report at https://bugs.php.net/bug.php?id=69555&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69555&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69555&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69555&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69555&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69555&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69555&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69555&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69555&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69555&r=support Expected behavior: https://bugs.php.net/fix.php?id=69555&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69555&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69555&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69555&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69555&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69555&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69555&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69555&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69555&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69555&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69555&r=mysqlcfg -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
