+ 2
Built in function for easily handling array of arrays
PHP has a built in function for times when you have an array of arrays and need just 1 value from each array. Instead of traversing with a foreach you can use array_column(). See some sample code here: https://code.sololearn.com/wMkY4SJCZugr/?ref=app
2 Answers
+ 9
very nice, thanks for sharing, but in future maybe is better idea that you share your knowledge and ideas in lesson factory because Q&A is not for that kind of posts actually
0
Is that only available on the website?
I do not see it in the iPhone app.