xref: /php-uv/examples/getaddrinfo.php (revision 99312394)
1<?php
2uv_getaddrinfo(uv_default_loop(),function($s,$names){
3    var_dump($names);
4}, "yahoo.com", NULL ,array(
5    "ai_family" => UV::AF_UNSPEC
6));
7
8uv_run();
9