按值类型的Php排序数组

时间:2014-07-20 14:23:14

标签: php arrays sorting

我有以下array,我需要value type,这意味着Arrays应该是最后一个元素。

首先是所有字符串,然后是所有数组(file.php,file0.php,file1.php,array,array)

    Array  (

            [0] Array
                (

                    [application/views/_templates] Array
                        (
                            [0] footer.php
                            [1] header.php
                        )

                )

            [1] Array
                (
                    [application/views/admin] Array
                        (
                            [0] controllers.php
                            [1] index.php
                            [2] login.php
                            [3] models.php
                            [4] Array
                                (
                                    [application/views/admin/template] Array
                                        (
                                            [0] header.php
                                        )

                                )

                            [5] views.php
                        )

                )


        )

对不起,如果重复,但我试图搜索几个小时......

0 个答案:

没有答案