Home
last modified time | relevance | path

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

12345678910>>...94

/PHP-8.3/ext/zend_test/tests/
H A Dfiber_test_03.phpt9 $value = Fiber::suspend(1);
10 var_dump($value); // int(2)
17 $value = $fiber->start();
18 var_dump($value); // int(1)
19 $value = $fiber->resume(2 * $value);
20 var_dump($value); // int(3)
21 $value = $fiber->throw(new Exception('test'));
/PHP-8.3/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>
H A Delement.phpt8 $element = new DOMElement('foo', 'my value');
10 $element->__construct('foo2', 'my new value');
21 $element->__construct('foo3', 'my new new value');
28 string(8) "my value"
30 string(12) "my new value"
32 <container><foo2>my new value</foo2></container>
34 <container><foo2>my new value</foo2><foo3>my new new value</foo3></container>
/PHP-8.3/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);
H A Dbug62639.phpt17 <value attr="Some Attr">Some Value</value>
25 foreach ($a1->b->c->children() as $key => $value) {
26 var_dump($value);
33 <c><value attr="Some Attr">Some Value</value></c>
40 foreach ($a2->b->c->children() as $key => $value) {
41 var_dump($value);
/PHP-8.3/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-8.3/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;
35 ["value"]=>
38 ["value"]=>
42 ["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-8.3/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-8.3/ext/standard/tests/array/
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 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 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 --
/PHP-8.3/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-8.3/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-8.3/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-8.3/Zend/tests/enum/
H A Dno-pass-properties-by-ref.phpt10 function setBarValueByRef(&$bar, $value) {
11 $bar = $value;
16 $value = setBarValueByRef($bar->value, 1);
21 var_dump(Foo::Bar->value);
25 Cannot modify readonly property Foo::$value
/PHP-8.3/Zend/tests/generators/
H A Dyield_by_reference.phpt7 foreach ($array as $key => &$value) {
8 yield $key => $value;
14 foreach ($iter as &$value) {
15 $value *= -1;
20 foreach (iter($array) as &$value) {
21 $value *= -1;
/PHP-8.3/ext/ftp/tests/
H A Dftp_set_option_errors.phpt18 [ 'option' => FTP_TIMEOUT_SEC, 'value' => 0 ],
19 [ 'option' => FTP_TIMEOUT_SEC, 'value' => '0' ],
20 [ 'option' => FTP_USEPASVADDRESS, 'value' => ['1'] ],
21 [ 'option' => FTP_AUTOSEEK, 'value' => 'true' ],
22 [ 'option' => FOO_BAR, 'value' => 1 ],
25 var_dump(ftp_set_option($ftp, $option['option'], $option['value']));
31 Exception: ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC op…
32 Exception: ftp_set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC optio…
33 Exception: ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS o…
34 Exception: ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_AUTOSEEK option,…

Completed in 26 milliseconds

12345678910>>...94