Flatten nested arrays.
We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/array-flatten/ ❤️
composer require cable8mm/array-flatten
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]
The Array Flatten is open-sourced software licensed under the MIT license.