ext-uv/examples/getaddrinfo.php

9 lines
159 B
PHP
Raw Normal View History

2012-06-23 20:34:06 +02:00
<?php
uv_getaddrinfo(uv_default_loop(),function($s,$names){
var_dump($names);
2020-02-15 22:36:03 +01:00
}, "yahoo.com", NULL ,array(
2012-06-23 20:34:06 +02:00
"ai_family" => UV::AF_UNSPEC
));
uv_run();