mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
fix test portability
This commit is contained in:
parent
b204b3abd1
commit
92175d09c7
@ -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"]=>
|
||||
|
Loading…
Reference in New Issue
Block a user