/PHP-7.2/ext/pdo/tests/ |
H A D | pdo_006.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 22 $stmt = $db->prepare('SELECT val, id from test');
|
/PHP-7.2/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc_introspection.c | 321 name = attr_iter->val; in xml_element_to_method_description() 324 type = attr_iter->val; in xml_element_to_method_description() 327 basetype = attr_iter->val; in xml_element_to_method_description() 330 desc = attr_iter->val; in xml_element_to_method_description() 333 if(attr_iter->val && !strcmp(attr_iter->val, "yes")) { in xml_element_to_method_description() 338 def = attr_iter->val; in xml_element_to_method_description()
|
H A D | xml_to_soap.c | 65 static xml_element_attr* new_attr(const char* key, const char* val) { in new_attr() argument 69 attr->val = val ? estrdup(val) : NULL; in new_attr() 269 type = attr_iter->val; in xml_element_to_SOAP_REQUEST_worker() 273 arrayType = attr_iter->val; in xml_element_to_SOAP_REQUEST_worker() 277 b_must_understand = strchr(attr_iter->val, '1') ? 1 : 0; in xml_element_to_SOAP_REQUEST_worker() 281 actor = attr_iter->val; in xml_element_to_SOAP_REQUEST_worker()
|
/PHP-7.2/sapi/cli/ |
H A D | php_cli.c | 200 return strcasecmp(((zend_module_entry *)Z_PTR(f->val))->name, in module_name_cmp() 201 ((zend_module_entry *)Z_PTR(s->val))->name); in module_name_cmp() 1296 char *val; in WinMain() local 1298 if ((val = strchr(php_optarg, '='))) { in WinMain() 1299 val++; in WinMain() 1300 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in WinMain() 1302 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg)); in WinMain() 1303 ini_entries_len += (val - php_optarg); in WinMain() 1306 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg)); in WinMain() 1307 ini_entries_len += len - (val - php_optarg); in WinMain()
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_fill_variation2.phpt | 5 /* Prototype : proto array array_fill(int start_key, int num, mixed val) 6 …tion: Create an array containing num elements starting with index start_key each initialized to val 18 $val = 100; 90 var_dump( array_fill($start_key,$num,$val) );
|
H A D | bug62607.phpt | 7 array_walk_recursive($arr, function(&$val){});
|
H A D | array_fill_variation1_64bit.phpt | 9 /* Prototype : proto array array_fill(int start_key, int num, mixed val) 10 …tion: Create an array containing num elements starting with index start_key each initialized to val 22 $val = 100; 99 var_dump( array_fill($start_key,$num,$val) );
|
/PHP-7.2/ext/json/ |
H A D | json.c | 189 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex() argument 197 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode_ex() 204 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode() argument 206 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
|
H A D | php_json_encoder.h | 38 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
|
/PHP-7.2/ext/com_dotnet/ |
H A D | com_wrapper.c | 94 …trace(" PHP Object:%p (name:%s) %s\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val, meth… 566 …COM wrapper for PHP object %p (name:%s)\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val); in disp_destructor() 584 PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export_as_sink(zval *val, GUID *sinkid, in php_com_wrapper_export_as_sink() argument 587 php_dispatchex *disp = disp_constructor(val); in php_com_wrapper_export_as_sink() 620 PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export(zval *val) in php_com_wrapper_export() argument 624 if (Z_TYPE_P(val) != IS_OBJECT) { in php_com_wrapper_export() 628 if (php_com_is_valid_object(val)) { in php_com_wrapper_export() 630 php_com_dotnet_object *obj = CDNO_FETCH(val); in php_com_wrapper_export() 643 disp = disp_constructor(val); in php_com_wrapper_export()
|
/PHP-7.2/tests/lang/ |
H A D | engine_assignExecutionOrder_003.phpt | 62 $val = $arr[0][1]; 63 echo "Expect 15 and get...$val\n";
|
H A D | foreachLoop.017.phpt | 6 foreach ($a as $val=>$key) echo $key;
|
/PHP-7.2/ext/xml/ |
H A D | xml.c | 663 if (Z_TYPE_P(val) == IS_STRING) { in _xml_zval_strdup() 665 memcpy(buf, Z_STRVAL_P(val), Z_STRLEN_P(val)); in _xml_zval_strdup() 666 buf[Z_STRLEN_P(val)] = '\0'; in _xml_zval_strdup() 714 zend_string *att, *tag_name, *val; in _xml_startElementHandler() local 733 ZVAL_STR(&tmp, val); in _xml_startElementHandler() 770 ZVAL_STR(&tmp, val); in _xml_startElementHandler() 1578 zval *pind, *val; in PHP_FUNCTION() local 1591 convert_to_long_ex(val); in PHP_FUNCTION() 1595 convert_to_long_ex(val); in PHP_FUNCTION() 1603 convert_to_long_ex(val); in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 809 val += MULT; in apprentice_magic_strength() 820 val = 0; in apprentice_magic_strength() 824 val += MULT; in apprentice_magic_strength() 834 val -= MULT; in apprentice_magic_strength() 843 val = 1; in apprentice_magic_strength() 869 val++; in apprentice_magic_strength() 870 return val; in apprentice_magic_strength() 2598 int val; in getstr() local 2706 val = (val << 3) | (c - '0'); in getstr() 2709 val = (val << 3) | (c-'0'); in getstr() [all …]
|
/PHP-7.2/ext/dba/ |
H A D | dba_gdbm.c | 104 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 113 php_error_docref2(NULL, key, val, E_WARNING, "%s", gdbm_strerror(gdbm_errno)); in DBA_UPDATE_FUNC() 116 php_error_docref2(NULL, key, val, E_WARNING, "Unknown return value"); in DBA_UPDATE_FUNC()
|
/PHP-7.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_string.h | 44 unsigned char *val; member
|
/PHP-7.2/ext/posix/ |
H A D | posix.c | 447 zend_long val; \ 449 Z_PARAM_LONG(val) \ 451 if (func_name(val) < 0) { \ 649 zend_long val; in PHP_FUNCTION() local 652 Z_PARAM_LONG(val) in PHP_FUNCTION() 655 if ((val = getpgid(val)) < 0) { in PHP_FUNCTION() 659 RETURN_LONG(val); in PHP_FUNCTION() 669 zend_long val; in PHP_FUNCTION() local 672 Z_PARAM_LONG(val) in PHP_FUNCTION() 675 if ((val = getsid(val)) < 0) { in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/session/ |
H A D | session.c | 454 if (val) { in php_session_initialize() 472 zend_string *val; in php_session_save_current_state() local 475 if (val) { in php_session_save_current_state() 480 && !memcmp(ZSTR_VAL(val), ZSTR_VAL(PS(session_vars)), ZSTR_LEN(val)) in php_session_save_current_state() 721 zend_long val; in PHP_INI_MH() local 728 && val >= 22 && val <= PS_MAX_SID_LENGTH) { in PHP_INI_MH() 730 PS(sid_length) = val; in PHP_INI_MH() 741 zend_long val; in PHP_INI_MH() local 748 && val >= 4 && val <=6) { in PHP_INI_MH() 992 p = val; in PS_SERIALIZER_DECODE_FUNC() [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug33512.phpt | 9 function __set($var, $val) { 10 $this->Var[$var] = $val;
|
H A D | foreach_undefined.phpt | 6 foreach($a as $val);
|
H A D | foreach_unset_globals.phpt | 7 foreach ($arr as $key => $val) {
|
/PHP-7.2/ext/spl/tests/ |
H A D | heap_it_current_empty.phpt | 10 foreach ($h as $val) { echo 'FAIL'; }
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_main.c | 235 return strcasecmp( ((zend_module_entry *) Z_PTR(f->val))->name, in module_name_cmp() 236 ((zend_module_entry *) Z_PTR(s->val))->name); in module_name_cmp() 557 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 558 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var() 1650 char *val; local 1652 if ((val = strchr(php_optarg, '='))) { 1653 val++; 1654 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { 1657 ini_entries_len += (val - php_optarg); 1660 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg)); [all …]
|
/PHP-7.2/ext/mysqli/ |
H A D | mysqli_api.c | 423 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 434 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 460 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 473 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 531 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 549 if (stmt->result.buf[i].val) { in mysqli_stmt_bind_result_do_bind() 550 efree(stmt->result.buf[i].val); in mysqli_stmt_bind_result_do_bind() 988 uval= *(unsigned int *) stmt->result.buf[i].val; 1010 ZVAL_LONG(result, *(int *)stmt->result.buf[i].val); 1024 dval = *((double *)stmt->result.buf[i].val); [all …]
|
/PHP-7.2/ext/intl/locale/ |
H A D | locale_methods.c | 323 buflen = uloc_getScript ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 329 buflen = uloc_getCountry ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 375 tag_value->len = strlen(tag_value->val); in get_icu_value_internal() 1064 token = php_strtok_r( key_value->val , DELIMITER ,&last_ptr); in add_array_entry() 1192 token = php_strtok_r( variant->val , DELIMITER , &saved_ptr); in PHP_FUNCTION() 1313 result = strToMatch( can_lang_tag->val , cur_lang_tag); in PHP_FUNCTION() 1321 result = strToMatch( can_loc_range->val , cur_loc_range ); in PHP_FUNCTION() 1470 if(result != 1 || lang_tag == NULL || !lang_tag->val[0]) { in lookup_loc_range() 1478 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1491 if( result != 1 || can_loc_range == NULL || !can_loc_range->val[0]) { in lookup_loc_range() [all …]
|