stream_socket_shutdown()
function stream_socket_shutdown(resource $stream, int $mode): bool
Shutdown a full-duplex connection.
Parameters:
$stream(resource)$mode(int)
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/filesystem/stream_socket_shutdown.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how stream_socket_shutdown is implemented in the compiler, see the internals page.