|
stream_wrapper_registerRegister 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
|