Home
last modified time | relevance | path

Searched refs:value (Results 176 – 200 of 2418) sorted by relevance

12345678910>>...97

/php-src/ext/standard/tests/array/
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:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
57 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on…
59 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
61 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on…
63 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
65 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on…
67 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
[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-src/ext/dom/tests/
H A Dgh12616_3.phpt77 string(22) "(object value omitted)"
79 string(22) "(object value omitted)"
81 string(22) "(object value omitted)"
100 string(22) "(object value omitted)"
102 string(22) "(object value omitted)"
104 string(22) "(object value omitted)"
122 string(22) "(object value omitted)"
124 string(22) "(object value omitted)"
126 string(22) "(object value omitted)"
145 string(22) "(object value omitted)"
[all …]
H A Dbug69846.phpt58 string(22) "(object value omitted)"
72 string(22) "(object value omitted)"
95 string(22) "(object value omitted)"
97 string(22) "(object value omitted)"
119 string(22) "(object value omitted)"
121 string(22) "(object value omitted)"
123 string(22) "(object value omitted)"
129 string(22) "(object value omitted)"
133 string(22) "(object value omitted)"
174 string(22) "(object value omitted)"
[all …]
/php-src/Zend/tests/
H A Dgh11244-001.phpt8 foreach ($data as $key => &$value) {
9 echo "$value\n";
10 if ($value === 1) {
12 echo "unset $value\n";
H A Dgh11244-002.phpt8 foreach ($data as $key => &$value) {
9 echo "$value\n";
10 if ($value === 1) {
12 echo "unset $value\n";
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
H A Dgh11244-003.phpt9 foreach ($data as $key => &$value) {
10 echo "$value\n";
11 if ($value === 1) {
13 echo "unset $value\n";
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_110.phpt6 public null $value;
10 $foo->value = null;
13 $foo->value = 1;
20 Cannot assign int to property Foo::$value of type null
H A Dtyped_properties_111.phpt6 public false $value;
10 $foo->value = false;
13 $foo->value = true;
20 Cannot assign true to property Foo::$value of type false
/php-src/ext/dom/tests/modern/spec/
H A DDocument_implementation_createDocumentType.phpt32 string(22) "(object value omitted)"
34 string(22) "(object value omitted)"
52 string(22) "(object value omitted)"
83 string(22) "(object value omitted)"
85 string(22) "(object value omitted)"
103 string(22) "(object value omitted)"
134 string(22) "(object value omitted)"
136 string(22) "(object value omitted)"
154 string(22) "(object value omitted)"
185 string(22) "(object value omitted)"
[all …]
H A DParentNode_append_exception_consistency.phpt23 string(22) "(object value omitted)"
25 string(22) "(object value omitted)"
37 string(22) "(object value omitted)"
43 string(22) "(object value omitted)"
45 string(22) "(object value omitted)"
47 string(22) "(object value omitted)"
/php-src/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-src/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-src/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-src/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-src/Zend/tests/offsets/
H A Dappending_containers_in_fetch.phpt11 $container[][5] = 'value';
25 string(5) "value"
35 string(5) "value"
39 Error: Cannot use a scalar value as an array
41 Error: Cannot use a scalar value as an array
43 Error: Cannot use a scalar value as an array
55 string(5) "value"
59 Error: Cannot use a scalar value as an array
75 Error: Cannot use a scalar value as an array
/php-src/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:
/php-src/ext/simplexml/tests/
H A D012.phpt16 $sxe[""] = "value";
21 $sxe["attr"] = "value";
25 $sxe["attr"] = "new value";
41 <foo attr="value"/>
43 <foo attr="new value"/>

Completed in 36 milliseconds

12345678910>>...97