PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /path/to//header.php

来源:互联网 发布:网络投资被骗 编辑:程序博客网 时间:2024/04/29 18:05

遇到这样的错误的原因: 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.

Solutions: 将PHP 版本改到PHP5.3及以上      

0 0
原创粉丝点击