Home
last modified time | relevance | path

Searched refs:code (Results 51 – 75 of 796) sorted by relevance

12345678910>>...32

/PHP-8.3/sapi/fuzzer/
H A Dgenerate_corpus_util.php15 $code = $matches[1];
16 if (strlen($code) > $maxLen) continue;
21 file_put_contents($corpusDir . '/' . $outFile, $code);
/PHP-8.3/ext/openssl/tests/
H A DServerClientTestCase.inc92 private function spawnWorkerProcess($worker, $code)
120 fwrite($this->workerStdIn[$worker], $code . "\n---\n");
130 private function stripPhpTagsFromCode($code)
132 return preg_replace('/^\s*<\?(?:php)?|\?>\s*$/i', '', $code);
137 $code = '';
146 $code .= $line;
149 eval($code);
157 foreach ($workerCode as $worker => $code) {
158 $this->spawnWorkerProcess($worker, $this->stripPhpTagsFromCode($code));
161 foreach ($workerCode as $worker => $code) {
/PHP-8.3/ext/dom/tests/
H A DDOMDocument_createAttribute_error.phpt13 $code = $e->getCode();
14 if(DOM_INVALID_CHARACTER_ERR === $code) {
18 echo 'Wrong exception code';
/PHP-8.3/sapi/cli/tests/
H A D011.phpt13 $code = '
27 file_put_contents($filename, $code);
32 $code = '
42 file_put_contents($filename, $code);
/PHP-8.3/Zend/tests/
H A Dbug35655.phpt12 $code = '
19 highlight_string($code);
22 <pre><code style="color: #000000">
28 </span><span style="color: #0000BB">?&gt;</span></code></pre>
H A Dnowdoc_013.phpt12 $code = <<<'EOF'
20 highlight_string($code);
23 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
28 </span><span style="color: #0000BB">?&gt;</span></code></pre>
H A Dbug75252.phpt6 $code = <<<'CODE'
14 eval($code);
20 eval($code);
/PHP-8.3/Zend/
H A Dzend_vm_gen.php788 $code = "{\n\tfprintf(stderr, \"$name\\n\");\n" . substr($code, 1);
826 $code);
860 $code);
884 $code);
908 $code);
913 $code = preg_replace('/^\s*;\s*$/m', '', $code);
916 $code = preg_replace('/[ \t]+\n/m', "\n", $code);
918 out($f, $code);
1057 $code =
1067 $code =
[all …]
/PHP-8.3/ext/standard/tests/file/windows_mb_path/
H A Dbug75063_utf8.phpt31 $code = <<<CODE
47 $code_fn = "code.php";
48 file_put_contents($code_fn, $code);
50 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -nf code.php"));
75 string(8) "code.php"
H A Dbug75063_cp1251.phpt33 $code = <<<CODE
49 $code_fn = "code.php";
50 file_put_contents($code_fn, $code);
52 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -n -d default_charset=cp1251 -f code.php…
74 string(8) "code.php"
H A Dbug61315.phpt48 Active code page: 65001
53 Active code page: %d
54 Active code page: 65001
59 Active code page: %d
/PHP-8.3/ext/standard/tests/file/
H A Drename_variation13-win32.phpt68 Warning: rename(-1,%safile.tmp): The system cannot find the file specified (code: 2) in %srename_va…
73 Warning: rename(1,%safile.tmp): The system cannot find the file specified (code: 2) in %srename_var…
77 …|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srena…
80 …|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srena…
84 …|(The parameter is incorrect|The system cannot find the path specified) \(code: \d+\))%r in %srena…
91 Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) …
94 Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) …
98 Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find the path specified (code: 3)…
101 Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find the path specified (code: 3)…
105 Warning: rename(%safile.tmp,php/php): The system cannot find the path specified (code: 3) in %srena…
[all …]
H A Dbug69442.phpt6 $code = <<< 'EOC'
14 file_put_contents($tmpFile, $code);
25 $cmd = '(echo "foo" ; exit 42;) 3>/dev/null; code=$?; echo $code >&3; exit $code';
/PHP-8.3/ext/pcntl/tests/
H A D002.phpt31 echo "code === SI_USER || SI_NOINFO\n";
33 var_dump(($siginfo['code'] === SI_USER) || ($siginfo['code'] === SI_NOINFO));
35 var_dump($siginfo['code'] === SI_USER);
43 echo "code === CLD_KILLED\n";
44 var_dump($siginfo['code'] === CLD_KILLED);
85 code === SI_USER || SI_NOINFO
89 code === CLD_KILLED
/PHP-8.3/sapi/phpdbg/tests/
H A Dstdin_001.phpt16 prompt> [Breakpoint #0 added at Standard input code:3]
17 prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
22 prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
/PHP-8.3/ext/tokenizer/tests/
H A Dbug76437.phpt12 foreach ($tests as [$code, $index]) {
13 $open_tag1 = token_get_all($code)[$index];
14 $open_tag2 = token_get_all($code, TOKEN_PARSE)[$index];
H A Dtoken_get_all_variation18.phpt2 Test token_get_all() function : usage variations - with HTML code
8 * Testing token_get_all() with source string containing HTML code with PHP
22 echo "php code with HTML";
89 string(20) ""php code with HTML""
/PHP-8.3/ext/ffi/tests/
H A Dutils.inc3 function ffi_cdef($code, $lib)
6 return FFI::cdef($code, $lib);
8 return FFI::cdef($code);
/PHP-8.3/tests/strings/
H A D004.phpt16code style="color: #000000">&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="…
17code style="color: #000000">&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="…
/PHP-8.3/Zend/tests/type_declarations/
H A Dweak_include_strict.phpt2 strict_types=0 code including strict_types=1 code
6 // implicitly weak code
/PHP-8.3/sapi/cgi/tests/
H A D006.phpt16 $code = '
30 file_put_contents($filename, $code);
35 $code = '
45 file_put_contents($filename, $code);
/PHP-8.3/ext/standard/
H A Dpack.c258 char code = format[i++]; in PHP_FUNCTION() local
279 switch ((int) code) { in PHP_FUNCTION()
311 if (code == 'Z') { in PHP_FUNCTION()
388 switch ((int) code) { in PHP_FUNCTION()
471 switch ((int) code) { in PHP_FUNCTION()
545 if (code == 'n') { in PHP_FUNCTION()
547 } else if (code == 'v') { in PHP_FUNCTION()
572 if (code == 'N') { in PHP_FUNCTION()
574 } else if (code == 'V') { in PHP_FUNCTION()
592 if (code == 'J') { in PHP_FUNCTION()
[all …]
/PHP-8.3/.github/actions/brew/
H A Daction.yml11 code=" keg.link\(verbose: verbose\?"
12 sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
/PHP-8.3/ext/zend_test/tests/
H A Dobserver_eval_01.phpt17 <!-- init '%s%eobserver_eval_%d.php(%d) : eval()'d code' -->
18 <file '%s%eobserver_eval_%d.php(%d) : eval()'d code'>
19 </file '%s%eobserver_eval_%d.php(%d) : eval()'d code'>
/PHP-8.3/ext/gd/libgd/
H A Dgd_gif_in.c434 int code, incode, i; in LWZReadByte_() local
471 if (code == sd->clear_code) { in LWZReadByte_()
485 } else if (code == sd->end_code) { in LWZReadByte_()
499 incode = code; in LWZReadByte_()
506 if (code >= sd->max_code) { in LWZReadByte_()
508 code = sd->oldcode; in LWZReadByte_()
511 while (code >= sd->clear_code) { in LWZReadByte_()
516 *sd->sp++ = sd->table[1][code]; in LWZReadByte_()
517 if (code == sd->table[0][code]) { in LWZReadByte_()
520 code = sd->table[0][code]; in LWZReadByte_()
[all …]

Completed in 62 milliseconds

12345678910>>...32