2017 © Pedro Peláez
 

library stringstream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

image

dvdoug/stringstream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  • Saturday, July 28, 2018
  • by dvdoug
  • Repository
  • 1 Watchers
  • 2 Stars
  • 65 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

StringStream

Stream wrapper for strings. Basically, like php://temp ~~except that you can have multiple streams at once, and can pre-initialise the contents~~. This was never tested by my past self, php://temp is in fact not shared between handles and this package was never needed. Just use php://temp, (*1)

Build Status Scrutinizer Code Quality Download count Download count, (*2)

Usage

stream_wrapper_register('string', '\DVDoug\StringStream\StringStream');

$handle = fopen('string://foobar', 'r+');
$contents = '';
while (!feof($handle)) {
  $contents .= fread($handle, 8192);
}
fclose($handle);

License

StringStream is MIT-licensed., (*3)

The Versions

28/07 2018

dev-analysis-qvB6xl

dev-analysis-qvB6xl https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

28/07 2018

dev-master

9999999-dev https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

28/07 2018

dev-analysis-q5lK5B

dev-analysis-q5lK5B https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

03/01 2017

v1.1.2

1.1.2.0 https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

06/10 2016

v1.1.1

1.1.1.0 https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

20/09 2016

1.1

1.1.0.0 https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream

13/02 2013

1.0

1.0.0.0 https://github.com/dvdoug/StringStream

Stream wrapper for strings. Basically, like php://temp except that you can have multiple streams

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Doug Wright

string stream