/PHP-8.3/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}(): 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 D | bug69068_2.phpt | 8 array_walk($array, function(&$value, $key) use ($array2) { 9 var_dump($value); 10 if ($value == 2) { 13 $value *= 10;
|
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 --
|
/PHP-8.3/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-8.3/Zend/tests/ |
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 | gh11244-003.phpt | 9 foreach ($data as $key => &$value) { 10 echo "$value\n"; 11 if ($value === 1) { 13 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 | bug35509.phpt | 9 private $classArray = array( mytest::classConstant => 'value' ); 20 $normalArray = array( normalConstant => 'value' ); 26 [01] => value 30 [01] => value
|
/PHP-8.3/Zend/tests/type_declarations/ |
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-8.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_get_attribute.phpt | 19 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 D | pdo_mysql_stmt_blobs.phpt | 31 $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.3/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-8.3/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-8.3/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() 598 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url() 603 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_validate_url() 882 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(value))) { in php_filter_validate_ip() [all …]
|
/PHP-8.3/ext/pcre/tests/ |
H A D | preg_match_all_error2.phpt | 14 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.3/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-8.3/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-8.3/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"/>
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionParameter_canBePassedByValue.phpt | 13 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 52 Can be passed by value: no 56 Can be passed by value: yes 62 Can be passed by value: no 66 Can be passed by value: yes
|