Array Flatten
Flatten nested arrays.
We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/array-flatten/ ❤️
Installation
composer require cable8mm/array-flattenUsage
use function Cable8mm\ArrayFlatten\array_flatten;
array_flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]);
//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]License
The Array Flatten is open-sourced software licensed under the MIT license.
On this page
Languages
PHP100.0%
Contributors
MIT License
Created March 1, 2024
Updated March 9, 2024