PHP » GoLang |
login |
register |
about
|
GoLang stream_context_get_default
request it (379)
GoLang replacement for PHP's stream_context_get_default
[edit | history]
PHP stream_context_get_defaultPHP original manual for stream_context_get_default [ show | php.net ]stream_context_get_default(PHP 5 >= 5.1.0, PHP 7) stream_context_get_default — Retrieve the default stream context Description
resource stream_context_get_default
([ array
$options
] )Returns the default stream context which is used whenever file operations (fopen(), file_get_contents(), etc...) are called without a context parameter. Options for the default context can optionally be specified with this function using the same syntax as stream_context_create(). Parameters
Return ValuesA stream context resource. Examples
Example #1 Using stream_context_get_default()
<?php See Also
|
more
Recently updated
more
Most requested
|