/PHP-8.3/sapi/fuzzer/ |
H A D | generate_corpus_util.php | 15 $code = $matches[1]; 16 if (strlen($code) > $maxLen) continue; 21 file_put_contents($corpusDir . '/' . $outFile, $code);
|
/PHP-8.3/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 92 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 D | DOMDocument_createAttribute_error.phpt | 13 $code = $e->getCode(); 14 if(DOM_INVALID_CHARACTER_ERR === $code) { 18 echo 'Wrong exception code';
|
/PHP-8.3/sapi/cli/tests/ |
H A D | 011.phpt | 13 $code = ' 27 file_put_contents($filename, $code); 32 $code = ' 42 file_put_contents($filename, $code);
|
/PHP-8.3/Zend/tests/ |
H A D | bug35655.phpt | 12 $code = ' 19 highlight_string($code); 22 <pre><code style="color: #000000"> 28 </span><span style="color: #0000BB">?></span></code></pre>
|
H A D | nowdoc_013.phpt | 12 $code = <<<'EOF' 20 highlight_string($code); 23 <pre><code style="color: #000000"><span style="color: #0000BB"><?php 28 </span><span style="color: #0000BB">?></span></code></pre>
|
H A D | bug75252.phpt | 6 $code = <<<'CODE' 14 eval($code); 20 eval($code);
|
/PHP-8.3/Zend/ |
H A D | zend_vm_gen.php | 788 $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 D | bug75063_utf8.phpt | 31 $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 D | bug75063_cp1251.phpt | 33 $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 D | bug61315.phpt | 48 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 D | rename_variation13-win32.phpt | 68 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 D | bug69442.phpt | 6 $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 D | 002.phpt | 31 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 D | stdin_001.phpt | 16 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 D | bug76437.phpt | 12 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 D | token_get_all_variation18.phpt | 2 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 D | utils.inc | 3 function ffi_cdef($code, $lib) 6 return FFI::cdef($code, $lib); 8 return FFI::cdef($code);
|
/PHP-8.3/tests/strings/ |
H A D | 004.phpt | 16 …code style="color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="… 17 …code style="color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="…
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | weak_include_strict.phpt | 2 strict_types=0 code including strict_types=1 code 6 // implicitly weak code
|
/PHP-8.3/sapi/cgi/tests/ |
H A D | 006.phpt | 16 $code = ' 30 file_put_contents($filename, $code); 35 $code = ' 45 file_put_contents($filename, $code);
|
/PHP-8.3/ext/standard/ |
H A D | pack.c | 258 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 D | action.yml | 11 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 D | observer_eval_01.phpt | 17 <!-- 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 D | gd_gif_in.c | 434 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 …]
|