Home
last modified time | relevance | path

Searched refs:value (Results 201 – 225 of 2100) sorted by relevance

12345678910>>...84

/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt25 function set_and_get($offset, $db, $attribute, $value) {
27 $value_type = gettype($value);
30 if (!$db->setAttribute($attribute, $value)) {
31 printf("[%03d] Cannot set attribute '%s' to value '%s'\n",
36 if (gettype($value) != $value_type) {
37 …tf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value fro…
38 $offset, $value_type, gettype($value));
43 if ($tmp !== $value) {
45 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
105 [001] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value from inte…
/PHP-5.5/ext/standard/tests/array/
H A Darray_walk_recursive_variation6.phpt19 * Parameters : $value - value from key/value pair of the array
24 function for_numeric($value, $key, $user_data)
29 var_dump($value);
35 * Parameters : $value - values in given input array
37 * Description : Function appends key to the value
39 function for_string($value, $key)
44 var_dump($value);
48 /* Prototype : for_mixed( mixed $value, mixed $key)
49 * Parameters : $value - values in given input array
53 function for_mixed($value, $key)
[all …]
H A Dsort_variation11.phpt12 * testing sort() by providing mixed value array for $array argument with following flag values.
13 * flag value as defualt
19 // mixed value array
27 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is defualt --\n";
32 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
42 -- Testing sort() by supplying mixed value array, 'flag' value is defualt --
117 -- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_object1.phpt13 * 1. Defualt flag value
23 // initializing object member value
24 function __construct($value){
25 $this->class_value = $value;
34 // initializing object member value
35 function __construct($value){
36 $this->class_value = $value;
39 // return string value
41 return (string)$this->value;
69 // testing asort() function by supplying string object array, flag value is defualt
[all …]
H A Dkrsort_object.phpt11 * 1.Defualt flag value
21 // initializing object member value
22 function __construct($value){
23 $this->class_value = $value;
31 // initializing object member value
32 function __construct($value){
33 $this->class_value = $value;
36 // return string value
38 return (string)$this->value;
66 // testing krsort() function by supplying string object array, flag value is defualt
[all …]
H A Dsort_object1.phpt20 // initializing object member value
21 function __construct($value){
22 $this->class_value = $value;
31 // initializing object member value
32 function __construct($value){
33 $this->class_value = $value;
36 // return string value
38 return (string)$this->value;
61 // testing sort() function by supplying integer object array, flag value is defualt
66 // testing sort() function by supplying string object array, flag value is defualt
[all …]
H A Deach_variation3.phpt114 ["value"]=>
126 ["value"]=>
138 ["value"]=>
150 ["value"]=>
162 ["value"]=>
174 ["value"]=>
186 ["value"]=>
198 ["value"]=>
210 ["value"]=>
222 ["value"]=>
[all …]
H A Dasort_variation11.phpt12 * testing asort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing asort() by supplying mixed value array, 'flag' value is default --
103 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Darsort_variation11.phpt12 * testing arsort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing arsort() by supplying mixed value array, 'flag' value is default --
103 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Darray_walk_recursive.phpt5 function foo($value) {
6 echo $value . " foo\n";
9 function bar($value) {
10 echo $value . " bar\n";
/PHP-5.5/Zend/
H A Dzend_language_scanner.l661 memcpy(tmp, str->value.str.val, str->value.str.len + ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
662 str->value.str.val = tmp; in zend_prepare_string_for_scanning()
664 str->value.str.val = safe_erealloc(str->value.str.val, 1, str->value.str.len, ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
667 memset(str->value.str.val + str->value.str.len, 0, ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
672 buf = str->value.str.val; in zend_prepare_string_for_scanning()
1602 zendlval->value.str.val = estrndup("__CLASS__", zendlval->value.str.len);
1614 zendlval->value.str.val = estrndup(class_name, zendlval->value.str.len);
1634 zendlval->value.str.val = estrndup(trait_name, zendlval->value.str.len);
1651 zendlval->value.str.val = estrndup(func_name, zendlval->value.str.len);
1668 zendlval->value.str.len = zend_spprintf(&zendlval->value.str.val, 0, "%s%s%s",
[all …]
H A Dzend_constants.c33 zval_dtor(&c->value); in free_zend_constant()
129 c.value.value.lval = 1; in zend_register_standard_constants()
135 c.value.value.lval = 0; in zend_register_standard_constants()
148 c.value.value.lval = ZTS_V; in zend_register_standard_constants()
154 c.value.value.lval = ZEND_DEBUG; in zend_register_standard_constants()
184 c.value.value.lval = lval; in zend_register_long_constant()
198 c.value.value.dval = dval; in zend_register_double_constant()
212 c.value.value.str.val = strval; in zend_register_stringl_constant()
213 c.value.value.str.len = strlen; in zend_register_stringl_constant()
306 *result = c->value; in zend_get_constant()
[all …]
/PHP-5.5/ext/pcre/tests/
H A Dpreg_split_error2.phpt16 foreach($input as $value) {
17 print "\nArg value is: $value\n";
18 var_dump(preg_split($regex, $value));
20 $value = new stdclass(); //Object
21 var_dump(preg_split($regex, $value));
27 Arg value is: Array
/PHP-5.5/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_simple_doclit_003w.phpt18 …se"><SOAP-ENV:Body><ns2:echoIntArrayFaultRequest><ns1:value>34</ns1:value><ns1:value>12</ns1:value
20 …Fault'.</faultstring><detail><ns2:ArrayOfIntPart><ns1:value>34</ns1:value><ns1:value>12</ns1:value
/PHP-5.5/ext/standard/
H A Dhead.c89 …if (!url_encode && value && strpbrk(value, ",; \t\r\n\013\014") != NULL) { /* man isspace for \013… in php_setcookie()
95 if (value && url_encode) { in php_setcookie()
98 encoded_value = php_url_encode(value, value_len, &encoded_value_len); in php_setcookie()
100 } else if ( value ) { in php_setcookie()
101 encoded_value = estrdup(value); in php_setcookie()
113 if (value && value_len == 0) { in php_setcookie()
123 snprintf(cookie, len + 100, "Set-Cookie: %s=%s", name, value ? encoded_value : ""); in php_setcookie()
180 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
186 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
203 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
[all …]
H A Dassert.c266 zval **value = NULL; in PHP_FUNCTION() local
279 convert_to_string_ex(value); in PHP_FUNCTION()
280 …_entry_ex("assert.active", sizeof("assert.active"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION()
288 convert_to_string_ex(value); in PHP_FUNCTION()
289 …_ini_entry_ex("assert.bail", sizeof("assert.bail"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION()
297 convert_to_string_ex(value); in PHP_FUNCTION()
298 …x("assert.quiet_eval", sizeof("assert.quiet_eval"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION()
306 convert_to_string_ex(value); in PHP_FUNCTION()
307 …ntry_ex("assert.warning", sizeof("assert.warning"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION()
324 ASSERTG(callback) = *value; in PHP_FUNCTION()
[all …]
/PHP-5.5/Zend/tests/
H A Dbug45744.phpt10 private function callback($value) {
11 if (!is_array($value)) {
12 return stripslashes($value);
14 return array_map(array($this, 'callback'), $value);
28 private function callBack($value) {
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_php.c40 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
51 static void fpm_php_disable(char *value, int (*zend_disable)(char *, uint TSRMLS_DC) TSRMLS_DC) /* … in fpm_php_disable() argument
53 char *s = 0, *e = value; in fpm_php_disable()
85 char *value = kv->value; in fpm_php_apply_defines_ex() local
87 int value_len = strlen(value); in fpm_php_apply_defines_ex()
89 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
91 php_dl(value, MODULE_PERSISTENT, &zv, 1 TSRMLS_CC); in fpm_php_apply_defines_ex()
99 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
100 char *v = strdup(value); in fpm_php_apply_defines_ex()
106 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
[all …]
/PHP-5.5/ext/intl/collator/
H A Dcollator_attr.c36 long attribute, value; in PHP_FUNCTION() local
53 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
56 RETURN_LONG( value ); in PHP_FUNCTION()
67 long attribute, value; in PHP_FUNCTION() local
73 &object, Collator_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION()
85 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
/PHP-5.5/ext/standard/tests/strings/
H A Dstr_replace_variation2.phpt71 -- String after replacing the search value is => --
78 -- String after replacing the search value is => --
85 -- String after replacing the search value is => --
92 -- String after replacing the search value is => --
99 -- String after replacing the search value is => --
106 -- String after replacing the search value is => --
113 -- String after replacing the search value is => --
120 -- String after replacing the search value is => --
127 -- String after replacing the search value is => --
134 -- String after replacing the search value is => --
[all …]
/PHP-5.5/ext/spl/examples/
H A Ddbaarray.inc48 * @return value associated with $name
67 * @param $value value to write
69 function offsetSet($name, $value)
71 //dba_replace($name, serialize($value), $this->db);
72 dba_replace($name, $value, $this->db);
73 return $value;
85 * Delete a key/value pair.
/PHP-5.5/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt8 foreach($ao as $key=>$value) {
9 echo " $key=>$value\n";
18 foreach($ao as $key=>$value) {
19 echo " $key=>$value\n";
28 foreach($ao as $key=>$value) {
29 echo " $key=>$value\n";
37 foreach($ao as $key=>$value) {
38 echo " $key=>$value\n";
/PHP-5.5/tests/lang/
H A DreturnByReference.003.phpt17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
41 ---> 1. Trying to assign by reference the return value of a function that returns by value:
47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
44 ---> 1. Trying to assign by reference the return value of a function that returns by value:
50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:

Completed in 83 milliseconds

12345678910>>...84