Re: ext/intl
| From: | Florian Holzhauer | Date: | Sun, 10 May 2009 13:47:00 +0000 |
| Subject: | Re: ext/intl | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64932@lists.php.net to get a copy of this message | ||
Hey everybody,
till schrieb:
wondering -- and I hate to bring it up again -- but since ext/intl in php 5.3 basically mimics the behaviour of pecl/idn sans error codes. Could this be "adjusted"?Actually, digging deeper into the source revealed another syntax: While the old function is string idn_to_ascii(string $utf8_domain [, int &$errorcode]) the new one is string idn_to_ascii(string $utf8_domain [, int $option [, int
&$status])with $options being forwarded to uidna_IDNToASCII: http://icu-project.org/apiref/icu4c/uidna_8h.html#711fa1d2e6dd25d7368f5b3ea2aaedc6 So the old $errorcode is not just being ignored, but is now treated as an input option. Cheers, Florian.