/php-src/Zend/Optimizer/ |
H A D | pass3.c | 177 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 184 target->result.var == opline->result.var && in zend_optimizer_pass3() 185 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 192 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 198 target->result.var == opline->result.var && in zend_optimizer_pass3() 199 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 205 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 218 opline->result.var = target->result.var; in zend_optimizer_pass3()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | encoding.h | 27 lexbor_array_obj_t result; member 62 lexbor_array_obj_clean(&em->result); in lxb_html_encoding_clean() 68 return (lxb_html_encoding_entry_t *) lexbor_array_obj_get(&em->result, idx); in lxb_html_encoding_meta_entry() 74 return lexbor_array_obj_length(&em->result); in lxb_html_encoding_meta_length() 80 return &em->result; in lxb_html_encoding_meta_result()
|
/php-src/ext/date/tests/ |
H A D | bug50392.phpt | 12 $result = date_parse_from_format('Y-m-d H:i:s.u', $string); 13 echo $result['fraction'] ? $result['fraction'] : 'X', "\n"; 14 foreach( $result['errors'] as $error ) {
|
H A D | bug33415-2.phpt | 204 result=Thursday 1987-10-01 00:30:00 +06 0 227 result=Sunday 1970-01-04 00:00:00 +07 0 238 result=Tuesday 1970-01-06 00:00:00 +10 0 244 result=Monday 1970-01-05 00:00:00 +11 0 249 result=Sunday 1981-03-29 02:00:00 +00 1 254 result=Tuesday 1977-11-01 00:00:00 +04 0 260 result=Monday 1970-01-05 00:00:00 +12 0 265 result=Friday 1972-01-07 00:44:30 GMT 0 304 result=Tuesday 1970-01-06 00:00:00 +12 0 310 result=Tuesday 1970-01-06 00:00:00 +12 0 [all …]
|
/php-src/ext/dba/ |
H A D | dba_inifile.c | 150 char *result = inifile_key_string(&dba->curr.key); in DBA_FIRSTKEY_FUNC() local 151 zend_string *key = zend_string_init(result, strlen(result), /* persistent */ false); in DBA_FIRSTKEY_FUNC() 152 efree(result); in DBA_FIRSTKEY_FUNC() 168 char *result = inifile_key_string(&dba->curr.key); in DBA_NEXTKEY_FUNC() local 169 zend_string *key = zend_string_init(result, strlen(result), /* persistent */ false); in DBA_NEXTKEY_FUNC() 170 efree(result); in DBA_NEXTKEY_FUNC()
|
/php-src/ext/intl/tests/ |
H A D | normalizer_get_raw_decomposition.phpt | 17 $result = ''; 33 $result .= "---------------------\n"; 36 $result .= "'$string_hex' has no decomposition mapping\n" ; 38 … $result .= "'$string_hex' has the decomposition mapping '" . bin2hex($decomposition) . "'\n" ; 40 $result .= "error info: '$error_message' ($error_code)\n"; 43 return $result;
|
/php-src/ext/sqlite3/tests/ |
H A D | bug77051.phpt | 22 echo "Statement result\n"; 31 echo "Statement result\n"; 42 echo "Statement result\n"; 50 Statement result 63 Statement result 76 Statement result
|
/php-src/ext/mysqli/tests/transactions/ |
H A D | 015.phpt | 29 $result = mysqli_query($link, "SELECT SQL_NO_CACHE * FROM test_transactions_15"); 30 $row = mysqli_fetch_row($result); 31 mysqli_free_result($result); 42 $result = mysqli_query($link, "SELECT * FROM test_transactions_15"); 43 $row = mysqli_fetch_row($result); 44 mysqli_free_result($result);
|
/php-src/ext/ldap/tests/ |
H A D | ldap_search_variation6.phpt | 24 $result = ldap_search(array($link, $link), $dn, $filter), 25 $result0 = ldap_get_entries($link, $result[0]), 26 ldap_get_entries($link, $result[1]) === $result0 29 $result = ldap_search(array($link, $link), "", $filter), 30 ldap_get_entries($link, $result[0]), 31 ldap_get_entries($link, $result[1]) 34 $result = ldap_search(array($link, $link), "", array($filter, $filter)), 35 ldap_get_entries($link, $result[0]), 36 ldap_get_entries($link, $result[1])
|
H A D | ldap_search_paged_result_controls.phpt | 2 ldap_search() test with paged result controls 23 $result = ldap_search($link, $dn, $filter, array('cn'), 0, 0, 0, LDAP_DEREF_NEVER, 25 ldap_get_entries($link, $result), 26 ldap_parse_result($link, $result, $errcode , $matcheddn , $errmsg , $referrals, $controls), 27 $result = ldap_search($link, $dn, $filter, array('cn'), 0, 0, 0, LDAP_DEREF_NEVER, 29 ldap_get_entries($link, $result)
|
/php-src/ext/pdo_mysql/tests/ |
H A D | gh11587.phpt | 2 GH-11587 PHP8.1: Fixed the condition for result set values to be of native type, making it compatib… 37 foreach ($results as $result) { 38 var_dump($result); 47 foreach ($results as $result) { 48 var_dump($result); 57 foreach ($results as $result) { 58 var_dump($result); 67 foreach ($results as $result) { 68 var_dump($result);
|
/php-src/Zend/ |
H A D | zend_ini_parser.y | 65 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument 100 ZVAL_LONG(result, i_result); in zend_ini_do_op() 106 static void zend_ini_init_string(zval *result) in zend_ini_init_string() argument 109 ZVAL_EMPTY_PSTRING(result); in zend_ini_init_string() 111 ZVAL_EMPTY_STRING(result); in zend_ini_init_string() 113 Z_EXTRA_P(result) = 0; in zend_ini_init_string() 118 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument 146 static void zend_ini_get_constant(zval *result, zval *name) in zend_ini_get_constant() argument 167 *result = *name; in zend_ini_get_constant() 173 static void zend_ini_get_var(zval *result, zval *name, zval *fallback) in zend_ini_get_var() argument [all …]
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_statement.c | 86 int result = 1; in pdo_firebird_stmt_dtor() local 91 result = 0; in pdo_firebird_stmt_dtor() 106 return result; in pdo_firebird_stmt_dtor() 117 char result[64]; in pdo_firebird_stmt_execute() local 158 info_count, sizeof(result), result)) { in pdo_firebird_stmt_execute() 349 result = 0; in php_firebird_fetch_blob() 364 ZVAL_STR(result, str); in php_firebird_fetch_blob() 390 ZVAL_NULL(result); in pdo_firebird_stmt_get_col() 515 int result = 1; in php_firebird_bind_blob() local 532 result = 0; in php_firebird_bind_blob() [all …]
|
/php-src/ext/zend_test/ |
H A D | object_handlers.c | 46 static void donc_add(zval *result, zval *op1, zval *op2) in donc_add() argument 61 donc_create(result, val_1 + val_2); in donc_add() 63 static void donc_mul(zval *result, zval *op1, zval *op2) in donc_mul() argument 78 donc_create(result, val_1 * val_2); in donc_mul() 81 static zend_result donc_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2) in donc_do_operation() argument 86 if (result == op1) { in donc_do_operation() 93 donc_add(result, op1, op2); in donc_do_operation() 98 donc_mul(result, op1, op2); in donc_do_operation() 144 ZVAL_COPY(result, OBJ_PROP_NUM(obj, 0)); in long_castable_no_operation_cast_object() 180 ZVAL_COPY(result, OBJ_PROP_NUM(obj, 0)); in float_castable_no_operation_cast_object() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 64 return &branch->result; in phpdbg_btree_find() 119 return &branch->result; in phpdbg_btree_find_closest() 133 phpdbg_btree_result *result = phpdbg_btree_find_closest(pos->tree, pos->cur); in phpdbg_btree_next() local 135 if (result == NULL || result->idx < pos->end) { in phpdbg_btree_next() 139 pos->cur = result->idx - 1; in phpdbg_btree_next() 141 return result; in phpdbg_btree_next() 173 (*branch)->result.idx = idx; in phpdbg_btree_insert_or_update() 174 (*branch)->result.ptr = ptr; in phpdbg_btree_insert_or_update() 253 fprintf(stderr, "%p: %p\n", (void *) branch->result.idx, branch->result.ptr); in phpdbg_btree_branch_dump()
|
/php-src/ext/pcre/tests/ |
H A D | 006.phpt | 10 $result = preg_replace(array('#\[(right)\](((?R)|[^[]+?|\[)*)\[/\\1\]#siU', '#\[(right)\](((?R)|[^[… 12 var_dump($result); 14 $result = preg_replace('#\[(right)\](((?R)|[^[]+?|\[)*)\[/\\1\]#siU', '', $text); 16 var_dump($result);
|
/php-src/ext/standard/tests/file/ |
H A D | bug75679.phpt | 14 $Report = ['strlen' => strlen ($file), 'result' => 'nok']; 19 $Report['result'] = 'ok'; 53 [result] => ok 58 [result] => ok 63 [result] => ok
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 45 …, read_metadata)(MYSQLND_RES_METADATA * const meta, MYSQLND_CONN_DATA * conn, MYSQLND_RES * result) in MYSQLND_METHOD() 53 field_packet.memory_pool = result->memory_pool; in MYSQLND_METHOD() 118 MYSQLND_METHOD(mysqlnd_res_meta, clone_metadata)(MYSQLND_RES * result, const MYSQLND_RES_METADATA *… in MYSQLND_METHOD() 128 new_meta = result->memory_pool->get_chunk(result->memory_pool, sizeof(MYSQLND_RES_METADATA)); in MYSQLND_METHOD() 135 …new_fields = result->memory_pool->get_chunk(result->memory_pool, (meta->field_count + 1) * sizeof(… in MYSQLND_METHOD() 148 new_fields[i].root = result->memory_pool->get_chunk(result->memory_pool, orig_fields[i].root_len); in MYSQLND_METHOD() 185 …new_fields[i].def = result->memory_pool->get_chunk(result->memory_pool, orig_fields[i].def_length … in MYSQLND_METHOD() 284 mysqlnd_result_meta_init(MYSQLND_RES *result, unsigned int field_count) in mysqlnd_result_meta_init() argument 290 ret = result->memory_pool->get_chunk(result->memory_pool, alloc_size); in mysqlnd_result_meta_init() 297 ret->fields = result->memory_pool->get_chunk(result->memory_pool, alloc_size); in mysqlnd_result_meta_init()
|
H A D | mysqlnd_ext_plugin.c | 61 mysqlnd_plugin__get_plugin_result_data(const MYSQLND_RES * result, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_result_data() argument 65 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_data() 68 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_data() 75 mysqlnd_plugin__get_plugin_result_unbuffered_data(const MYSQLND_RES_UNBUFFERED * result, const unsi… in mysqlnd_plugin__get_plugin_result_unbuffered_data() argument 79 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_unbuffered_data() 82 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_UNBUFFERED) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_unbuffered_data() 88 mysqlnd_plugin__get_plugin_result_buffered_data(const MYSQLND_RES_BUFFERED * result, const unsigned… in mysqlnd_plugin__get_plugin_result_buffered_data() argument 92 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_buffered_data() 95 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_BUFFERED) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_buffered_data()
|
/php-src/ext/spl/tests/SplFileObject/ |
H A D | bug52573.phpt | 6 $result = null; 8 var_dump($f->fscanf('<?php // %s', $result)); 9 var_dump($result);
|
/php-src/ext/gd/libgd/ |
H A D | gd_avif.c | 144 if (result != AVIF_RESULT_OK) { in isAvifError() 353 avifResult result; in gdImageCreateFromAvifCtx() local 380 result = avifDecoderParse(decoder); in gdImageCreateFromAvifCtx() 381 if (isAvifError(result, "Could not parse image")) in gdImageCreateFromAvifCtx() 385 result = avifDecoderNextImage(decoder); in gdImageCreateFromAvifCtx() 386 if (isAvifError(result, "Could not decode image")) in gdImageCreateFromAvifCtx() 398 result = avifImageYUVToRGB(decoder->image, &rgb); in gdImageCreateFromAvifCtx() 487 avifResult result; in gdImageAvifCtx() local 551 result = avifImageRGBToYUV(avifIm, &rgb); in gdImageAvifCtx() 572 if (isAvifError(result, "Could not encode image")) in gdImageAvifCtx() [all …]
|
/php-src/ext/soap/tests/ |
H A D | bug69137.phpt | 40 $result = $client->ResolveIP($lookup); 42 if ($result && is_object($result) && $result->ResolveIPResult && is_object($result->ResolveIPResult…
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | generate_name_perfect_hash_table.php | 17 function search_struct_in_file(array &$result, $struct_names, $file_path) argument 27 $result[$current_struct_name] = trim($name, " \n\t\""); 33 $result = []; 35 search_struct_in_file($result, $struct_names, $file); 37 return $result;
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | disconnected.phpt | 14 // Must be the opposite result 15 echo "Opposite result: "; 48 Opposite result: bool(true) 52 Opposite result: bool(true) 56 Opposite result: bool(true) 60 Opposite result: bool(true) 64 Opposite result: bool(true) 68 Opposite result: bool(true)
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 1599 return result; in php_pcre_replace() 1628 result = NULL; in php_pcre_replace_impl() 1721 result = zend_string_extend(result, alloc_len, 0); in php_pcre_replace_impl() 1805 result = zend_string_realloc(result, alloc_len, 0); in php_pcre_replace_impl() 1838 return result; in php_pcre_replace_impl() 1877 result = NULL; in php_pcre_replace_func_impl() 1958 result = zend_string_extend(result, alloc_len, 0); in php_pcre_replace_func_impl() 2014 result = zend_string_realloc(result, alloc_len, 0); in php_pcre_replace_func_impl() 2051 return result; in php_pcre_replace_func_impl() 2074 return result; in php_pcre_replace_func() [all …]
|