Laravel Solution

Laravel this is not only a practical framework, it is also a programming style

mardi 31 janvier 2017

How to filter empty/null multidimensional arrays

The goal was this - return !empty($arr), using array_filter. But still the empty arrays are not filtered. I tried using array_values and then apply array_filter but still the result was the same. Any Ideas on how to filter these empty arrays? That would be a greater help for me thank you! by the way this is a multidimensional array.



via Chebli Mohamed
Unknown à 09:23
Partager

Aucun commentaire:

Enregistrer un commentaire

‹
›
Accueil
Afficher la version Web

Qui êtes-vous ?

Unknown
Afficher mon profil complet
Fourni par Blogger.