stream_socket_shutdown

PHP 5 >= 5.2.1, PHP 7, PHP 8
stream_socket_shutdown - Shutdown a full-duplex connection
Manual
Code Examples

Example #1 A stream_socket_shutdown example

Result: int(5) Notice: fputs(): send of 5 bytes failed with errno=32 Broken pipe in test.php on line 9 int(0)
PHP Version:


Function stream_socket_shutdown:

Streams Functions

Most used PHP functions