PHP » GoLang |
login |
register |
about
|
GoLang stream_wrapper_register
request it (506)
GoLang replacement for PHP's stream_wrapper_register
[edit | history]
stream_wrapper_register(PHP 4 >= 4.3.2, PHP 5, PHP 7) stream_wrapper_register — Register a URL wrapper implemented as a PHP class Description
bool stream_wrapper_register
( string
$protocol
, string $classname
[, int $flags = 0
] )Allows you to implement your own protocol handlers and streams for use with all the other filesystem functions (such as fopen(), fread() etc.). Parameters
Return Values
Returns
stream_wrapper_register() will return Changelog
Examples
Example #1 How to register a stream wrapper
<?php The above example will output: line1 line2 line3 string(18) "line1 line2 line3 " See Also
|
more
Recently updated
more
Most requested
more
Last requests
|