Home
last modified time | relevance | path

Searched refs:code (Results 151 – 175 of 790) sorted by last modified time

12345678910>>...32

/php-src/ext/opcache/tests/jit/
H A Dassign_dim_014.phpt9 set_error_handler(function($code, $err) {
H A Dassign_dim_015.phpt9 set_error_handler(function($code, $msg) use (&$my_var) {
/php-src/ext/pdo_mysql/tests/inc/
H A Dmysql_pdo_test.inc97 integers should be returned. However, this code needs to work
/php-src/ext/pdo_dblib/tests/
H A Dtimeout.phpt27 // expect some kind of error code
41 // expect some kind of error code
53 // expect some kind of error code
65 // expect some kind of error code
/php-src/sapi/fpm/tests/
H A Dfcgi-env-pif-apache-pp-sn-strip-encoded-plus.phpt23 $code = <<<EOT
32 $tester = new FPM\Tester($cfg, $code);
H A Dgh12385.phpt21 $code = <<<PHP
28 $tester = new FPM\Tester($cfg, $code);
/php-src/sapi/cli/tests/
H A Dphp_cli_server_013.phpt135 </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/</code> was not found o…
145 </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/main/style.css</code> w…
/php-src/
H A DCONTRIBUTING.md9 PHP or PECL code, tests or documentation. Once you've followed this guide and
21 * [PHP source code directory structure](#php-source-code-directory-structure)
58 and build PHP source code. We recommend to look at our
81 can be found in the [EXTENSIONS](/EXTENSIONS) file in the PHP source code
93 provide a good starting point for learning about the fundamentals of the code
154 ## PHP source code directory structure
156 PHP source code also includes several files generated during development and
340 of the code you want to contribute to.
351 `--enable-zts` switch to ensure your code handles TSRM correctly and doesn't
434 New source code files should include the following header block:
H A DLICENSE10 1. Redistributions of source code must retain the above copyright
31 Once covered code has been published under a particular version
33 of that version. You may also choose to use such covered code
36 the right to modify the terms applicable to covered code created
/php-src/ext/mbstring/tests/
H A Dgb18030_2022_encoding.phpt257 // Test one random 4-byte code for each range used for Unicode codepoints in BMP
H A Dencoding_tests.inc3 // Common code for tests which focus on conversion and verification of text
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c294 Instruction*code; member
512 #define pcRel(pc,p)(cast(int,(pc)-(p)->code)-1)
896 f->code=NULL;
1153 L->savedpc=p->code;
3009 previous=&fs->f->code[fs->pc-1];
3039 Instruction*jmp=&fs->f->code[pc];
3050 int offset=GETARG_sBx(fs->f->code[pc]);
3057 Instruction*pi=&fs->f->code[pc];
3633 f->code[fs->pc]=i;
4037 SETARG_B(fs->f->code[pc],luaO_int2fb(cc.na));
[all …]
H A Ddasm_ppc.lua1519 local code = loadstring(s, "")
1520 if code then setfenv(code, parse_ctx) end
1521 return code
1530 local code = loadenv("return "..n)
1531 if code then
1532 local ok, y = pcall(code)
H A Ddasm_arm64.lua301 local code = loadstring(s, "")
302 if code then setfenv(code, parse_ctx) end
303 return code
312 local code = loadenv("return "..n)
313 if code then
314 local ok, y = pcall(code)
/php-src/ext/intl/converter/
H A Dconverter.c443 name = ucnv_getName(cnv, &objval->error.code); in php_converter_do_get_encoding()
444 if (U_FAILURE(objval->error.code)) { in php_converter_do_get_encoding()
445 THROW_UFAILURE(objval, "ucnv_getName()", objval->error.code); in php_converter_do_get_encoding()
481 if (U_FAILURE(objval->error.code)) { in php_converter_do_get_type()
482 THROW_UFAILURE(objval, "ucnv_getType", objval->error.code); in php_converter_do_get_type()
/php-src/sapi/phpdbg/
H A Dphpdbg_prompt.c205 char *code; member
231 free(state->code); in phpdbg_line_init()
232 state->code = NULL; in phpdbg_line_init()
242 state->code = realloc(state->code, state->code_len + cmd_len + 1); in phpdbg_line_init()
245 if (state->code) { in phpdbg_line_init()
301 if (state.code) { in phpdbg_string_init()
302 free(state.code); in phpdbg_string_init()
322 if (state.code) { in phpdbg_try_file_init()
323 free(state.code); in phpdbg_try_file_init()
458 smart_str code = {0}; in PHPDBG_COMMAND() local
[all …]
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c115 SQLINTEGER code; in pdo_odbc_error() local
116 rc = SQLGetDiagRec(htype, eh, recno++, discard_state, &code, in pdo_odbc_error()
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.h79 #define IR_GP_REG_ENUM(code, name64, name32) \ argument
80 IR_REG_ ## code,
82 #define IR_FP_REG_ENUM(code, name64, name32, name16, name8) \ argument
83 IR_REG_ ## code,
H A Dir_x86.h74 #define IR_GP_REG_ENUM(code, name64, name32, name16, name8, name8h) \ argument
75 IR_REG_ ## code,
77 #define IR_FP_REG_ENUM(code, name) \ argument
78 IR_REG_ ## code,
/php-src/ext/xml/
H A Dcompat.c685 XML_ErrorString(int code) in XML_ErrorString() argument
687 if (code < 0 || code >= (int)(sizeof(error_mapping) / sizeof(error_mapping[0]))) { in XML_ErrorString()
690 return error_mapping[code]; in XML_ErrorString()
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_closecursor.phpt159 …active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going …
164 …active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going …
170 …active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going …
175 …active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going …
H A Dpdo_mysql_pconnect.phpt58 printf("[004] Wrong error code %s\n", $db1->errorCode());
H A Dpdo_mysql_errorinfo.phpt20 $code = $info[0];
22 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
23 printf("[%03d] Expecting error code '%s' got code '%s'\n",
24 $offset, $expected, $code);
29 printf("[%03d] Driver-specific error code not set\n", $offset);
43 PDOStatement->errorCode() to return the error code for an
46 $code = $db->errorCode();
76 // lets hope this is an invalid attribute code
108 [015] Driver-specific error code not set
110 [016] Driver-specific error code not set
H A Dpdo_mysql_attr_errmode.phpt42 $code = $db->errorCode();
45 if ($code != '42000')
46 printf("[005] Expecting SQL code 42000 got '%s'\n", $code);
47 if ($code !== $info[0])
49 $code, $info[0]);
58 $code = $db->errorCode();
61 if ($code != '42000')
62 printf("[009] Expecting SQL code 42000 got '%s'\n", $code);
63 if ($code !== $info[0])
80 printf("[013] Expecting SQL code 42000 got '%s'\n", $code);
[all …]
H A Dpdo_mysql___construct.phpt15 function tryandcatch($offset, $code) {
17 eval($code);

Completed in 88 milliseconds

12345678910>>...32