note 12159 deleted from function.array-push by sniper
| From: | sniper@php.net | Date: | Mon, 13 Jan 2003 05:20:21 +0000 |
| Subject: | note 12159 deleted from function.array-push by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42041@lists.php.net to get a copy of this message | ||
la solution $array[$key]=$value; est une bonne solution pour ajouter une paire à un tableau, mais
elle pose problème lorsqu'on a des $key identiques. Array_push est donc ici une bonne
alternative.