/php-src/ext/standard/tests/array/ |
H A D | sizeof_object2.phpt | 106 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 D | array_walk_recursive.phpt | 5 function foo($value) { 6 echo $value . " foo\n"; 9 function bar($value) { 10 echo $value . " bar\n";
|
H A D | uasort_variation7.phpt | 7 * 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 D | krsort_variation8.phpt | 8 * 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 D | ksort_variation8.phpt | 7 * 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 D | bug69068_2.phpt | 8 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 D | gh12616_3.phpt | 77 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 D | bug69846.phpt | 58 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 D | gh11244-001.phpt | 8 foreach ($data as $key => &$value) { 9 echo "$value\n"; 10 if ($value === 1) { 12 echo "unset $value\n";
|
H A D | gh11244-002.phpt | 8 foreach ($data as $key => &$value) { 9 echo "$value\n"; 10 if ($value === 1) { 12 echo "unset $value\n";
|
H A D | call_user_func_008.phpt | 28 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 D | gh11244-003.phpt | 9 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 D | typed_properties_110.phpt | 6 public null $value; 10 $foo->value = null; 13 $foo->value = 1; 20 Cannot assign int to property Foo::$value of type null
|
H A D | typed_properties_111.phpt | 6 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 D | Document_implementation_createDocumentType.phpt | 32 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 D | ParentNode_append_exception_consistency.phpt | 23 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 D | logical_filters.c | 213 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 D | watch_005.phpt | 2 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 D | date_sunrise_variation7.phpt | 23 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 D | invalid_numeric_string_must_generate_warning_assign.phpt | 163 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 D | appending_containers_in_fetch.phpt | 11 $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 D | returnByReference.003.phpt | 17 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 D | returnByReference.004.phpt | 19 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 D | returnByReference.005.phpt | 20 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 D | 012.phpt | 16 $sxe[""] = "value"; 21 $sxe["attr"] = "value"; 25 $sxe["attr"] = "new value"; 41 <foo attr="value"/> 43 <foo attr="new value"/>
|