fix test portability

This commit is contained in:
Anatol Belski 2016-11-26 20:27:09 +01:00
parent b204b3abd1
commit 92175d09c7

View File

@ -13,16 +13,16 @@ $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array(
));
var_dump(socket_addrinfo_explain($addrinfo[0]));
echo "Done";
--EXPECT--
--EXPECTF--
array(5) {
["ai_flags"]=>
int(0)
int(%d)
["ai_family"]=>
int(2)
["ai_socktype"]=>
int(2)
["ai_protocol"]=>
int(17)
int(%d)
["ai_addr"]=>
array(2) {
["sin_port"]=>