note 64439 deleted from function.current by bjori

From: Date: Fri, 14 Apr 2006 13:27:08 +0000
Subject: note 64439 deleted from function.current by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108071@lists.php.net to get a copy of this message
Note Submitter: egingell at sisna dot com Reason: 1 ---- The name of the function 'current()' isn't very intuitive, so I made a helper function called 'value()' that works the same way as 'key()'. <?php function value(&$array) { return current($array); } ?>

« previous php.notes (#108071) next »