thinkPHP5下扩展encryptedData解密算法文件的注意事项
一、出现"
Namespace declaration statement has to be the very first statement in the script"
解决办法将几个文件的编码更改为不含dom的utf-8格式,具体操作如图
将文件用Dreamweaver打开->文件->另存为->保存,然后再把原来的文件替换掉
这样格式就转换好了。
二、在php5.6以上构造函数不能为类名
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。