Home
last modified time | relevance | path

Searched refs:value (Results 151 – 175 of 2191) sorted by relevance

12345678910>>...88

/PHP-8.1/Zend/tests/
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.
H A Doffset_bool.phpt28 Warning: Trying to access array offset on value of type bool in %s on line %d
31 Warning: Trying to access array offset on value of type bool in %s on line %d
34 Warning: Trying to access array offset on value of type bool in %s on line %d
37 Warning: Trying to access array offset on value of type bool in %s on line %d
40 Warning: Trying to access array offset on value of type bool in %s on line %d
43 Warning: Trying to access array offset on value of type bool in %s on line %d
46 Warning: Trying to access array offset on value of type bool in %s on line %d
49 Warning: Trying to access array offset on value of type bool in %s on line %d
52 Warning: Trying to access array offset on value of type bool in %s on line %d
H A Doffset_long.phpt28 Warning: Trying to access array offset on value of type int in %s on line %d
31 Warning: Trying to access array offset on value of type int in %s on line %d
34 Warning: Trying to access array offset on value of type int in %s on line %d
37 Warning: Trying to access array offset on value of type int in %s on line %d
40 Warning: Trying to access array offset on value of type int in %s on line %d
43 Warning: Trying to access array offset on value of type int in %s on line %d
46 Warning: Trying to access array offset on value of type int in %s on line %d
49 Warning: Trying to access array offset on value of type int in %s on line %d
52 Warning: Trying to access array offset on value of type int in %s on line %d
H A Doffset_null.phpt28 Warning: Trying to access array offset on value of type null in %s on line %d
31 Warning: Trying to access array offset on value of type null in %s on line %d
34 Warning: Trying to access array offset on value of type null in %s on line %d
37 Warning: Trying to access array offset on value of type null in %s on line %d
40 Warning: Trying to access array offset on value of type null in %s on line %d
43 Warning: Trying to access array offset on value of type null in %s on line %d
46 Warning: Trying to access array offset on value of type null in %s on line %d
49 Warning: Trying to access array offset on value of type null in %s on line %d
52 Warning: Trying to access array offset on value of type null in %s on line %d
H A Dcall_user_func_008.phpt28 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
35 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
42 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
44 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
49 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
51 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
/PHP-8.1/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-8.1/ext/standard/tests/array/
H A Darray_walk_closure.phpt12 $func = function($value, $key, &$udata) {
14 $udata["sum"] += $value;
24 $func = function($value, $key) use (&$user_data) {
26 $user_data["sum"] += $value;
37 $func = function($value, $key, &$udata) {
39 $udata->sum += $value;
49 function sum_it_up_object($value, $key, $udata)
52 $udata->sum += $value;
64 function sum_it_up_array($value, $key, $udata)
67 $udata['sum'] += $value;
[all …]
H A Dksort_object.phpt17 // initializing object member value
18 function __construct($value){
19 $this->class_value = $value;
28 // initializing object member value
29 function __construct($value){
30 $this->class_value = $value;
33 // return string value
35 return (string)$this->value;
56 // testing ksort() function by supplying integer object array, flag value is default
61 // testing ksort() function by supplying string object array, flag value is default
[all …]
H A Dsizeof_object2.phpt106 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
107 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
108 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
110 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
111 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
112 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
114 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
115 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
116 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
118 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 given
[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 Duasort_variation7.phpt7 * arguments passed by value
20 echo "-- Anonymous 'cmp_function' with parameters passed by value --\n";
39 -- Anonymous 'cmp_function' with parameters passed by value --
55 Warning: {closure}(): Argument #1 ($value1) must be passed by reference, value given in %s on line …
57 Warning: {closure}(): Argument #2 ($value2) must be passed by reference, value given in %s on line …
59 Warning: {closure}(): Argument #1 ($value1) must be passed by reference, value given in %s on line …
61 Warning: {closure}(): Argument #2 ($value2) must be passed by reference, value given in %s on line …
63 Warning: {closure}(): Argument #1 ($value1) must be passed by reference, value given in %s on line …
65 Warning: {closure}(): Argument #2 ($value2) must be passed by reference, value given in %s on line …
67 Warning: {closure}(): Argument #1 ($value1) must be passed by reference, value given in %s on line …
[all …]
H A Dkrsort_variation8.phpt8 * 1.flag value as default
14 // mixed value array with different key values
26 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is default --\n";
31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
41 -- Testing krsort() by supplying mixed value array, 'flag' value is default --
98 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dksort_variation8.phpt7 * 1.flag value as default
13 // mixed value array with different key values
25 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is default --\n";
30 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
40 -- Testing ksort() by supplying mixed value array, 'flag' value is default --
97 -- Testing ksort() 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;
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt19 function set_and_get($offset, $db, $attribute, $value) {
21 $value_type = gettype($value);
24 if (!$db->setAttribute($attribute, $value)) {
25 printf("[%03d] Cannot set attribute '%s' to value '%s'\n",
30 if (gettype($value) != $value_type) {
31 …tf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value fro…
32 $offset, $value_type, gettype($value));
37 if ($tmp !== $value) {
39 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
H A Dpdo_mysql_stmt_blobs.phpt31 $value = str_repeat('a', $test_len);
34 $stmt->bindValue(2, $value);
53 printf("[%03d + 3] Returned value is not a stream resource\n", $offset);
58 if ($contents !== $value) {
59 … printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
60 $offset, strlen($contents), strlen($value));
65 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
73 if ($ret['label'] !== $value) {
74 … printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
75 $offset, strlen($ret['label']), strlen($value));
[all …]
/PHP-8.1/sapi/phpdbg/tests/
H A Dwatch_005.phpt2 Test proper watch comparisons when having multiple levels of indirection from a zval to its value
30 Old value:
31 New value: aa
36 Old value inaccessible or destroyed
37 New value (reference): aa
42 Old value: aa
43 New value: ab
/PHP-8.1/ext/date/tests/
H A Ddate_sunrise_variation7.phpt23 foreach($inputs as $timezone => $value) {
26 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
28 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
/PHP-8.1/ext/dom/tests/
H A Ddomobject_debug_handler.phpt25 string(22) "(object value omitted)"
27 string(22) "(object value omitted)"
61 string(22) "(object value omitted)"
63 string(22) "(object value omitted)"
75 string(22) "(object value omitted)"
77 string(22) "(object value omitted)"
79 string(22) "(object value omitted)"
/PHP-8.1/ext/filter/
H A Dlogical_filters.c213 len = Z_STRLEN_P(value); in php_filter_int()
228 p = Z_STRVAL_P(value); in php_filter_int()
266 zval_ptr_dtor(value); in php_filter_int()
336 zval_ptr_dtor(value); in php_filter_boolean()
337 ZVAL_BOOL(value, ret); in php_filter_boolean()
450 zval_ptr_dtor(value); in php_filter_float()
460 zval_ptr_dtor(value); in php_filter_float()
590 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url()
595 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_validate_url()
877 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(value))) { in php_filter_validate_ip()
[all …]
/PHP-8.1/Zend/tests/numeric_strings/
H A Dinvalid_numeric_string_must_generate_warning_assign.phpt163 Warning: A non-numeric value encountered in %s on line %d
165 Warning: A non-numeric value encountered in %s on line %d
170 Warning: A non-numeric value encountered in %s on line %d
172 Warning: A non-numeric value encountered in %s on line %d
177 Warning: A non-numeric value encountered in %s on line %d
179 Warning: A non-numeric value encountered in %s on line %d
184 Warning: A non-numeric value encountered in %s on line %d
186 Warning: A non-numeric value encountered in %s on line %d
191 Warning: A non-numeric value encountered in %s on line %d
193 Warning: A non-numeric value encountered in %s on line %d
[all …]
/PHP-8.1/ext/pcre/tests/
H A Dpreg_match_all_error2.phpt14 foreach($input as $value) {
15 @print "\nArg value is: $value\n";
17 var_dump(preg_match_all($regex, $value, $matches));
28 Arg value is: Array
32 Arg value is: test
/PHP-8.1/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…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 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…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 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…
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:

Completed in 57 milliseconds

12345678910>>...88