我看到文档说inet_pton的功能是:
Converts a human readable IP address to its packed in_addr representation
返回值是:
Returns the in_addr representation of the given address。
packed in_addr representation是什么?
我怎么去除返回值或显示返回值呢?
为什么我echo,print_r出来的内容全是乱码呢。
var_dump出来的是
string(16) " @"
string(16) " €"
string(16) " 0"
string(16) " 0 "
string(16) " 0@"
string(16) " 0€"
这些东西
Converts a human readable IP address to its packed in_addr representation
返回值是:
Returns the in_addr representation of the given address。
packed in_addr representation是什么?
我怎么去除返回值或显示返回值呢?
为什么我echo,print_r出来的内容全是乱码呢。
var_dump出来的是
string(16) " @"
string(16) " €"
string(16) " 0"
string(16) " 0 "
string(16) " 0@"
string(16) " 0€"
这些东西
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货