note 126496 added to function.stream-context-set-default
| From: | MahmoudSaeed at main dot php dot net | Date: | Mon, 11 Oct 2021 16:49:34 +0000 |
| Subject: | note 126496 added to function.stream-context-set-default | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217060@lists.php.net to get a copy of this message | ||
It's worth mentioning that passing an empty array will NOT reset default options.
<?php
stream_context_set_default(array()); // Does nothing.
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 197.48.245.35)
----
Manual Page -- https://php.net/manual/en/function.stream-context-set-default.php
Edit -- https://main.php.net/note/edit/126496
Del: integrated -- https://main.php.net/note/delete/126496/integrated
Del: useless -- https://main.php.net/note/delete/126496/useless
Del: bad code -- https://main.php.net/note/delete/126496/bad+code
Del: spam -- https://main.php.net/note/delete/126496/spam
Del: non-english -- https://main.php.net/note/delete/126496/non-english
Del: in docs -- https://main.php.net/note/delete/126496/in+docs
Del: other reasons-- https://main.php.net/note/delete/126496
Reject -- https://main.php.net/note/reject/126496
Search -- https://main.php.net/manage/user-notes.php