Home
last modified time | relevance | path

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

12345678910>>...32

/php-src/Zend/
H A Dzend_exceptions.stub.php37 protected $code = 0; // TODO add proper type (i.e. int|string) variable in Exception
45 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument
74 int $code = 0, argument
96 protected $code = 0; // TODO add proper type (i.e. int|string) variable in Error
106 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument
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 =
1068 $code =
[all …]
/php-src/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-src/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-src/ext/dom/lexbor/lexbor/dom/
H A Dexception.h52 lxb_dom_exception_code_t code) in lxb_dom_exception_code_ref_set() argument
55 *var = code; in lxb_dom_exception_code_ref_set()
66 lxb_dom_exception_code_t code);
H A Dexception.c15 lxb_dom_exception_code_t code) in lxb_dom_exception_code_ref_set_noi() argument
17 return lxb_dom_exception_code_ref_set(var, code); in lxb_dom_exception_code_ref_set_noi()
/php-src/sapi/cli/tests/
H A D011.phpt13 $code = '
27 file_put_contents($filename, $code);
32 $code = '
42 file_put_contents($filename, $code);
/php-src/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-src/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-src/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-src/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);
26 $cmd = '(echo "foo" ; exit 42;) 3>/dev/null; code=$?; echo $code >&3; exit $code';
/php-src/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-src/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-src/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-src/ext/ffi/tests/
H A Dutils.inc3 function ffi_cdef($code, $lib)
6 return FFI::cdef($code, $lib);
8 return FFI::cdef($code);
/php-src/Zend/tests/type_declarations/
H A Dweak_include_strict.phpt2 strict_types=0 code including strict_types=1 code
6 // implicitly weak code
/php-src/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-src/sapi/cgi/tests/
H A D006.phpt16 $code = '
30 file_put_contents($filename, $code);
35 $code = '
45 file_put_contents($filename, $code);
/php-src/.github/actions/brew/
H A Daction.yml11 code=" keg.link\(verbose: verbose\?"
12 sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"

Completed in 52 milliseconds

12345678910>>...32