Hashids PHP命名空间问题:警告:输入中出现意外字符:'\'(ASCII = 92)state = 1

时间:2014-02-20 20:35:19

标签: php hash character ascii hashids

我想在PHP中使用hashids。 但是,我的网站主机(000webhost.com)安装了旧版本的PHP,并且出错:

Warning: Unexpected character in input: '\' (ASCII=92) state=1

在这一行:

$hashids = new Hashids\Hashids('hash_seed');

我该如何解决这个问题?我无法更改任何PHP配置。有什么建议吗?

0 个答案:

没有答案
相关问题