add inet_ntop_{nullable,folly}
commit5f5ee45a2e021d6f89437aa1a5bfd9fff6657c78
authorBill Fumerola <bill@fb.com>
Wed, 29 Apr 2020 16:40:53 +0000 (29 09:40 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Apr 2020 21:23:05 +0000 (30 14:23 -0700)
tree1f32b97a1966f54feee9eb95b039d3573b330ef8
parent9544099193585e25b2cb4026d5d7866b14606f7e
add inet_ntop_{nullable,folly}

Summary: add new versions of `inet_ntop` that do not have the "error log" and "return false" properties currently worked around by callers.

Reviewed By: dneiter

Differential Revision: D20484478

fbshipit-source-id: 6cfcab9f046a40f80938ee160c49af4f671cd1ce
hphp/hack/hhi/stdlib/builtins_network.hhi
hphp/runtime/ext/std/ext_std_network.cpp
hphp/runtime/ext/std/ext_std_network.h
hphp/runtime/ext/std/ext_std_network.php
hphp/test/slow/ext_network/inet_ntop.php [new file with mode: 0644]
hphp/test/slow/ext_network/inet_ntop.php.expectf [new file with mode: 0644]