Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 47) sorted by last modified time

12

/PHP-7.1/sapi/phpdbg/tests/
H A Dstdin_001.phpt2 Test stdin input with breakpoints
4 stdin foo
15 prompt> [Successful compilation of stdin input]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_prompt.c73 PHPDBG_COMMAND_D(stdin, "read script from stdin", 0 , NULL, "s", 0),
465 PHPDBG_COMMAND(stdin) in PHPDBG_COMMAND() argument
H A Dphpdbg_prompt.h36 PHPDBG_COMMAND(stdin);
H A Dphpdbg.c1228 dup2(*socket, fileno(stdin)); in phpdbg_remote_init()
1423 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1839 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1840 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1850 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1855 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1856 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1933 PHPDBG_COMMAND_HANDLER(stdin)(&cmd); in main()
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c1019 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in cli_main()
/PHP-7.1/sapi/fpm/tests/
H A Dfcgi.inc459 * @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.1/sapi/fpm/fpm/
H A Dfpm_main.c1629 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
/PHP-7.1/sapi/embed/
H A Dphp_embed.c186 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.1/sapi/cli/
H A Dphp_cli.c948 file_handle.handle.fp = stdin; in do_cli()
1255 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.1/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.
/PHP-7.1/
H A Drun-tests.php1082 function system_with_timeout($commandline, $env = null, $stdin = null) argument
1103 if (!is_null($stdin)) {
1104 fwrite($pipes[0], $stdin);
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c1873 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
2537 file_handle.handle.fp = stdin;
2615 (file_handle.handle.fp == stdin)) {
/PHP-7.1/ext/standard/tests/streams/
H A Dbug72853.phpt13 0 => array('pipe', 'r'), // stdin
H A Dproc_open_bug51800.phpt31 0 => array("pipe", "rb"), // 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 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 Dproc_open_bug69900.phpt13 $in = fopen("php://stdin", "rb", false, stream_context_create(array("pipe" => array("blocking" => t…
H A Dbug60602.phpt7 0 => array('pipe', 'r'), // stdin
H A Dbug61019.phpt9 0 => array("pipe", "r"), // stdin is a pipe that the child will read from
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
/PHP-7.1/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-7.1/ext/standard/
H A Dphp_fopen_wrapper.c262 file = stdin; in php_stream_url_wrap_php()
/PHP-7.1/ext/phar/tests/zip/
H A Dbzip2.phpt30 $a->addFile('', null, 'stdin');
31 $a->writeZip(dirname(__FILE__) . '/stdin.zip');

Completed in 91 milliseconds

12