public function pipesCodeProvider() {
$variations = array(
'fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);',
'include \'' . __DIR__ . '/ProcessTestHelper.php\';',
);
$codes = array();
foreach (array(
1,
16,
64,
1024,
4096,
) as $size) {
foreach ($variations as $code) {
$codes[] = array(
$code,
$size,
);
}
}
return $codes;
}