stream_context_create

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Creates a stream context
<?php stream_context_create(?array $options = null, ?array $params = null): resource
<?php             $errstr,

            0,

            \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT,

            \stream_context_create($context)

        );



        if (false === $stream) {
<?php             $errno,

            $errstr,

            \STREAM_SERVER_BIND | \STREAM_SERVER_LISTEN,

            \stream_context_create(array('socket' => $context + array('backlog' => 511)))

        );

        if (false === $this->master) {

            if ($errno === 0) {
<?php             $errno,

            $errstr,

            \STREAM_SERVER_BIND | \STREAM_SERVER_LISTEN,

            \stream_context_create(array('socket' => $context))

        );

        if (false === $this->master) {