note 119254 deleted from function.array-flip by cmb
| From: | cmb@php.net | Date: | Wed, 27 Apr 2016 21:38:56 +0000 |
| Subject: | note 119254 deleted from function.array-flip by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205370@lists.php.net to get a copy of this message | ||
Note Submitter: info at sabastore dot net
----
note :: array_flip is a changer for key and value and a auto unique like array_unique :
<?php
/*
sabastore
*/
$intArray1 = array(-4,1,1,3);
print_r($intArray1);
$intArray1 = array_flip($intArray1);
print_r($intArray1);
?>