ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 调用php对数组升序排序 ``` let sortArr= [2,5,8,9,1,3,6,4,7];//可对数字 let sortArr= ['overflow','background','far-right','auto','canvas','default','green','element'];//a-z let sortArr= {'a':2,'b':1,'c':3}; RunPHP = { 'phpFunc':'__php_sort', 'param':[sortArr] } Ext.action(RunPHP,data=>{ console.log(data); }); ```