Function

stream_get_contents

Synopsis

stream_get_contents(object, mixed ...): string

Area
Runtime\PS\Files\stream_get_contentsareas

Description

stream_get_contents reads any reader for the same reason fwrite writes any writer: STDIN is one, and this is how a script reads a whole handle at once.

Usage

$value = stream_get_contents($arguments);
$fn = stream_get_contents(...);

See also