Home
last modified time | relevance | path

Searched refs:value (Results 76 – 100 of 2418) sorted by relevance

12345678910>>...97

/php-src/ext/simplexml/tests/
H A Dbug67572.phpt14 foreach($xml as $key => $value) {
15 print "$key = $value ... ";
16 var_dump(empty($value));
17 var_dump($value == false);
20 foreach($xml2 as $key => $value) {
21 print "$key = $value ... ";
22 var_dump(empty($value));
23 var_dump($value == false);
/php-src/ext/dom/tests/manually_call_constructor/
H A Dtext.phpt8 $text = new DOMText('my value');
10 $text->__construct('my new value');
21 $text->__construct("\nmy new new value");
27 string(8) "my value"
28 string(12) "my new value"
30 <container>my new value</container>
32 <container>my new value
33 my new new value</container>
H A Dcdatasection.phpt8 $cdata = new DOMCdataSection("my value");
10 $cdata->__construct("my new value");
21 $cdata->__construct("my even newer value");
27 string(8) "my value"
28 string(12) "my new value"
30 <container><![CDATA[my new value]]></container>
32 <container><![CDATA[my new value]]><![CDATA[my even newer value]]></container>
H A Dattribute.phpt8 $attr = new DOMAttr("attribute", "my value");
10 $attr->__construct("newattribute", "my new value");
21 $attr->__construct("newnewattribute", "my even newer value");
28 string(8) "my value"
30 string(12) "my new value"
32 <container newattribute="my new value"/>
34 <container newattribute="my new value" newnewattribute="my even newer value"/>
H A Dcomment.phpt8 $comment = new DOMComment("my value");
10 $comment->__construct("my new value");
21 $comment->__construct("my even newer value");
28 string(8) "my value"
30 string(12) "my new value"
32 <container><!--my new value--></container>
34 <container><!--my new value--><!--my even newer value--></container>
/php-src/Zend/tests/fibers/
H A Dget-return.phpt2 Test fiber return value
7 $value = Fiber::suspend("x");
8 return $value;
11 $value = $fiber->start();
12 var_dump($value);
13 var_dump($fiber->resume($value . "y"));
/php-src/Zend/tests/weakrefs/
H A Dgh10043-005.phpt7 public function __construct(public readonly string $value) {
13 $value = [$obj];
14 $map[$obj] = $value;
23 $value = null;
36 ["value"]=>
39 ["value"]=>
43 ["value"]=>
H A Dweakmap_basic_map_behavior.phpt10 $obj->value = 1;
12 $obj2->value = 2;
76 ["value"]=>
79 ["value"]=>
81 ["value"]=>
89 ["value"]=>
100 ["value"]=>
115 ["value"]=>
130 ["value"]=>
152 ["value"]=>
[all …]
/php-src/Zend/tests/nullsafe_operator/
H A D023.phpt12 foreach ($foo?->bar as &$value) {
13 var_dump($value);
18 foreach ($foo?->bar as &$value) {
19 var_dump($value);
20 $value++;
26 foreach ($foo?->bar as &$value) {
27 var_dump($value);
28 $value++;
/php-src/Zend/tests/offsets/
H A Dappending_containers.phpt11 $container[] = 'value';
23 string(5) "value"
30 string(5) "value"
33 Cannot use a scalar value as an array
35 Cannot use a scalar value as an array
37 Cannot use a scalar value as an array
47 string(5) "value"
50 Cannot use a scalar value as an array
58 string(5) "value"
64 string(5) "value"
[all …]
/php-src/ext/dom/tests/modern/spec/
H A Dcreate_element_util.inc2 function createElement($doc, $name, ?string $value = null) {
4 if ($value) $element->textContent = $value;
8 function createElementNS($doc, $ns, $name, ?string $value = null) {
10 if ($value) $element->textContent = $value;
H A DNamedNodeMap_getNamedItem.phpt25 var_dump($attributes->getNamedItem("FOO:BAR")->value);
26 var_dump($attributes->getNamedItem("foo:BAR")->value);
27 var_dump($attributes->getNamedItem("foo:bar")->value);
28 var_dump($attributes->getNamedItem("XmLnS:foo")->value);
31 var_dump($attributes["FOO:BAR"]->value);
32 var_dump($attributes["foo:BAR"]->value);
33 var_dump($attributes["foo:bar"]->value);
34 var_dump($attributes["XmLnS:foo"]->value);
35 var_dump($attributes["xmlns:foo"]->value);
53 var_dump($attributes["foo:bar"]->value);
[all …]
/php-src/ext/standard/tests/array/
H A Darsort_variation10.phpt7 * 1.flag value as default
20 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is default --\n";
25 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
30 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
40 -- Testing arsort() by supplying octal value array, 'flag' value is default --
63 -- Testing arsort() by supplying octal value array, 'flag' value is SORT_REGULAR --
86 -- Testing arsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
H A Dasort_variation10.phpt7 * 1.flag value as default
20 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is default --\n";
25 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
30 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
40 -- Testing asort() by supplying octal value array, 'flag' value is default --
63 -- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR --
86 -- Testing asort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
H A Dkrsort_variation4.phpt8 * 1.flag value as default
21 echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is default --\n";
26 echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
31 echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
41 -- Testing krsort() by supplying octal value array, 'flag' value is default --
64 -- Testing krsort() by supplying octal value array, 'flag' value is SORT_REGULAR --
87 -- Testing krsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
H A Dksort_variation10.phpt7 * 1.flag value as default
20 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is default --\n";
25 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
30 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
40 -- Testing ksort() by supplying octal value array, 'flag' value is default --
63 -- Testing ksort() by supplying octal value array, 'flag' value is SORT_REGULAR --
86 -- Testing ksort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
H A Dsort_variation10.phpt8 * 1.flag value as default
18 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is default --\n";
23 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
28 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
38 -- Testing sort() by supplying octal value array, 'flag' value is default --
61 -- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --
84 -- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
H A Darray_map_variation13.phpt15 echo "-- with integer return value --\n";
22 echo "-- with string return value --\n";
29 echo "-- with bool return value --\n";
36 echo "-- with null return value --\n";
43 echo "-- with no return value --\n";
53 *** Testing array_map() : callback with diff return value ***
54 -- with integer return value --
63 -- with string return value --
72 -- with bool return value --
81 -- with null return value --
[all …]
H A Dkrsort_variation6.phpt8 * 1.flag value as default
21 echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is default --\n";
26 echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\…
31 echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\…
41 -- Testing krsort() by supplying hexadecimal value array, 'flag' value is default --
64 -- Testing krsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
87 -- Testing krsort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --
H A Dsort_variation6.phpt7 * flag value as default
17 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is default --\n";
22 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\n";
27 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\n";
37 -- Testing sort() by supplying hexadecimal value array, 'flag' value is default --
64 -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
91 -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --
/php-src/ext/json/
H A Djson_parser.y49 zval value; member
53 %token <value> PHP_JSON_T_NUL
63 %type <value> start object key value array
79 value PHP_JSON_T_EOI
128 key ':' value
135 | member ',' key ':' value
184 value
189 | element ',' value
201 value:
291 ZVAL_UNDEF(&value->value); in php_json_yylex()
[all …]
/php-src/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_simple_doclit_006w.phpt21 …llo world</ns1:param1><ns1:param2><ns2:value>12.345</ns2:value><ns2:value>45</ns2:value><ns2:value
23 …ing><detail><ns2:ArrayOfFloatPart><ns1:value>12.345</ns1:value><ns1:value>45</ns1:value><ns1:value
/php-src/ext/spl/tests/
H A Dbug68128-USE_KEY.phpt6 $arrayIterator = new ArrayIterator(array('key 1' => 'value 1', 'key 2' => ['value 2']));
9 foreach ($regexIterator as $key => $value) {
10 var_dump($key, $value);
16 string(7) "value 1"
20 string(7) "value 2"
/php-src/scripts/gdb/
H A Dphp_gdb.py258 value = value['lval']
260 value = value['lval']
262 value = value['lval']
264 value = value['lval']
266 value = value['lval']
268 value = value['dval']
270 value = value['str'].dereference()
272 value = value['ht'].dereference()
274 value = value['obj'].dereference()
276 value = value['res'].dereference()
[all …]
/php-src/ext/standard/tests/file/
H A Dfile_variation6.phpt98 file(): Argument #2 ($flags) must be a valid flag value
99 file(): Argument #2 ($flags) must be a valid flag value
100 file(): Argument #2 ($flags) must be a valid flag value
101 file(): Argument #2 ($flags) must be a valid flag value
102 file(): Argument #2 ($flags) must be a valid flag value
103 file(): Argument #2 ($flags) must be a valid flag value
104 file(): Argument #2 ($flags) must be a valid flag value
105 file(): Argument #2 ($flags) must be a valid flag value
178 file(): Argument #2 ($flags) must be a valid flag value
179 file(): Argument #2 ($flags) must be a valid flag value
[all …]

Completed in 36 milliseconds

12345678910>>...97