【BUG 已解决】Warning: Unexpected character in input: '\' (ASCII=92) state=1 in

来源:互联网 发布:mac如何显示u盘图标 编辑:程序博客网 时间:2024/05/15 16:01

在使用阿里云通讯短信验证码功能时,下载了阿里提供的 SDK 和 Demo,运行 Demo 提示:Warning: Unexpected character in input: '\' (ASCII=92) state=1 in .....
遇到这样的错误的原因: This happens if you are trying to use namespaces but do not have PHP 5.3. PHP 5.2 and below don't support namespaces and throw this error when they see the backslash.

解决办法: 将服务器支持 PHP 版本改到PHP5.3及以上  
阅读全文
0 0
原创粉丝点击