[go: nahoru, domu]

PHP 8.4.0 Alpha 4 available for testing

Voting

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

The Note You're Voting On

bohwaz
1 year ago
Sadly this method does not allow for using an arbitrary nameserver.

If you need to make a request using a specific DNS server, you'll need to use either Pear/Net_DNS2, or libdns ( https://github.com/DaveRandom/LibDNS ).

If you want something shorter and lighter, you can also use this 150 lines function: https://gist.github.com/bohwaz/ddc61c4f7e031c3221a89981e70b830c

<< Back to user notes page

To Top