Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 61) sorted by relevance

123

/php-src/benchmark/
H A Dshared.php4 public $stdout; variable in ProcessResult
17 $stdout = $pipes[1];
22 stream_set_blocking($stdout, false);
29 $read = [$stdout, $stderr];
37 if ($stream === $stdout) {
38 $result->stdout .= $chunk;
44 $stdoutEof = $stdoutEof || feof($stdout);
48 fclose($stdout);
53 fwrite(STDOUT, $result->stdout);
/php-src/ext/standard/tests/filters/
H A Dbug81475.phpt5 $stdout = fopen('php://stdout', 'wb');
6 stream_filter_append($stdout, 'string.toupper');
7 var_dump(stream_isatty($stdout));
/php-src/ext/standard/tests/streams/
H A Dproc_open_bug51800_right.phpt16 $stdout = "";
22 1 => array("pipe", "wb"), // stdout
50 $stdout .= fread($pipes[1], 1024);
61 "stdout" => $stdout,
63 ), strlen($stdout), strlen($stderr));
75 ["stdout"]=>
H A Dproc_open_bug51800_right2.phpt10 $stdout = "";
16 1 => array("pipe", "wb"), // stdout
50 $stdout .= fread($pipes[1], 1024);
61 "stdout" => $stdout,
63 ), strlen($stdout), strlen($stderr));
75 ["stdout"]=>
H A Dbug64770.phpt8 1 => array('pipe', 'w'), // stdout
/php-src/sapi/cli/tests/
H A Dgh8827-002.phpt16 $stdout = fopen('php://stdout', 'r');
19 ob_start(function ($buffer) use ($stdout) {
20 fwrite($stdout, $buffer);
33 var_dump(@fopen('php://stdout', 'a'));
H A Dgh8827-001.phpt24 // not printed if stdout is closed
25 var_dump(@fopen('php://stdout', 'a'));
H A Dstd_streams.phpt22 var_dump(ftell(fopen("php://stdout", "w")));
/php-src/ext/ffi/tests/
H A Dtrampoline_reset.phpt27 extern FILE *stdout;
35 $ffi->fprintf($ffi->stdout, "FFI\n");
36 $ffi->fflush($ffi->stdout);
H A Dbug77706.phpt19 extern FILE *stdout;
46 $ffi->fprintf($ffi->stdout);
52 $ffi->fprintf($ffi->stdout, 123, "Hello %s\n", "World");
/php-src/sapi/embed/
H A Dphp_embed.c45 fflush(stdout); in php_embed_deactivate()
66 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write()
95 if (fflush(stdout)==EOF) { in php_embed_flush()
198 _setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/php-src/sapi/fpm/tests/
H A Dlog-bwd-multiple-msgs-stdout-stderr.phpt2 FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed)
27 file_put_contents('php://stdout', "msg 1 - ");
/php-src/ext/gd/tests/
H A Dbug39082.phpt2 Bug #39082 (Output image to stdout segfaults).
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddynasm.lua55 local stdin, stdout, stderr = io.stdin, io.stdout, io.stderr
655 local out = stdout
914 fout = stdout
923 assert(fout == stdout or fout:close())
926 dumpdef(fout == stdout and stderr or stdout)
974 stdout:write("DynASM -- ", _info.description, ".\n")
975 stdout:write("DynASM ", _info.version, " ", _info.release, " ", _info.url, "\n")
976 stdout:write[[
1005 stdout:write(format("%s version %s, released %s\n%s\n\n%s",
1072 if g_opt.dumpdef > 0 then return dumpdef(stdout) end
/php-src/ext/standard/tests/file/
H A Dbug45303.phpt5 $fd = fopen("php://stdout","a");
/php-src/ext/standard/tests/general_functions/
H A Dproc_open_redirect.phpt49 echo "\nWith inherited stdout:\n";
80 With inherited stdout:
H A Dgh12655.phpt8 1 => [ "pipe", "w" ], // stdout is a pipe that the child will write to
/php-src/ext/zlib/tests/
H A Dzlib_filter_inflate.phpt9 $fp = fopen('php://stdout', 'w');
H A Dzlib_filter_deflate.phpt9 $fp = fopen('php://stdout', 'w');
H A Dzlib_filter_deflate2.phpt9 $fp = fopen('php://stdout', 'w');
/php-src/ext/bz2/tests/
H A Dbz2_filter_compress.phpt9 $fp = fopen('php://stdout', 'w');
H A Dbz2_filter_decompress.phpt9 $fp = fopen('php://stdout', 'w');
/php-src/sapi/cli/
H A Dphp_cli.c255 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
256 if (ret == 0 && ferror(stdout)) { in sapi_cli_single_write()
305 if (fflush(stdout)==EOF && errno!=EBADF) { in sapi_cli_flush()
361 fflush(stdout); in sapi_cli_deactivate()
852 fflush(stdout); in do_cli()
856 fprintf(stdout, "Executing for the first time...\n"); in do_cli()
857 fflush(stdout); in do_cli()
1122 fprintf(stdout, "Finished execution, repeating...\n"); in do_cli()
1123 fflush(stdout); in do_cli()
1217 _setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/php-src/sapi/phpdbg/
H A Dtest.php6 $stdout = fopen("php://stdout", "w+"); variable
/php-src/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt80 list($stdin, $stdout, $stderr) = $pipes;
92 fclose($stdout);

Completed in 28 milliseconds

123