|
stream_wrapper_registerRegister a URL wrapper implemented as a PHP class Beschreibung
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.). Parameter-Liste
Rückgabewerte
Gibt bei Erfolg
stream_wrapper_register will return Changelog
Beispiele
Beispiel #1 How to register a stream wrapper
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: line1 line2 line3 string(18) "line1 line2 line3 " Siehe auch
|