diff --git a/reference/filesystem/functions/file-register-wrapper.xml b/reference/filesystem/functions/file-register-wrapper.xml index 8237e9426d..e73396dd34 100644 --- a/reference/filesystem/functions/file-register-wrapper.xml +++ b/reference/filesystem/functions/file-register-wrapper.xml @@ -1,5 +1,5 @@ - + @@ -203,7 +203,7 @@ class VariableStream { function stream_open($path, $mode, $options, &$opened_path) { $url = parse_url($path); - $this->varname = $split["host"]; + $this->varname = $url["host"]; $this->position = 0; return true;