首頁  >  文章  >  後端開發  >  怎么删除多维数组中指定元素

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

WBOY
WBOY原創
2016-06-13 12:02:561614瀏覽

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

  [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