Closed herndlm closed 8 years ago
Could you please check, whether it works with the dev branch? Thx in advance!
Well, I got a bunch of Class x not found errors (maybe I'm using the namespaces wrong) and after fiddling around with includes I got
PHP Parse error: syntax error, unexpected '+', expecting ',' or ';' in <dir>src/Punycode.php on line x
but fixing this gets me something like
PHP Catchable fatal error: Argument 1 passed to Mso\IdnaConvert\Punycode::__construct() must be an instance of Mso\IdnaConvert\NamePrepDataInterface, null given, called in <dir>/src/IdnaConvert.php on line x and defined in <dir>/src/Punycode.php on line y
Alright, thanks for trying. I'll look into the whole issue in the next few days and will get back to you as soon as possible.
Stick with 0.9 for the time being.
Hi,
first of all please update your PHP to at least version 5.6.x. A few language constructs used are not available to your old PHP version. If this is not possible, you are unfortunately stuck with version 0.9.x of IdnaConvert.
I looked into the issues and fixed the apparent problems with instantiating the PunyCode class (alongside some minor other issues).
Hope that helps.
We can't update our PHP atm, but are working on it. Thx for your help. I'll close this for now.
results in
because "_decode" also tries to decode the "info" which is not punycode. If I try it with "knörz.knörz" it works. Is this a bug or am I doing something else wrong?
php infos:
update: btw. it works with version 0.9.0