]> granicus.if.org Git - php/commitdiff
Fix test
authorScott MacVicar <scottmac@php.net>
Mon, 17 Mar 2008 10:29:17 +0000 (10:29 +0000)
committerScott MacVicar <scottmac@php.net>
Mon, 17 Mar 2008 10:29:17 +0000 (10:29 +0000)
Zend/tests/bug38779.phpt

index b551767c918101065c47a5005602184382aca678..5ffe990a0c3a7bd96f96a081ca7001b36c729f45 100644 (file)
@@ -19,6 +19,9 @@ class Loader {
        function stream_eof() {
                return $this->position >= strlen($this->data);
        }
+       function stream_stat() {
+               return array('size' => strlen($this->data));
+       }
 }
 stream_wrapper_register('Loader', 'Loader');
 require 'Loader://qqq.php';