首页 >后端开发 >php教程 >怎么删除多维数组中指定元素

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

WBOY
WBOY原创
2016-06-13 12:02:561634浏览

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

  [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>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn