Typecheck `ext_stream` and `ext_std_network`
commitb2254809bd19ea1698094f22617a6bf64e934451
authorHunter Goldstein <hgoldstein@fb.com>
Thu, 23 Jun 2022 20:55:15 +0000 (23 13:55 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 23 Jun 2022 20:55:15 +0000 (23 13:55 -0700)
tree7fe4a18dd1c830f6d2a00d8cb1778e85a28979cb
parentc26f90e2b7748351a0285bf861f77f72631808af
Typecheck `ext_stream` and `ext_std_network`

Summary: This *is* a behavior change, but a minor one at best: if you were passing arguments of the wrong type to some of these builtins (dns_check_record, dns_get_mx, socket_get_status, socket_set_blocking, or socket_set_timeout) you'll get a different notice / exception (depending on your settings).

Reviewed By: aorenste

Differential Revision: D37333989

fbshipit-source-id: a3b0189fe315e7616f5910549ba3ff5279d1ce58
hphp/runtime/ext/std/ext_std_network.php
hphp/runtime/ext/stream/ext_stream.hhi [new file with mode: 0644]
hphp/runtime/ext/stream/ext_stream.php