Home
last modified time | relevance | path

Searched refs:list (Results 51 – 75 of 404) sorted by relevance

12345678910>>...17

/php-src/ext/standard/tests/file/
H A Dfputcsv_variation15.phpt8 $list = array (
35 foreach ($list as $v) {
45 echo '$list = ';var_export($res);echo ";\n";
55 echo '$list = ';var_export($res);echo ";\n";
61 $list = array (
83 $list = array (
/php-src/Zend/tests/
H A Dlist_keyed_conversions.phpt2 list() with non-integer-or-string keys
12 list(NULL => $NULL, 1.5 => $float, FALSE => $FALSE, TRUE => $TRUE) = $results;
17 list("0" => $zeroString, "1" => $oneString) = $results;
20 list(STDIN => $resource) = [];
H A Dlist_001.phpt2 "Nested" list()
6 list($a, list($b)) = array(new stdclass, array(new stdclass));
H A Dbug71030.phpt2 Bug #71030: Self-assignment in list() may have inconsistent behavior
9 list($c, $b) = $a;
16 list($$_a, $b) = $a;
H A Dlist_keyed_evaluation_order_nested.phpt2 list() with keys, evaluation order: nested
28 // list($a => $b, $c => list($d, $e), $f => list($g => $h, $i => $j)) = $k;
49 list(
51 (string)$c => list($store["D"], $store["E"]),
52 (string)$f => list(
H A Dforeach_list_keyed.phpt2 foreach with list syntax, keyed
11 foreach ($points as list("x" => $x, "y" => $y)) {
22 foreach ($invertedPoints as list(0 => $row1, 1 => $row2)) {
H A Dlist_keyed_trailing_comma.phpt2 list() with keys and a trailing comma
11 list(
25 list(
H A Dlist_destructuring_to_special_variables.phpt2 list() can be used to destructure to string offsets, __set and ArrayAccess::offsetSet
24 list($str[0], $str[1]) = ['x', 'y'];
28 list($obj->foo, $obj->bar) = ['foo', 'bar'];
32 list($arr['foo'], $arr['bar']) = ['foo', 'bar'];
H A Dbug72395.phpt2 Bug #72395 (list() regression)
5 list(,,$a,,$b,) = array(1, 2, 3, 4, 5, 6);
H A Dbug27598.phpt2 Bug #27598 (list() array key assignment causes HUGE memory leak)
5 list($out[0]) = array(1);
H A Dlist_004.phpt2 list() with array reference
9 list(,$a) = $b;
/php-src/ext/dom/tests/
H A DDOMDocument_getElementsByTagName_liveness_simplexml.phpt11 $list = $doc->getElementsByTagName('e');
12 print $list->item(5)->getAttribute('i')."\n";
18 print $list->item(5)->getAttribute('i')."\n";
21 print $list->item(5)->getAttribute('i')."\n";
/php-src/Zend/
H A Dzend_ast.c279 list->kind = kind; in zend_ast_create_list_0()
280 list->attr = 0; in zend_ast_create_list_0()
294 list->kind = kind; in zend_ast_create_list_1()
295 list->attr = 0; in zend_ast_create_list_1()
318 list->kind = kind; in zend_ast_create_list_2()
319 list->attr = 0; in zend_ast_create_list_2()
396 list->kind = kind; in zend_ast_create_list()
397 list->attr = 0; in zend_ast_create_list()
441 if (list->children >= 4 && is_power_of_two(list->children)) { in zend_ast_list_add()
442 list = zend_ast_realloc(list, in zend_ast_list_add()
[all …]
H A Dzend_multibyte.c41 …_detector(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size) in dummy_encoding_detector() argument
148 …_detector(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size) in zend_multibyte_encoding_detector() argument
150 return multibyte_functions.encoding_detector(string, length, list, list_size); in zend_multibyte_encoding_detector()
190 const zend_encoding **list = 0; in zend_multibyte_set_script_encoding_by_string() local
198 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1)) { in zend_multibyte_set_script_encoding_by_string()
203 pefree((void*)list, 1); in zend_multibyte_set_script_encoding_by_string()
207 if (FAILURE == zend_multibyte_set_script_encoding(list, size)) { in zend_multibyte_set_script_encoding_by_string()
/php-src/ext/dom/lexbor/lexbor/core/
H A Dplog.h25 lexbor_array_obj_t list; member
49 lexbor_array_obj_clean(&plog->list); in lexbor_plog_clean()
62 entry = (lexbor_plog_entry_t *) lexbor_array_obj_push(&plog->list); in lexbor_plog_push()
77 return lexbor_array_obj_length(&plog->list); in lexbor_plog_length()
/php-src/Zend/tests/generators/
H A Dfibonacci.phpt2 Creating an infinite fibonacci list using a generator
7 list($a, $b) = [1, 1];
10 list($a, $b) = [$b, $a + $b];
/php-src/ext/spl/tests/
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt17 $list = [];
19 $list[] = $it->getSubPath();
22 asort($list);
23 foreach ($list as $item) {
H A DSplDoublyLinkedList_current.phpt7 $list = new SplDoublyLinkedList();
8 var_dump($list->current());
H A DRecursiveDirectoryIterator_getSubPathname_basic.phpt19 $list = [];
22 $list[] = $it->getSubPathname();
25 asort($list);
26 foreach ($list as $item) {
H A DSplDoublyLinkedList_current_empty.phpt8 $list = new SplDoublyLinkedList();
9 var_dump($list->current());
/php-src/Zend/tests/list/
H A Dlist_reference_001.phpt2 "Reference Unpacking - General" list()
6 list(&$a, list(&$b)) = $arr;
11 list($a, &$b) = $arr;
H A Dlist_reference_008.phpt2 "Reference Unpacking - Oddities" list()
8 list(&$a, &$b) = $arr;
21 list(&$a, $a) = $arr;
32 list(&$a, &$b) = $a;
/php-src/Zend/tests/grammar/
H A Dsemi_reserved_006.phpt9 private function list(){ echo __METHOD__, PHP_EOL; }
14 static $list = ['a' => ['b' => ['c']]];
33 TraitA::list as public foreach;
53 var_dump(Foo::$list['a']);
64 TraitA::list
/php-src/ext/mbstring/tests/
H A Dmb_encoding_aliases.phpt7 $list = mb_encoding_aliases("ASCII");
8 sort($list);
9 var_dump($list);
/php-src/ext/dom/
H A Dxml_serializer.c112 HashTable *list; in dom_xml_ns_prefix_map_destroy() local
122 zend_hash_destroy(list); in dom_xml_ns_prefix_map_destroy()
123 efree(list); in dom_xml_ns_prefix_map_destroy()
219 HashTable *list; in dom_xml_ns_prefix_map_add() local
221 GC_ADDREF(list); in dom_xml_ns_prefix_map_add()
232 if (list == NULL) { in dom_xml_ns_prefix_map_add()
233 ALLOC_HASHTABLE(list); in dom_xml_ns_prefix_map_add()
237 GC_DELREF(list); in dom_xml_ns_prefix_map_add()
238 list = zend_array_dup(list); in dom_xml_ns_prefix_map_add()
268 if (list == NULL) { in dom_prefix_in_candidate_list()
[all …]

Completed in 182 milliseconds

12345678910>>...17