/PHP-8.1/Zend/tests/ |
H A D | list_keyed_evaluation_order_nested.phpt | 15 "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 D | offset_bool.phpt | 28 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 D | offset_long.phpt | 28 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 D | offset_null.phpt | 28 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 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
|
/PHP-8.1/ext/spl/tests/ |
H A D | arrayObject_setIteratorClass_error1.phpt | 8 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 D | array_walk_closure.phpt | 12 $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 D | ksort_object.phpt | 17 // 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 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 | 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-8.1/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.1/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.1/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.1/ext/dom/tests/ |
H A D | domobject_debug_handler.phpt | 25 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 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-8.1/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.1/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.1/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:
|