Home
last modified time | relevance | path

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

12345678910>>...81

/PHP-7.4/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
H A Dwatch_001.phpt32 Old value:
33 New value: Array ([0] => 1)
38 Old value inaccessible or destroyed
39 New value:
43 Old value:
44 New value: 2
/PHP-7.4/ext/standard/tests/array/
H A Dsort_object1.phpt20 // initializing object member value
21 function __construct($value){
22 $this->class_value = $value;
31 // initializing object member value
32 function __construct($value){
33 $this->class_value = $value;
36 // return string value
38 return (string)$this->value;
61 // testing sort() function by supplying integer object array, flag value is defualt
66 // testing sort() function by supplying string object array, flag value is defualt
[all …]
H A Darsort_variation11.phpt12 * testing arsort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing arsort() by supplying mixed value array, 'flag' value is default --
103 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_variation11.phpt12 * testing asort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing asort() by supplying mixed value array, 'flag' value is default --
103 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dbug79930.phpt8 'value' => $a . 'b',
14 $m = array_merge_recursive(['value' => 'a'], $array);
22 ["value"]=>
26 ["value"]=>
H A Dksort_object.phpt21 // initializing object member value
22 function __construct($value){
23 $this->class_value = $value;
32 // initializing object member value
33 function __construct($value){
34 $this->class_value = $value;
37 // return string value
39 return (string)$this->value;
60 // testing ksort() function by supplying integer object array, flag value is defualt
65 // testing ksort() function by supplying string object array, flag value is defualt
[all …]
H A Dksort_variation8.phpt12 * 1.flag value as defualt
18 // mixed value array with different key values
30 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is defualt --\n";
35 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
45 -- Testing ksort() by supplying mixed value array, 'flag' value is defualt --
102 -- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
/PHP-7.4/Zend/tests/
H A Dbug35509.phpt9 private $classArray = array( mytest::classConstant => 'value' );
20 $normalArray = array( normalConstant => 'value' );
26 [01] => value
30 [01] => value
H A Dcall_user_func_008.phpt28 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
30 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
35 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
37 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
42 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
44 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
49 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
51 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt18 function set_and_get($offset, $db, $attribute, $value) {
20 $value_type = gettype($value);
23 if (!$db->setAttribute($attribute, $value)) {
24 printf("[%03d] Cannot set attribute '%s' to value '%s'\n",
29 if (gettype($value) != $value_type) {
30 …tf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value fro…
31 $offset, $value_type, gettype($value));
36 if ($tmp !== $value) {
38 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
/PHP-7.4/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:
H A DpassByReference_006.phpt59 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
61 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
63 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
65 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
67 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
69 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
107 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
109 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
111 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
113 Warning: Creating default object from empty value in %spassByReference_006.php on line %d
[all …]
/PHP-7.4/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";
H A DSPLDoublyLinkedList_iterate_by_reference.phpt14 foreach($dll as $key => &$value) {
16 echo $value, PHP_EOL;
17 $value *= $value;
18 echo $value, PHP_EOL;
/PHP-7.4/Zend/tests/generators/
H A Dgenerator_method.phpt14 foreach ($this->data as $value) {
15 yield $value;
21 foreach ($test as $value) {
22 var_dump($value);
/PHP-7.4/ext/date/tests/
H A Dgmmktime_variation9.phpt29 foreach($inputs as $key =>$value) {
31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
33 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
/PHP-7.4/ext/filter/
H A Dlogical_filters.c214 len = Z_STRLEN_P(value); in php_filter_int()
229 p = Z_STRVAL_P(value); in php_filter_int()
257 zval_ptr_dtor(value); in php_filter_int()
327 zval_ptr_dtor(value); in php_filter_boolean()
328 ZVAL_BOOL(value, ret); in php_filter_boolean()
441 zval_ptr_dtor(value); in php_filter_float()
451 zval_ptr_dtor(value); in php_filter_float()
586 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url()
591 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_validate_url()
873 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(value))) { in php_filter_validate_ip()
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_replace_variation2.phpt71 -- String after replacing the search value is => --
78 -- String after replacing the search value is => --
85 -- String after replacing the search value is => --
92 -- String after replacing the search value is => --
99 -- String after replacing the search value is => --
106 -- String after replacing the search value is => --
113 -- String after replacing the search value is => --
120 -- String after replacing the search value is => --
127 -- String after replacing the search value is => --
134 -- String after replacing the search value is => --
[all …]
/PHP-7.4/ext/readline/
H A Dreadline.c242 zval *value = NULL; in PHP_FUNCTION() local
280 if (value) { in PHP_FUNCTION()
299 if (value) { in PHP_FUNCTION()
300 convert_to_long_ex(value); in PHP_FUNCTION()
301 rl_done = Z_LVAL_P(value); in PHP_FUNCTION()
306 if (value) { in PHP_FUNCTION()
319 if (value) { in PHP_FUNCTION()
325 if (value) { in PHP_FUNCTION()
337 if (value) { in PHP_FUNCTION()
349 if (value) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/imap/tests/
H A Dimap_fetch_overview_variation3.phpt41 echo "\nTesting with option value:";
61 Testing with option value:string(1) "1"
64 Testing with option value:bool(true)
67 Testing with option value:float(1)
70 Testing with option value:float(1)
73 Testing with option value:int(%d)
75 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
77 Testing with option value:int(-%d)
79 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
/PHP-7.4/ext/intl/tests/
H A Dbug59597_32.phpt10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
11 var_dump($value);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
15 var_dump($value);
H A Dbug59597_64.phpt10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
11 var_dump($value);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
15 var_dump($value);

Completed in 68 milliseconds

12345678910>>...81