遇到这样的错误的原因: 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及以上
本文详细解释了当尝试使用命名空间时,若使用的是PHP5.2及以下版本可能会出现的错误,并提供了解决方案:升级到PHP5.3或更高版本。
遇到这样的错误的原因: 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及以上
2038
1万+
5089
8277

被折叠的 条评论
为什么被折叠?