File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 * Wraps I/O streams into PHP streams
88 *
99 * @test io.unittest.StreamWrappingTest
10- * @see php ://streams
10+ * @see https ://www.php.net/manual/de/ref.stream.php
1111 */
1212abstract class Streams {
13- protected static
14- $ streams = [];
15-
16- public
17- $ context = null ;
13+ protected static $ streams = [];
14+ protected $ length = 0 ;
15+ protected $ id = null ;
16+ public $ context = null ;
1817
19- protected
20- $ length = 0 ,
21- $ id = null ;
22-
2318 static function __static () {
2419 stream_wrapper_register ('iostrr ' , get_class (new class () extends Streams {
2520 static function __static () { }
@@ -125,7 +120,7 @@ public static function writeableUri(OutputStream $s) {
125120 self ::$ streams [$ hash ]= $ s ;
126121 return 'iostrw:// ' .$ hash ;
127122 }
128-
123+
129124 /**
130125 * Read an IOElements' contents completely into a buffer in a single call.
131126 *
You can’t perform that action at this time.
0 commit comments