Home >Backend Development >PHP Tutorial >怎么删除多维数组中指定元素

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

WBOY
WBOYOriginal
2016-06-13 12:02:561634browse

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

  [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>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn