note 112483 deleted from function.idn-to-utf8 by cmb

From: Date: Thu, 02 Apr 2020 07:37:52 +0000
Subject: note 112483 deleted from function.idn-to-utf8 by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214403@lists.php.net to get a copy of this message
Note Submitter: zedwood.com ---- @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)); } ?>

« previous php.notes (#214403) next »