#19920 [NEW]: Not a bug, but an add-on...

From: Date: Tue, 15 Oct 2002 17:25:14 +0000
Subject: #19920 [NEW]: Not a bug, but an add-on...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22502@lists.php.net to get a copy of this message
From: meggleston@matrixreg.com Operating system: RedHat Linux 7.2 PHP version: 4.2.0 PHP Bug Type: Feature/Change Request Bug description: Not a bug, but an add-on... I have a small snippit of code that I believe people would find very useful, however I was unsure as to where to stick it. function array_multisearch($needle, $haystack, $strict = FALSE) { for ($x = 0; $x < count($haystack); $x++) { if (array_search($needle, $haystack[$x], $strict)) {return $x;} } } This function allows for arrays of hash-arrays kind of searching... -- Edit bug report at http://bugs.php.net/?id=19920&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19920&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19920&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19920&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19920&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19920&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19920&r=support Expected behavior: http://bugs.php.net/fix.php?id=19920&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19920&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19920&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19920&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19920&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19920&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19920&r=isapi

« previous php.bugs (#22502) next »