PHP 手册
上一页 |  | 下一页

# php_register_url_stream_wrapper

php_register_url_stream_wrapper -- Registers a wrapper with the Streams API

## Description

int php_register_url_stream_wrapper ( char * protocol, php_stream_wrapper * wrapper, TSRMLS_DC )

php_register_url_stream_wrapper() registers `wrapper` as the handler for the protocol specified by `protocol`.

> 注意: If you call this function from a loadable module, you *MUST* call php_unregister_url_stream_wrapper() in your module shutdown function, otherwise PHP will crash.

上一页 | 起始页 | 下一页
php_stream_passthru | 上一级 | php_unregister_url_stream_wrapper