Home
last modified time | relevance | path

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

123

/PHP-8.2/sapi/cli/tests/
H A D012-2.phpt33 string(57) "Either execute direct code, process stdin or use a file.
35 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.
46 string(57) "Either execute direct code, process stdin or use a file.
52 string(57) "Either execute direct code, process stdin or use a file.
H A Dgh8827-002.phpt15 $stdin = fopen('php://stdin', 'r');
25 var_dump(@fopen('php://stdin', 'r'));
H A D009.phpt18 string(57) "Either execute direct code, process stdin or use a file.
20 string(57) "Either execute direct code, process stdin or use a file.
H A D022.inc6 $fd = fopen("php://stdin","r");
H A Dgh8827-001.phpt16 var_dump(@fopen('php://stdin', 'r'));
H A Dstd_streams.phpt17 var_dump(ftell(fopen("php://stdin", "r")));
/PHP-8.2/ext/standard/tests/file/
H A Dauto_detect_line_endings_2.phpt12 $stdin = fopen($filePath, "r");
13 var_dump(fgets($stdin));
14 var_dump(fgets($stdin));
15 var_dump(fgets($stdin));
H A Dbug60120.phpt2 Bug #60120 (proc_open hangs when data in stdin/out/err is getting larger or equal to 2048)
20 $cmd = $php . ' -r "\$in = file_get_contents(\'php://stdin\'); fwrite(STDOUT, \$in); fwrite(STDERR,…
22 $stdin = str_repeat('*', 2049 );
31 $stdinLen = strlen($stdin);
50 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
76 if ($output !== $stdin) {
H A Dfdatasync.phpt35 echo "\n*** Testing fdatasync(): attempting to sync stdin ***\n";
36 $file_handle = fopen("php://stdin", "w");
65 *** Testing fdatasync(): attempting to sync stdin ***
H A Dfsync.phpt35 echo "\n*** Testing fsync(): attempting to sync stdin ***\n";
36 $file_handle = fopen("php://stdin", "w");
65 *** Testing fsync(): attempting to sync stdin ***
H A Dfile_get_contents_error001.phpt14 var_dump(file_get_contents("php://stdin",null,null,8000,1));
/PHP-8.2/ext/phar/tests/zip/
H A Dcorrupt_006.phpt2 Phar: zip with file created from stdin
8 new PharData(__DIR__ . '/files/stdin.zip');
14 phar error: Cannot process zips created from stdin (zero-length filename) in zip-based phar "%sstdi…
/PHP-8.2/ext/standard/tests/streams/
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);
42 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
H A Dbug72853.phpt13 0 => array('pipe', 'r'), // stdin
/PHP-8.2/sapi/phpdbg/tests/
H A Dstdin_001.phpt2 Test stdin input with breakpoints
4 stdin foo
15 prompt> [Successful compilation of stdin input]
H A Drun_002.phpt8 ev file_put_contents("run_002_tmp.fixture", "stdin\ndata")
23 string(10) "stdin
36 string(10) "stdin
/PHP-8.2/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-8.2/sapi/fpm/tests/
H A Dbug73342-nonblocking-stdio.phpt2 FPM: bug73342 - Non-blocking stdin
25 stream_set_blocking(fopen('php://stdin', 'r'), false);
H A Dlog-suppress-output-request-body.phpt60 stdin: $body
68 stdin: $body
85 // Should suppress GET with body but 0 content length (no stdin readable)
89 stdin: $body
H A Dghsa-54hq-v5wp-fqgv-max-file-uploads.phpt36 ->request(stdin: [
/PHP-8.2/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt80 list($stdin, $stdout, $stderr) = $pipes;
84 fwrite($stdin, "R\nR\nR\nR\n");
91 fclose($stdin);
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_prompt.h34 PHPDBG_COMMAND(stdin);
/PHP-8.2/ext/standard/tests/general_functions/
H A Dgh12655.phpt7 0 => [ "pipe", "r" ], // stdin is a pipe that the child will read from
/PHP-8.2/tests/output/
H A Dstream_isatty.inc7 'STDIN (fopen)' => fopen('php://stdin', 'rb'),

Completed in 25 milliseconds

123