From 58c67323dacc2ab1ffeecad46b9553820334a701 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Mon, 10 Mar 2003 00:14:11 +0000 Subject: [PATCH] make test happy by adding missing functions to avoid warnings, taken from user_stream.c --- ext/standard/tests/file/fopencookie.phpt | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/ext/standard/tests/file/fopencookie.phpt b/ext/standard/tests/file/fopencookie.phpt index 4043f85f89..5c34c93344 100644 --- a/ext/standard/tests/file/fopencookie.phpt +++ b/ext/standard/tests/file/fopencookie.phpt @@ -74,6 +74,48 @@ class userstream { return false; } } + + function stream_write($data) + { + return false; + } + + function stream_close() + { + } + + function stream_flush() + { + return false; + } + + function stream_stat() + { + return NULL; + } + + function url_stat($url) + { + return NULL; + } + + function dir_opendir($url, $options) + { + return false; + } + + function dir_readdir() + { + return NULL; + } + + function dir_closedir() + { + } + + function dir_rewinddir() + { + } } -- 2.50.1