note 105794 deleted from function.array-reverse by danbrown

From: Date: Thu, 15 Sep 2011 15:42:36 +0000
Subject: note 105794 deleted from function.array-reverse by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183187@lists.php.net to get a copy of this message
Note Submitter: steven dot jones at computerminds dot co dot uk ---- @Nick Kraynev, I think you meant: <?php return array_combine( array_reverse(array_keys($array)), array_reverse(array_values($array)) ); ?> Works a treat though!

« previous php.notes (#183187) next »