Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/php-src/ext/standard/
H A Dcrypt.c94 char *output; in php_crypt() local
100 efree(output); in php_crypt()
103 result = zend_string_init(output, strlen(output), 0); in php_crypt()
105 efree(output); in php_crypt()
109 char *output; in php_crypt() local
115 efree(output); in php_crypt()
118 result = zend_string_init(output, strlen(output), 0); in php_crypt()
120 efree(output); in php_crypt()
128 char output[PHP_MAX_SALT_LEN + 1]; in php_crypt() local
132 crypt_res = php_crypt_blowfish_rn(password, salt, output, sizeof(output)); in php_crypt()
[all …]
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-64.macros1112 output[ 0] = X##ba; \
1118 output[ 3] = X##bo; \
1120 output[ 4] = X##bu; \
1122 output[ 5] = X##ga; \
1124 output[ 6] = X##ge; \
1223 #define output(X, output, laneCount) \
1370 output[index] = X##name;
1557 output[12]= X##ki; \
1644 #define output(X, output, laneCount) \
1791 output[index] = X##name;
[all …]
/php-src/tests/output/
H A Dob_start_basic_004.phpt8 * Function is implemented in main/output.c
36 ----( chunk_size: -1, output append size: 1 )----
39 ----( chunk_size: 0, output append size: 1 )----
42 ----( chunk_size: 1, output append size: 1 )----
53 ----( chunk_size: 2, output append size: 1 )----
60 ----( chunk_size: 3, output append size: 1 )----
65 ----( chunk_size: 4, output append size: 1 )----
70 ----( chunk_size: 5, output append size: 1 )----
74 ----( chunk_size: 6, output append size: 1 )----
78 ----( chunk_size: 7, output append size: 1 )----
[all …]
H A Dob_020.phpt2 output buffering - ob_list_handlers
25 [0] => default output handler
29 [0] => default output handler
30 [1] => default output handler
34 [0] => default output handler
H A Dob_get_length_basic_001.phpt6 * Function is implemented in main/output.c
9 echo "No output buffers\n";
24 echo "No output buffers\n";
28 No output buffers
35 No output buffers
H A Dob_start_basic_002.phpt18 return "I stole your output.";
25 // Use each of the above functions as an output buffering callback:
32 echo 'My output.';
43 My output.
49 I stole your output.
/php-src/ext/phar/tests/files/
H A Dpear2coverage.phar110 if (!$output->openUri('php://output')) {
132 $output->endElement();
234 $output->text("\n ");
250 $output->text("\n ");
252 $output->text("\n ");
258 $output->text("\n ");
260 $output->text("\n ");
303 $output->text("\n ");
313 if (!$output->openUri('php://output')) {
387 if (!$output->openUri('php://output')) {
[all …]
/php-src/docs-old/
H A Doutput-api.md1 # API adjustment to the old output control code
4 for every output handler op.
6 Checking output control layers status:
10 Starting the default output handler:
33 Flushing one output buffer:
37 Flushing all output buffers:
41 Cleaning one output buffer:
45 Cleaning all output buffers:
49 Discarding one output buffer:
53 Discarding all output buffers:
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dob_start_closures.phpt2 Test ob_start() function : closures as output handlers
7 echo "*** Testing ob_start() : closures as output handlers ***\n";
9 ob_start(function ($output) {
10 return 'Output (1): ' . $output;
13 ob_start(function ($output) {
14 return 'Output (2): ' . $output;
31 *** Testing ob_start() : closures as output handlers ***
/php-src/ext/dom/tests/
H A Dgh11906.phpt20 echo "--- document output ---\n";
22 echo "--- \$test output ---\n";
25 echo "--- document output ---\n";
27 echo "--- \$test output ---\n";
32 --- document output ---
37 --- $test output ---
39 --- document output ---
44 --- $test output ---
H A DDOMNode_C14NFile_basic.phpt21 $output = __DIR__.'/DOMNode_C14NFile_basic.tmp';
25 var_dump($node->C14NFile($output));
26 $content = file_get_contents($output);
29 var_dump($node->C14NFile($output, false, false, []));
34 var_dump($node->C14NFile($output, false, false, ['query' => []]));
41 $output = __DIR__.'/DOMNode_C14NFile_basic.tmp';
42 unlink($output);
/php-src/ext/openssl/tests/
H A Dopenssl_pkcs12_export_basic.phpt20 var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass)); // read certs as a string
21 var_dump(openssl_pkcs12_read($output, $opts, $pass));
22 var_dump(openssl_pkcs12_export($cert_path, $output, $priv_path, $pass)); // read certs from a filen…
23 var_dump(openssl_pkcs12_read($output, $opts, $pass));
24 var_dump(openssl_pkcs12_export($cert_res, $output, $priv_res, $pass)); // read certs from a resource
25 var_dump(openssl_pkcs12_read($output, $opts, $pass));
27 var_dump(openssl_pkcs12_read($output, $opts, $pass));
31 var_dump(openssl_pkcs12_export($invalid, $output, $invalid, $pass));
32 var_dump(openssl_pkcs12_export($invalid_path, $output, $invalid_path, $pass));
34 var_dump(openssl_pkcs12_export($priv_res, $output, $cert_res, $pass));
[all …]
H A Dopenssl_decrypt_basic.phpt17 $output = openssl_decrypt($encrypted, $method, $password, 0, $iv);
18 var_dump($output);
20 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA, $iv);
21 var_dump($output);
25 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $i…
26 var_dump(rtrim($output));
29 var_dump($output2 === $output);
31 var_dump($output3 === $output);
36 $output = openssl_decrypt($encrypted, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY);
37 var_dump($output === $data);
/php-src/Zend/tests/
H A Dbug80811.phpt2 Bug #80811: Function exec without $output but with $result_code parameter crashes
7 exec('echo Something', output: $output, result_code: $resultCode);
10 echo 'Executing without output param:' . PHP_EOL;
18 Executing without output param:
/php-src/ext/standard/tests/http/
H A Dserver.inc10 function http_server_init(&$output = null) {
18 if ($output === null) {
19 $output = tmpfile();
20 if ($output === false) {
43 * $output is a stream on which everything sent by clients is written to
45 function http_server($files, &$output = null) {
47 if (!is_resource($server = http_server_init($output))) {
74 fwrite($output, "\r\n");
77 fwrite($output, "$line\r\n");
89 stream_copy_to_stream($sock, $output, $content_length);
[all …]
/php-src/ext/mbstring/tests/
H A Dhtmlent.phpt2 HTML input/output
21 // enable output encoding through output handler
23 // &#64... are must be decoded on input these are not reencoded on output.
24 // If you see @AB on output this means input encoding fails.
25 // If you do not see ä... on output this means output encoding fails.
/php-src/benchmark/
H A Dgenerate_diff.php26 $output = "| Benchmark | Base ($baseCommitHashShort) | Head ($headCommitHashShort) | Diff |\n";
27 $output .= "|---|---|---|---|\n";
34 $output .= "| $name | "
39 return $output;
65 $output = main($headCommitHash, $baseCommitHash); variable
66 fwrite(STDOUT, $output);
/php-src/sapi/cli/tests/
H A Dphp_cli_server_013.phpt12 $output = '';
27 $output .= fgets($fp);
35 $output = '';
46 $output .= fgets($fp);
53 $output = '';
64 $output .= fgets($fp);
71 $output = '';
82 $output .= fgets($fp);
89 $output = '';
100 $output .= fgets($fp);
[all …]
H A Dbug78323.phpt20 $output = ob_get_contents();
23 $lines = preg_split('/\R/', $output);
32 $output = ob_get_contents();
35 $lines = preg_split('/\R/', $output);
44 $output = ob_get_contents();
47 $lines = preg_split('/\R/', $output);
56 $output = ob_get_contents();
59 $lines = preg_split('/\R/', $output);
/php-src/sapi/fpm/tests/
H A Dlog-suppress-output.phpt18 $tester->expectAccessLog("'GET /log-suppress-output.src.php' 200", suppressable: true);
24 $tester->expectAccessLog("'GET /log-suppress-output.src.php' 200", suppressable: true);
29 $tester->request(query: 'test=output')->expectBody('output');
30 …$tester->expectAccessLog("'GET /log-suppress-output.src.php?test=output' 200", suppressable: false…
36 $tester->expectAccessLog("'GET /log-suppress-output.src.php' 200", suppressable: true);
38 $tester->request(query: 'test=output', uri: '/ping')->expectBody('pong', 'text/plain');
39 $tester->expectAccessLog("'GET /ping?test=output' 200", suppressable: false);
45 $tester->expectAccessLog("'GET /log-suppress-output.src.php' 200", suppressable: true);
47 $tester->request(query: 'test=output', uri: '/ping')->expectBody('pong', 'text/plain');
48 $tester->expectAccessLog("'GET /ping?test=output' 200", suppressable: false);
[all …]
/php-src/sapi/phpdbg/
H A Dcreate-test.php66 $input = $output = ""; variable
89 $output .= $c = fgetc($pipes[1]);
114 $output = str_replace("string(".strlen($file).") \"$file\"", 'string(%d) "%s"', $output); variable
115 $output = str_replace($file, "%s", $output); variable
124 $output
/php-src/ext/com_dotnet/tests/
H A Dbug77578.phpt15 exec("$php -r \"$script\"", $output);
16 var_dump(isset($output[0]));
17 $loaded = $output[0] === "yes";
18 $output = null;
31 exec($command, $output, $status);
32 var_dump($output, $status);
/php-src/ext/xmlwriter/tests/
H A Dxmlwriter_write_dtd_basic_001.phpt10 $output = xmlwriter_flush($xmlwriter, true);
11 print $output . PHP_EOL;
14 $output = xmlwriter_flush($xmlwriter, true);
15 print $output;
/php-src/ext/standard/tests/array/sort/
H A Dshuffle_variation2.phpt26 echo "\nThe output array is:\n";
36 echo "\nThe output array is:\n";
47 The output array is:
119 The output array is:
132 The output array is:
145 The output array is:
158 The output array is:
171 The output array is:
184 The output array is:
197 The output array is:
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_02.phpt15 var_dump($output = $dom->saveHtml());
18 var_dump($output[4094] == "\x90");
19 var_dump($output[4095] == "\x30");
20 var_dump($output[4096] == "\xd5");
21 var_dump($output[4097] == "\x30");

Completed in 45 milliseconds

12345678910>>...24