/PHP-8.3/ext/zend_test/tests/ |
H A D | fiber_test_03.phpt | 9 $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 D | text.phpt | 8 $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 D | cdatasection.phpt | 8 $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 D | attribute.phpt | 8 $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 D | comment.phpt | 8 $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 D | element.phpt | 8 $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 D | bug67572.phpt | 14 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 D | bug62639.phpt | 17 <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 D | get-return.phpt | 2 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 D | gh10043-005.phpt | 7 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 D | weakmap_basic_map_behavior.phpt | 10 $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 D | 023.phpt | 12 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 D | krsort_variation4.phpt | 8 * 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 D | ksort_variation10.phpt | 7 * 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 D | arsort_variation10.phpt | 7 * 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 D | asort_variation10.phpt | 7 * 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 D | sort_variation10.phpt | 8 * 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 D | array_map_variation13.phpt | 15 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 D | krsort_variation6.phpt | 8 * 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 D | json_parser.y | 49 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 D | r4_groupH_simple_doclit_006w.phpt | 21 …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 D | bug68128-USE_KEY.phpt | 6 $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 D | no-pass-properties-by-ref.phpt | 10 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 D | yield_by_reference.phpt | 7 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 D | ftp_set_option_errors.phpt | 18 [ '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,…
|