note 28498 deleted from function.array-merge by sniper
| From: | sniper@php.net | Date: | Mon, 06 Oct 2003 22:54:47 +0000 |
| Subject: | note 28498 deleted from function.array-merge by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57917@lists.php.net to get a copy of this message | ||
Note Submitter: marko djukic
----
Not sure if this is a bug or an undocumented feature, but array_merge accepts not only arrays as
parameters, check out this line:
var_dump(array_merge(array('hello', 'world'), 'now', 'here',
array('more', 'and more'), 1));
returns a nice single array containing all the values.