php_register_url_stream_wrapper() registers wrapper as the handler for the protocol specified by protocol.
Note: 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.