update : 2015.11.03
php.shukuma.com검색:
|
stream_wrapper_register(PHP 4 >= 4.3.2, PHP 5) stream_wrapper_register — Register a URL wrapper implemented as a PHP class 설명
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.). 인수
반환값
성공 시
stream_wrapper_register() will return 변경점
예제
Example #1 How to register a stream wrapper
<?php 위 예제의 출력: line1 line2 line3 string(18) "line1 line2 line3 " 참고
|