Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 43) sorted by relevance

12

/PHP-5.6/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt2 Bug #60120 proc_open hangs with stdin/out with 2048+ bytes
8 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE…
10 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER…
13 $stdin = str_repeat('*', 1024 * 16) . '!';
14 $stdin = str_repeat('*', 2049 );
23 $stdinLen = strlen($stdin);
41 $written = fwrite($writePipes[0], (binary)substr($stdin, $stdinOffset), 8192);
H A Dproc_open_bug64438.phpt2 Bug #64438 proc_open hangs with stdin/out with 4097+ bytes
9 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE…
11 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER…
14 $stdin = str_repeat('*', 4097);
23 $stdinLen = strlen($stdin);
41 $written = fwrite($writePipes[0], (binary)substr($stdin, $stdinOffset), 8192);
H A Dbug72853.phpt13 0 => array('pipe', 'r'), // stdin
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
H A Dbug60602.phpt7 0 => array('pipe', 'r'), // stdin
H A Dproc_open_bug51800_right.phpt15 0 => array("pipe", "rb"), // stdin
H A Dproc_open_bug51800_right2.phpt15 0 => array("pipe", "rb"), // stdin
H A Dbug61019.phpt9 0 => array("pipe", "r"), // stdin is a pipe that the child will read from
H A Dproc_open_bug51800.phpt31 0 => array("pipe", "rb"), // stdin
/PHP-5.6/ext/standard/tests/file/
H A Dbug60120.phpt2 Bug #60120 (proc_open hangs when data in stdin/out/err is getting larger or equal to 2048)
22 $cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"';
24 $stdin = str_repeat('*', 1024 * 16) . '!';
25 $stdin = str_repeat('*', 2049 );
34 $stdinLen = strlen($stdin);
52 $written = fwrite($writePipes[0], (binary)substr($stdin, $stdinOffset), 8192);
/PHP-5.6/ext/phar/tests/zip/
H A Dcorrupt_006.phpt2 Phar: zip with file created from stdin
9 new PharData(dirname(__FILE__) . '/files/stdin.zip');
16 phar error: Cannot process zips created from stdin (zero-length filename) in zip-based phar "%sstdi…
H A Dbzip2.phpt30 $a->addFile('', null, 'stdin');
31 $a->writeZip(dirname(__FILE__) . '/stdin.zip');
/PHP-5.6/tests/run-test/
H A Dtest010.phpt6 var_dump(stream_get_contents(fopen('php://stdin', 'r')));
7 var_dump(file_get_contents('php://stdin'));
/PHP-5.6/sapi/cli/tests/
H A D009.phpt16 string(57) "Either execute direct code, process stdin or use a file.
18 string(57) "Either execute direct code, process stdin or use a file.
H A D022.inc6 $fd = fopen("php://stdin","r");
/PHP-5.6/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt69 list($stdin, $stdout, $stderr) = $pipes;
73 fwrite($stdin, "R\nR\nR\nR\n");
80 fclose($stdin);
/PHP-5.6/ext/gd/tests/
H A Dimageinterlace_error2.phpt12 $image = fopen('php://stdin', 'r');
/PHP-5.6/ext/mbstring/libmbfl/tests/
H A Dstrwidth.c44 const int c = fgetc(stdin); in main()
H A Dconv_kana.c110 const int c = fgetc(stdin); in main()
H A Dconv_encoding.c64 const int c = fgetc(stdin); in main()
H A Dstrcut.c73 const int c = fgetc(stdin); in main()
/PHP-5.6/ext/phar/tests/zip/files/
H A Dcorrupt2.php.inc9 $a->addFile('', null, 'stdin');
10 $a->writeZip(dirname(__FILE__) . '/stdin.zip');
/PHP-5.6/sapi/fpm/tests/
H A Dfcgi.inc429 * @param String $stdin Content
432 public function request(array $params, $stdin)
434 $id = $this->async_request($params, $stdin);
450 * @param String $stdin Content
453 public function async_request(array $params, $stdin)
477 if ($stdin) {
478 $request .= $this->buildPacket(self::STDIN, $stdin, $id);
/PHP-5.6/sapi/embed/
H A Dphp_embed.c183 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-5.6/ext/gd/libgd/
H A Dwebpng.c48 in = stdin; in main()

Completed in 38 milliseconds

12