note 113188 deleted from function.array-shift by peehaa

From: Date: Wed, 11 Sep 2013 07:53:51 +0000
Subject: note 113188 deleted from function.array-shift by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196220@lists.php.net to get a copy of this message
Note Submitter: Alex ---- Fastest way to get the first array's value without removing this one from the original array. $value = array_shift(array_values($yourArray));

« previous php.notes (#196220) next »