#21920 [NEW]: buggy example

From: Date: Tue, 28 Jan 2003 13:59:32 +0000
Subject: #21920 [NEW]: buggy example
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351375@lists.php.net to get a copy of this message
From: corinl@gmx.de Operating system: PHP version: 4.3.0 PHP Bug Type: Documentation problem Bug description: buggy example http://de.php.net/manual/de/function.array-unique.php the example: $input = array ("a" => "grün", "rot", "b" => "grün", "blau", "rot"); $result = array_unique ($input); print_r($result); should (and does) print: Array ( [a] => grün [0] => rot [1] => blau ) and not: Array ( [b] => grün [1] => blau [2] => rot ) -- Edit bug report at http://bugs.php.net/?id=21920&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21920&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21920&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21920&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21920&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21920&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21920&r=support Expected behavior: http://bugs.php.net/fix.php?id=21920&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21920&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21920&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21920&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21920&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21920&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21920&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21920&r=gnused

« previous php.doc (#969351375) next »