Lines Matching refs:data
163 $process->start(function ($type, $buffer) use (&$data) {
164 $data .= $buffer;
169 $this->assertSame('foo'.\PHP_EOL, $data);
233 $p->start(function ($type, $data) use ($stream) {
234 if ('hello' === $data) {
1216 $process->start(function ($type, $data) use ($input) {
1217 if ('ping' === $data) {
1251 $process->start(function ($type, $data) use ($input) {
1283 $process->start(function ($type, $data) use ($input) {
1284 if ('123' === $data) {
1303 foreach ($process as $type => $data) {
1304 $output[] = [$type, $data];
1314 foreach ($process as $type => $data) {
1315 $output[] = [$type, $data];
1339 …process->getIterator($process::ITER_NON_BLOCKING | $process::ITER_KEEP_OUTPUT) as $type => $data) {
1340 $output[] = [$type, $data];
1350 …process->getIterator($process::ITER_NON_BLOCKING | $process::ITER_KEEP_OUTPUT) as $type => $data) {
1351 if ('' !== $data) {
1352 $output[] = [$type, $data];