note 118399 added to function.stream-context-get-params
| From: | m dot staas at goowy dot com | Date: | Mon, 30 Nov 2015 13:35:45 +0000 |
| Subject: | note 118399 added to function.stream-context-get-params | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204246@lists.php.net to get a copy of this message | ||
Note that if the resource parameter is invalid the function will return a boolean with value false.
The code:
$r = null
$cert = stream_context_get_params($r);
var_dump($cert);
will return:
bool(false)
----
Server IP: 72.52.91.14
Probable Submitter: 213.124.79.186
----
Manual Page -- http://php.net/manual/en/function.stream-context-get-params.php
Edit -- https://master.php.net/note/edit/118399
Del: integrated -- https://master.php.net/note/delete/118399/integrated
Del: useless -- https://master.php.net/note/delete/118399/useless
Del: bad code -- https://master.php.net/note/delete/118399/bad+code
Del: spam -- https://master.php.net/note/delete/118399/spam
Del: non-english -- https://master.php.net/note/delete/118399/non-english
Del: in docs -- https://master.php.net/note/delete/118399/in+docs
Del: other reasons-- https://master.php.net/note/delete/118399
Reject -- https://master.php.net/note/reject/118399
Search -- https://master.php.net/manage/user-notes.php