note 112483 added to function.idn-to-utf8
| From: | zedwood.com | Date: | Thu, 20 Jun 2013 20:29:57 +0000 |
| Subject: | note 112483 added to function.idn-to-utf8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195306@lists.php.net to get a copy of this message | ||
@kushik.com:
punyAdapt should be patched:
<?php
private static function punyAdapt($delta, $numpoints, $firsttime)
{
$delta = (int)($firsttime ? $delta / 700 : $delta / 2);
$delta += (int)($delta / $numpoints);
for($k = 0; $delta > 455; $k+=36)
$delta = (int)($delta / 35);
}
return $k + (int)((36) * $delta / ($delta + 38));
}
?>
----
Server IP: 69.147.83.199
Probable Submitter: 64.78.193.228
----
Manual Page -- http://php.net/manual/en/function.idn-to-utf8.php
Edit -- https://master.php.net/note/edit/112483
Del: integrated -- https://master.php.net/note/delete/112483/integrated
Del: useless -- https://master.php.net/note/delete/112483/useless
Del: bad code -- https://master.php.net/note/delete/112483/bad+code
Del: spam -- https://master.php.net/note/delete/112483/spam
Del: non-english -- https://master.php.net/note/delete/112483/non-english
Del: in docs -- https://master.php.net/note/delete/112483/in+docs
Del: other reasons-- https://master.php.net/note/delete/112483
Reject -- https://master.php.net/note/reject/112483
Search -- https://master.php.net/manage/user-notes.php