Home
last modified time | relevance | path

Searched refs:value (Results 126 – 150 of 2016) sorted by relevance

12345678910>>...81

/PHP-7.4/ext/pdo_dblib/tests/
H A Dpdo_dblib_param_str_natl.phpt12 $stmt = $db->prepare('SELECT :value');
13 $stmt->bindValue(':value', 'foo', PDO::PARAM_STR | PDO::PARAM_STR_NATL);
19 SQL: [13] SELECT :value
22 Key: Name: [6] :value
24 name=[6] ":value"
/PHP-7.4/ext/reflection/tests/
H A DReflectionParameter_canBePassedByValue.phpt13 echo "Can be passed by value: ", $parameter->canBePassedByValue()?"yes":"no", "\n";
42 Can be passed by value: yes
46 Can be passed by value: yes
50 Can be passed by value: yes
54 Can be passed by value: yes
60 Can be passed by value: no
64 Can be passed by value: yes
70 Can be passed by value: no
74 Can be passed by value: yes
/PHP-7.4/ext/standard/tests/array/
H A Drsort_variation8.phpt39 echo "\n-- 'flag' value is default --\n";
44 echo "\n-- 'flag' value is SORT_REGULAR --\n";
58 -- 'flag' value is default --
63 -- 'flag' value is SORT_REGULAR --
70 -- 'flag' value is default --
78 -- 'flag' value is SORT_REGULAR --
88 -- 'flag' value is default --
104 -- 'flag' value is SORT_REGULAR --
122 -- 'flag' value is default --
151 -- 'flag' value is SORT_REGULAR --
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 Darsort_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 arsort() function by supplying string object array, flag value is defualt
[all …]
H A Dsizeof_variation4.phpt60 foreach($values as $value)
65 unset($value);
69 var_dump( sizeof($value) );
73 var_dump( sizeof($value, COUNT_NORMAL) );
77 var_dump( sizeof($value, COUNT_RECURSIVE) );
92 Notice: Undefined variable: value in %s on line %d
98 Notice: Undefined variable: value in %s on line %d
104 Notice: Undefined variable: value in %s on line %d
111 Notice: Undefined variable: value in %s on line %d
117 Notice: Undefined variable: value in %s on line %d
[all …]
H A Darray_walk_recursive.phpt5 function foo($value) {
6 echo $value . " foo\n";
9 function bar($value) {
10 echo $value . " bar\n";
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 Dbug69068_2.phpt8 array_walk($array, function(&$value, $key) use ($array2) {
9 var_dump($value);
10 if ($value == 2) {
13 $value *= 10;
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 …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dscalar_return_basic.phpt51 foreach ($values as $value) {
53 var_dump($value);
55 var_dump($function($value));
75 E_NOTICE: A non well formed numeric value encountered on line %d
78 *** Caught Return value of {closure}() must be of the type int, string returned in %s on line %d
80 *** Caught Return value of {closure}() must be of the type int, string returned in %s on line %d
84 *** Caught Return value of {closure}() must be of the type int, float returned in %s on line %d
90 *** Caught Return value of {closure}() must be of the type int, null returned in %s on line %d
93 *** Caught Return value of {closure}() must be of the type int, array returned in %s on line %d
96 *** Caught Return value of {closure}() must be of the type int, object returned in %s on line %d
[all …]
H A Dscalar_return_basic_64bit.phpt51 foreach ($values as $value) {
53 var_dump($value);
55 var_dump($function($value));
75 E_NOTICE: A non well formed numeric value encountered on line %d
78 *** Caught Return value of {closure}() must be of the type int, string returned in %s on line %d
80 *** Caught Return value of {closure}() must be of the type int, string returned in %s on line %d
84 *** Caught Return value of {closure}() must be of the type int, float returned in %s on line %d
90 *** Caught Return value of {closure}() must be of the type int, null returned in %s on line %d
93 *** Caught Return value of {closure}() must be of the type int, array returned in %s on line %d
96 *** Caught Return value of {closure}() must be of the type int, object returned in %s on line %d
[all …]
/PHP-7.4/ext/intl/collator/
H A Dcollator_attr.c36 zend_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 zend_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-7.4/tests/lang/
H A Dbug28800.phpt11 Warning: A non-numeric value encountered in %s on line %d
14 Warning: A non-numeric value encountered in %s on line %d
17 Warning: A non-numeric value encountered in %s on line %d
20 Warning: A non-numeric value encountered in %s on line %d
23 Warning: A non-numeric value encountered in %s on line %d
26 Warning: A non-numeric value encountered in %s on line %d
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_class_constants.phpt25 foreach ($constants as $name => $value) {
27 if (!isset($values[$value])) {
28 $values[$value] = [$name];
30 $values[$value][] = $name;
54 foreach ($values as $value => $constants) {
56 printf("[003] Several constants share the same value '%s'\n", $value);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_php.c38 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
51 static void fpm_php_disable(char *value, int (*zend_disable)(char *, size_t)) /* {{{ */ in fpm_php_disable() argument
53 char *s = 0, *e = value; in fpm_php_disable()
84 char *value = kv->value; in fpm_php_apply_defines_ex() local
86 int value_len = strlen(value); in fpm_php_apply_defines_ex()
88 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
90 php_dl(value, MODULE_PERSISTENT, &zv, 1); in fpm_php_apply_defines_ex()
98 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
99 char *v = strdup(value); in fpm_php_apply_defines_ex()
105 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
[all …]
/PHP-7.4/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) {
H A Dbug75921.phpt28 Warning: Creating default object from empty value in %sbug75921.php on line 3
34 Warning: Creating default object from empty value in %sbug75921.php on line 7
43 Warning: Creating default object from empty value in %sbug75921.php on line 11
45 Warning: Creating default object from empty value in %sbug75921.php on line 11
54 Warning: Creating default object from empty value in %sbug75921.php on line 15
56 Warning: Creating default object from empty value in %sbug75921.php on line 15
68 Warning: Creating default object from empty value in %sbug75921.php on line 19
70 Warning: Creating default object from empty value in %sbug75921.php on line 19
H A Doffset_bool.phpt28 Notice: Trying to access array offset on value of type bool in %s on line %d
31 Notice: Trying to access array offset on value of type bool in %s on line %d
34 Notice: Trying to access array offset on value of type bool in %s on line %d
37 Notice: Trying to access array offset on value of type bool in %s on line %d
40 Notice: Trying to access array offset on value of type bool in %s on line %d
43 Notice: Trying to access array offset on value of type bool in %s on line %d
46 Notice: Trying to access array offset on value of type bool in %s on line %d
49 Notice: Trying to access array offset on value of type bool in %s on line %d
52 Notice: Trying to access array offset on value of type bool in %s on line %d
H A Doffset_long.phpt28 Notice: Trying to access array offset on value of type int in %s on line %d
31 Notice: Trying to access array offset on value of type int in %s on line %d
34 Notice: Trying to access array offset on value of type int in %s on line %d
37 Notice: Trying to access array offset on value of type int in %s on line %d
40 Notice: Trying to access array offset on value of type int in %s on line %d
43 Notice: Trying to access array offset on value of type int in %s on line %d
46 Notice: Trying to access array offset on value of type int in %s on line %d
49 Notice: Trying to access array offset on value of type int in %s on line %d
52 Notice: Trying to access array offset on value of type int in %s on line %d
H A Doffset_null.phpt28 Notice: Trying to access array offset on value of type null in %s on line %d
31 Notice: Trying to access array offset on value of type null in %s on line %d
34 Notice: Trying to access array offset on value of type null in %s on line %d
37 Notice: Trying to access array offset on value of type null in %s on line %d
40 Notice: Trying to access array offset on value of type null in %s on line %d
43 Notice: Trying to access array offset on value of type null in %s on line %d
46 Notice: Trying to access array offset on value of type null in %s on line %d
49 Notice: Trying to access array offset on value of type null in %s on line %d
52 Notice: Trying to access array offset on value of type null in %s on line %d
H A Dlist_keyed_evaluation_order_nested.phpt15 "A" => "offset value for A",
17 0 => "offset value for 0",
18 1 => "offset value for 1"
21 "G" => "offset value for G",
22 "I" => "offset value for I"
63 Offset B set to offset value for A.
67 Offset D set to offset value for 0.
69 Offset E set to offset value for 1.
74 Offset H set to offset value for G.
77 Offset J set to offset value for I.
/PHP-7.4/ext/standard/
H A Dhead.c94 if (!url_encode && value && in php_setcookie()
110 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie()
128 zend_string *encoded_value = php_raw_url_encode(ZSTR_VAL(value), ZSTR_LEN(value)); in php_setcookie()
132 smart_str_append(&buf, value); in php_setcookie()
192 zval *value; in php_head_parse_cookie_options_array() local
197 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
200 *path = zval_get_string(value); in php_head_parse_cookie_options_array()
206 *secure = zval_is_true(value); in php_head_parse_cookie_options_array()
209 *httponly = zval_is_true(value); in php_head_parse_cookie_options_array()
241 Z_PARAM_STR(value) in PHP_FUNCTION()
[all …]
/PHP-7.4/tests/lang/operators/
H A Dnegate_variationStr.phpt32 Warning: A non-numeric value encountered in %s on line %d
36 Notice: A non well formed numeric value encountered in %s on line %d
42 Notice: A non well formed numeric value encountered in %s on line %d
46 Notice: A non well formed numeric value encountered in %s on line %d
50 Notice: A non well formed numeric value encountered in %s on line %d
54 Notice: A non well formed numeric value encountered in %s on line %d
58 Notice: A non well formed numeric value encountered in %s on line %d
62 Warning: A non-numeric value encountered in %s on line %d

Completed in 38 milliseconds

12345678910>>...81