note 80037 rejected from function.array-fill-keys by nlopess
| From: | nlopess@php.net | Date: | Wed, 26 Dec 2007 11:32:12 +0000 |
| Subject: | note 80037 rejected from function.array-fill-keys by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134012@lists.php.net to get a copy of this message | ||
Note Submitter: anandshahil11 at gmail dot com
----
<?php
echo "not working properly<br/>";
$keys = array('foo', 5, 10, 'bar');
$a = array_fill_keys($keys, 'banana');
print_r($a);
?>
i tried this one ,, but it is not working properly.....its not giving the exact output.