0

I want to use hashids with PHP. However, my web host (000webhost.com) has an older version of PHP installed, and it gives an error :

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

in this line :

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

How can I work this around? I cannot change any PHP configuration. Any suggestions ?

4

0 回答 0