Home
last modified time | relevance | path

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

12345678910>>...81

/PHP-7.4/Zend/tests/generators/
H A Dgenerator_method_by_ref.phpt18 foreach ($this->data as $key => &$value) {
19 yield $key => $value;
25 foreach ($test as &$value) {
26 $value *= -1;
/PHP-7.4/ext/standard/tests/array/
H A Deach_variation3.phpt115 ["value"]=>
127 ["value"]=>
139 ["value"]=>
151 ["value"]=>
163 ["value"]=>
175 ["value"]=>
187 ["value"]=>
199 ["value"]=>
211 ["value"]=>
223 ["value"]=>
[all …]
H A Dbug77135.phpt31 $array = ["this" => "value"];
64 $v_this = value
67 $v_this = value
72 $v_this = value
75 $v_this = value
80 $v_this = value
83 $v_this = value
H A Dkrsort_variation8.phpt13 * 1.flag value as defualt
19 // mixed value array with different key values
31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is defualt --\n";
36 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing krsort() by supplying mixed value array, 'flag' value is defualt --
103 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Drsort_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 rsort() function by supplying integer object array, flag value is defualt
66 // testing rsort() function by supplying string object array, flag value is defualt
[all …]
H A Deach_variation2.phpt6 * Description: Return the currently pointed key..value pair in the passed array,
129 ["value"]=>
141 ["value"]=>
153 ["value"]=>
165 ["value"]=>
177 ["value"]=>
192 ["value"]=>
205 ["value"]=>
218 ["value"]=>
230 ["value"]=>
[all …]
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt13 return "assigned value";
78 string(14) "assigned value"
86 string(14) "assigned value"
94 ["assigned value"]=>
95 string(14) "assigned value"
107 ["assigned value"]=>
108 string(14) "assigned value"
120 ["assigned value"]=>
121 string(14) "assigned value"
129 string(14) "assigned value"
[all …]
H A DreturnByReference.006.phpt21 …rn by ref function call, assign by reference the return value of a function that returns by value:…
28 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
35 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
44 …urn by ref function call, assign by reference the return value of a function that returns by value:
50 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
56 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
/PHP-7.4/ext/date/tests/
H A Ddate_sunrise_variation7.phpt27 foreach($inputs as $timezone => $value) {
30 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
32 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
/PHP-7.4/ext/dom/tests/
H A Ddomobject_debug_handler.phpt24 [implementation] => (object value omitted)
25 [documentElement] => (object value omitted)
46 [childNodes] => (object value omitted)
47 [firstChild] => (object value omitted)
48 [lastChild] => (object value omitted)
H A Dbug69846.phpt53 string(22) "(object value omitted)"
65 string(22) "(object value omitted)"
96 string(22) "(object value omitted)"
98 string(22) "(object value omitted)"
100 string(22) "(object value omitted)"
106 string(22) "(object value omitted)"
108 string(22) "(object value omitted)"
143 string(22) "(object value omitted)"
155 string(22) "(object value omitted)"
H A DDOMAttr_value_basic_002.phpt2 Write non-string $value property
11 $attr->value = 1;
12 print $attr->value;
/PHP-7.4/ext/tidy/tests/
H A D024.phpt16 <wps:value></wps:value>
22 'new-blocklevel-tags' => 'wps:block,wps:var,wps:value',
37 <wps:block>%w<wps:var>%w<wps:value></wps:value>%w</wps:var>%w</wps:block>
H A D010.phpt16 ["value"]=>
40 ["value"]=>
66 ["value"]=>
113 ["value"]=>
144 ["value"]=>
171 ["value"]=>
197 ["value"]=>
220 ["value"]=>
244 ["value"]=>
273 ["value"]=>
[all …]
/PHP-7.4/ext/dom/
H A Dcdatasection.c31 ZEND_ARG_INFO(0, value)
52 char *value = NULL; in PHP_METHOD() local
55 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD()
59 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
H A Dcomment.c31 ZEND_ARG_INFO(0, value)
52 char *value = NULL; in PHP_METHOD() local
55 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) { in PHP_METHOD()
59 nodep = xmlNewComment((xmlChar *) value); in PHP_METHOD()
/PHP-7.4/Zend/tests/
H A Dbug72813.phpt14 public function __set($prop, $value)
16 if ($prop === 'b') $value = [$value];
17 $this->props[$prop] = $value;
H A Dbug34893.phpt10 function __set($name, $value) {
11 $this->$name = $value;
19 function __set($name, $value) {
20 $this->$name = $value;
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_blobs.phpt30 $value = str_repeat('a', $test_len);
33 $stmt->bindValue(2, $value);
51 if ($label !== $value) {
52 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
53 $offset, strlen($label), strlen($value));
58 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
66 if ($ret['label'] !== $value) {
67 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
68 $offset, strlen($ret['label']), strlen($value));
73 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
/PHP-7.4/ext/spl/tests/
H A Dmultiple_iterator_001.phpt13 foreach($m as $value) {
14 var_dump($value);
26 foreach($m as $key => $value) {
27 var_dump($key, $value);
45 foreach($m as $key => $value) {
46 var_dump($key, $value);
54 foreach($m as $key => $value) {
55 var_dump($key, $value);
74 foreach($m as $key => $value) {
75 var_dump($key, $value);
[all …]
H A Dbug34548.phpt10 foreach($dataArray as $value) $this->append($value);
13 public function offsetSet($index, $value)
15 parent::offsetSet($index, $value);
/PHP-7.4/tests/classes/
H A Diterators_006.phpt47 foreach ($array as $property => $value) {
48 print "$property: $value\n";
60 foreach ($array as $property => $value) {
61 print "$property: $value\n";
66 foreach ($array as $property => $value) {
67 print "$property: $value\n";
/PHP-7.4/ext/standard/tests/general_functions/
H A Dgetopt_003.phpt4 -vvv --v -a value --another value -1111 -2 --12 --0 --0 --1 -v
28 string(5) "value"
30 string(5) "value"
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt57 $value = 0;
59 $value = $max_value;
64 $value = 0;
66 $value += mt_rand(0, $rand_max);
68 $value = mt_rand(0, $max_value);
72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
94 if ($value != $row['bit_value']) {
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_097.phpt2 Incrementing/decrementing past max/min value (additional cases)
75 Cannot decrement property Test::$foo of type int past its minimal value
77 Cannot decrement property Test::$foo of type int past its minimal value
79 Cannot increment property Test::$foo of type int past its maximal value
81 Cannot increment property Test::$foo of type int past its maximal value
83 Cannot decrement a reference held by property Test::$foo of type int past its minimal value
85 Cannot decrement a reference held by property Test::$foo of type int past its minimal value
87 Cannot increment a reference held by property Test::$foo of type int past its maximal value
89 Cannot increment a reference held by property Test::$foo of type int past its maximal value

Completed in 34 milliseconds

12345678910>>...81