mysticzhong / sortarraybyascii
根据一个名称按照ASCII码对数组进行排序
1.0.3
2018-12-18 09:12 UTC
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2024-09-29 05:02:15 UTC
README
- 根据一个名称按照ASCII码对数组进行排序
安装
- composer require mysticzhong/sortarraybyascii
用法
-
一些示例
- $tempPost['UserID'] = 62548;
- $tempPost['UserToken'] = 'ded038ff4d192b3e1ce9f216403b57dd50f1ff3ec74a54437b58df5405c327f2';
- $tempPost['startTime'] = 1544371200000;
- $tempPost['dayLength'] = 7;
- $tempPost['client'] = 4;
- $tempPost['Timestamp'] = 1544606827000;
- $tempPost['Sign'] = 'bb1ad40baff6a7bc28f00acd7b848382';
- $tempPost['z'] = 1;
- $tempPost = (new sortarraybyascii())->mainToSort($tempPost);
- print_r($tempPost);