/PHP-7.4/ext/standard/tests/file/ |
H A D | auto_detect_line_endings_2.phpt | 12 $stdin = fopen($filePath, "r"); 13 var_dump(fgets($stdin)); 14 var_dump(fgets($stdin)); 15 var_dump(fgets($stdin));
|
H A D | bug60120.phpt | 2 Bug #60120 (proc_open hangs when data in stdin/out/err is getting larger or equal to 2048) 19 $cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"'; 21 $stdin = str_repeat('*', 2049 ); 30 $stdinLen = strlen($stdin); 48 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
|
H A D | file_get_contents_error001.phpt | 14 var_dump(file_get_contents("php://stdin",null,null,8000,1));
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 012-2.phpt | 31 string(57) "Either execute direct code, process stdin or use a file. 33 string(57) "Either execute direct code, process stdin or use a file. 36 string(57) "Either execute direct code, process stdin or use a file. 38 string(57) "Either execute direct code, process stdin or use a file. 40 string(57) "Either execute direct code, process stdin or use a file. 42 string(57) "Either execute direct code, process stdin or use a file. 44 string(57) "Either execute direct code, process stdin or use a file. 50 string(57) "Either execute direct code, process stdin or use a file.
|
H A D | 009.phpt | 16 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 D | 022.inc | 6 $fd = fopen("php://stdin","r");
|
H A D | std_streams.phpt | 17 var_dump(ftell(fopen("php://stdin", "r")));
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | proc_open_bug64438.phpt | 2 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); 42 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
|
H A D | bug72853.phpt | 13 0 => array('pipe', 'r'), // stdin
|
H A D | bug64770.phpt | 7 0 => array('pipe', 'r'), // stdin
|
H A D | bug78883.phpt | 23 // if the bug is not present, it will hang waiting for stdin,
|
H A D | bug60602.phpt | 7 0 => array('pipe', 'r'), // stdin
|
H A D | proc_open_bug51800_right.phpt | 15 0 => array("pipe", "rb"), // stdin
|
H A D | proc_open_bug60120.phpt | 2 Bug #60120 proc_open hangs with stdin/out with >2048 bytes
|
/PHP-7.4/ext/phar/tests/zip/ |
H A D | corrupt_006.phpt | 2 Phar: zip with file created from stdin 8 new PharData(__DIR__ . '/files/stdin.zip'); 15 phar error: Cannot process zips created from stdin (zero-length filename) in zip-based phar "%sstdi…
|
/PHP-7.4/sapi/phpdbg/tests/ |
H A D | stdin_001.phpt | 2 Test stdin input with breakpoints 4 stdin foo 15 prompt> [Successful compilation of stdin input]
|
H A D | run_002.phpt | 8 ev file_put_contents("run_002_tmp.fixture", "stdin\ndata") 23 string(10) "stdin 36 string(10) "stdin
|
/PHP-7.4/tests/run-test/ |
H A D | test010.phpt | 6 var_dump(stream_get_contents(fopen('php://stdin', 'r'))); 7 var_dump(file_get_contents('php://stdin'));
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | bug73342-nonblocking-stdio.phpt | 2 FPM: bug73342 - Non-blocking stdin 25 stream_set_blocking(fopen('php://stdin', 'r'), false);
|
H A D | fcgi.inc | 459 * @param string $stdin Content 465 public function request(array $params, $stdin) 467 $id = $this->async_request($params, $stdin); 475 * @param string $stdin Content 481 public function request_data(array $params, $stdin) 483 $id = $this->async_request($params, $stdin); 499 * @param string $stdin Content 504 public function async_request(array $params, $stdin) 530 if ($stdin) { 531 $request .= $this->buildPacket(self::STDIN, $stdin, $id);
|
/PHP-7.4/ext/openssl/tests/ |
H A D | stream_server_reneg_limit.phpt | 77 list($stdin, $stdout, $stderr) = $pipes; 81 fwrite($stdin, "R\nR\nR\nR\n"); 88 fclose($stdin);
|
/PHP-7.4/ext/gd/tests/ |
H A D | imageinterlace_error2.phpt | 12 $image = fopen('php://stdin', 'r');
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_prompt.h | 36 PHPDBG_COMMAND(stdin);
|
/PHP-7.4/tests/output/ |
H A D | stream_isatty.inc | 7 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
|
/PHP-7.4/ext/phar/tests/zip/files/ |
H A D | corrupt2.php.inc | 9 $a->addFile('', null, 'stdin'); 10 $a->writeZip(dirname(__FILE__) . '/stdin.zip');
|