Maison  >  Article  >  développement back-end  >  数组对象除开重复的值

数组对象除开重复的值

WBOY
WBOYoriginal
2016-06-13 11:41:33868parcourir

数组对象去除重复的值

<br>	Array<br>(<br>    [4968] => WP_Post Object<br>        (<br>            [ID] => 4968<br>            [post_author] => 1<br>            [post_date] => 2013-11-30 14:32:54<br>            [post_date_gmt] => 2013-11-30 06:32:54<br>            [post_content] => <br>            [post_title] => taibei<br>            [post_excerpt] => 来到台北的日子<br>            [post_status] => inherit<br>            [comment_status] => open<br>            [ping_status] => open<br>            [post_password] => <br>            [post_name] => taibei<br>            [to_ping] => <br>            [pinged] => <br>            [post_modified] => 2013-11-30 14:32:54<br>            [post_modified_gmt] => 2013-11-30 06:32:54<br>            [post_content_filtered] => <br>            [post_parent] => 4058<br>            [guid] => http://tanteng-wordpress.stor.sinaapp.com/uploads/2013/01/taibei.jpg<br>            [menu_order] => 0<br>            [post_type] => attachment<br>            [post_mime_type] => image/jpeg<br>            [comment_count] => 0<br>            [filter] => raw<br>        )<br><br>    [4951] => WP_Post Object<br>        (<br>            [ID] => 4951<br>            [post_author] => 1<br>            [post_date] => 2013-11-29 14:38:33<br>            [post_date_gmt] => 2013-11-29 06:38:33<br>            [post_content] => <br>            [post_title] => taipei<br>            [post_excerpt] => 台北路的生活<br>            [post_status] => inherit<br>            [comment_status] => open<br>            [ping_status] => open<br>            [post_password] => <br>            [post_name] => taipei-3<br>            [to_ping] => <br>            [pinged] => <br>            [post_modified] => 2013-11-29 14:38:33<br>            [post_modified_gmt] => 2013-11-29 06:38:33<br>            [post_content_filtered] => <br>            [post_parent] => 4058<br>            [guid] => http://tanteng-wordpress.stor.sinaapp.com/uploads/2013/01/taipei.jpgpsid1<br>            [menu_order] => 0<br>            [post_type] => attachment<br>            [post_mime_type] => image/jpeg<br>            [comment_count] => 0<br>            [filter] => raw<br>        )<br><br>    [4940] => WP_Post Object<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