PHP 8.5.0 Beta 1 available for testing

Voting

: max(nine, one)?
(Example: nine)

The Note You're Voting On

Krisztin Ferenczi
11 years ago
criffoh at gmail dot com is right. Before you check domain, you must convert to ascii with idn_to_ascii function:
http://us2.php.net/manual/en/function.idn-to-ascii.php .

var_dump(checkdnsrr('ñandu.cl', 'A')); // returns false
var_dump(checkdnsrr(idn_to_ascii('ñandu.cl'), 'A')); // return true

<< Back to user notes page

To Top