File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 33/**
44 * @param-out int $error_code
55 * @param-out string $error_message
6+ * @param resource|null $context
7+ * @return resource|false
68 */
79function stream_socket_client(
810 string $address,
911 int &$error_code = null,
1012 string &$error_message = null,
1113 float $timeout = null,
1214 int $flags = STREAM_CLIENT_CONNECT,
13- resource $context = null
14- ): resource|false {
15+ $context = null
16+ ) {
1517}
Original file line number Diff line number Diff line change 33/**
44 * @param-out int $error_code
55 * @param-out string $error_message
6+ * @param resource|null $context
7+ * @return resource|false
68 */
79function stream_socket_server(
810 string $address,
911 int &$error_code = null,
1012 string &$error_message = null,
1113 int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN,
12- resource $context = null
13- ): resource|false {
14+ $context = null
15+ ) {
1416}
You can’t perform that action at this time.
0 commit comments