Re: Guidance
| From: | Nathan Rixham | Date: | Wed, 27 Feb 2008 22:35:17 +0000 |
| Subject: | Re: Guidance | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270468@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
On Wed, 2008-02-27 at 15:48 -0600, Shawn McKenzie wrote:$yarraStut wrote:I hope that was a joke... cuz you implemented array_flip() and not array_reverse(). Cheers, Rob.On 27 Feb 2008, at 20:59, Daniel Brown wrote: I've interviewed more than my fair share of "web developers" who couldn't reverse an array without using array_reverse if their life depended on it.foreach($array as $k => $v) {$reversed[$v] = $k;} $array = $reversed; //optional