Lifetime access is $100 off. Available for a limited time.Join here →

Flattening A PHP Multidimensional Array

1 episode 12 mins

Course overview

A couple of methods you can use to flatten a multidimensional array with PHP. The first method looks at a more verbose method of looping through array items and self calling a function/method, and the second looks at using standard PHP classes to make it a bit cleaner.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!