]> granicus.if.org Git - php/commitdiff
make test happy by adding missing functions to avoid warnings, taken from user_stream.c
authorShane Caraveo <shane@php.net>
Mon, 10 Mar 2003 00:14:11 +0000 (00:14 +0000)
committerShane Caraveo <shane@php.net>
Mon, 10 Mar 2003 00:14:11 +0000 (00:14 +0000)
ext/standard/tests/file/fopencookie.phpt

index 4043f85f8985afe3d155bd53f20309bdf4b76a94..5c34c93344eb987d1a073d8c604055e755f3971f 100644 (file)
@@ -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()
+       {
+       }
 
 }