|
@@ 294-296 (lines=3) @@
|
| 291 |
|
$options['socket']['bindto'] = $this->_params['sourceIp'] . ':0'; |
| 292 |
|
} |
| 293 |
|
|
| 294 |
|
if (!empty($this->_params['verifySsl'])) { |
| 295 |
|
$options = array_replace_recursive($options, $this->_params['verifySsl']); |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
if (!empty($this->_params['stream_context_options'])) { |
| 299 |
|
$options = array_replace_recursive($options, $this->_params['stream_context_options']); |
|
@@ 298-300 (lines=3) @@
|
| 295 |
|
$options = array_replace_recursive($options, $this->_params['verifySsl']); |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
if (!empty($this->_params['stream_context_options'])) { |
| 299 |
|
$options = array_replace_recursive($options, $this->_params['stream_context_options']); |
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
$streamContext = stream_context_create($options); |
| 303 |
|
/** @noinspection PhpUsageOfSilenceOperatorInspection */ |