[php-src] Issue #16105: stream_context_create silently ignores invalid options
| From: | aliber4079 | Date: | Sat, 28 Sep 2024 17:26:21 +0000 |
| Subject: | [php-src] Issue #16105: stream_context_create silently ignores invalid options | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247929@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/16105
Author: aliber4079
### Description
for example
`$context=stream_context_create([
'ssl' => [
'verify_peername' => FALSE,
]
]);
`
the property verify_peername should be verify_peer_name but
$context is not
FALSE and no error is reported