summaryrefslogtreecommitdiff
path: root/main/user_streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/user_streams.c')
-rw-r--r--main/user_streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/user_streams.c b/main/user_streams.c
index b74715ce92..0688fbd596 100644
--- a/main/user_streams.c
+++ b/main/user_streams.c
@@ -335,9 +335,9 @@ static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filen
}
-/* {{{ proto bool file_register_wrapper(string protocol, string classname)
+/* {{{ proto bool stream_register_wrapper(string protocol, string classname)
Registers a custom URL protocol handler class */
-PHP_FUNCTION(file_register_wrapper)
+PHP_FUNCTION(stream_register_wrapper)
{
char *protocol, *classname;
int protocol_len, classname_len;