Maison >développement back-end >tutoriel php >怎么删除多维数组中指定元素

怎么删除多维数组中指定元素

WBOY
WBOYoriginal
2016-06-13 12:02:561647parcourir

如何删除多维数组中指定元素?

  [0] => Array<br>        (<br>            [v] => 1<br>            [fup] => 0<br>            [n] => 服务器<br>            [s] => Array<br>                (<br>                    [0] => Array<br>                        (<br>                            [v] => 2<br>                            [fup] => 2<br>                            [n] => one<br>                            [s] => Array<br>                                (<br>                                    [0] => Array<br>                                        (<br>                                            [v] => 3<br>                                            [fup] => 41<br>                                            [n] => one<br>                                        )<br><br>                                    [1] => Array<br>                                        (<br>                                            [v] => 4<br>                                            [fup] => 1<br>                                            [n] => two<br>                                        )<br><br>                                    [2] => Array<br>                                        (<br>                                            [v] => 5<br>                                            [fup] => 1<div class="clear">
                 
              
              
        
            </div>
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn