Simple, fast and powerful PHP utility functions to flatten/unflatten multidimensional/JSON arrays into a one-dimensional array, preserving key names and joining them with customizable separators.
-
Updated
Jan 4, 2023 - PHP
8000
Simple, fast and powerful PHP utility functions to flatten/unflatten multidimensional/JSON arrays into a one-dimensional array, preserving key names and joining them with customizable separators.
🌌 Demonstrating the concept of representing/flattening a 3D array as a 1D array by solving a real life problem
🍓 non-recursive method of flattening an array or arrays and unflattening the result
Add a description, image, and links to the array-flattening topic page so that developers can more easily learn about it.
To associate your repository with the array-flattening topic, visit your repo's landing page and select "manage topics."