/php-src/ext/standard/tests/file/ |
H A D | fputcsv_variation15.phpt | 8 $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 D | list_keyed_conversions.phpt | 2 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 D | list_001.phpt | 2 "Nested" list() 6 list($a, list($b)) = array(new stdclass, array(new stdclass));
|
H A D | bug71030.phpt | 2 Bug #71030: Self-assignment in list() may have inconsistent behavior 9 list($c, $b) = $a; 16 list($$_a, $b) = $a;
|
H A D | list_keyed_evaluation_order_nested.phpt | 2 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 D | foreach_list_keyed.phpt | 2 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 D | list_keyed_trailing_comma.phpt | 2 list() with keys and a trailing comma 11 list( 25 list(
|
H A D | list_destructuring_to_special_variables.phpt | 2 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 D | bug72395.phpt | 2 Bug #72395 (list() regression) 5 list(,,$a,,$b,) = array(1, 2, 3, 4, 5, 6);
|
H A D | bug27598.phpt | 2 Bug #27598 (list() array key assignment causes HUGE memory leak) 5 list($out[0]) = array(1);
|
H A D | list_004.phpt | 2 list() with array reference 9 list(,$a) = $b;
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_getElementsByTagName_liveness_simplexml.phpt | 11 $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 D | zend_ast.c | 279 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 D | zend_multibyte.c | 41 …_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 D | plog.h | 25 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 D | fibonacci.phpt | 2 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 D | RecursiveDirectoryIterator_getSubPath_basic.phpt | 17 $list = []; 19 $list[] = $it->getSubPath(); 22 asort($list); 23 foreach ($list as $item) {
|
H A D | SplDoublyLinkedList_current.phpt | 7 $list = new SplDoublyLinkedList(); 8 var_dump($list->current());
|
H A D | RecursiveDirectoryIterator_getSubPathname_basic.phpt | 19 $list = []; 22 $list[] = $it->getSubPathname(); 25 asort($list); 26 foreach ($list as $item) {
|
H A D | SplDoublyLinkedList_current_empty.phpt | 8 $list = new SplDoublyLinkedList(); 9 var_dump($list->current());
|
/php-src/Zend/tests/list/ |
H A D | list_reference_001.phpt | 2 "Reference Unpacking - General" list() 6 list(&$a, list(&$b)) = $arr; 11 list($a, &$b) = $arr;
|
H A D | list_reference_008.phpt | 2 "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 D | semi_reserved_006.phpt | 9 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 D | mb_encoding_aliases.phpt | 7 $list = mb_encoding_aliases("ASCII"); 8 sort($list); 9 var_dump($list);
|
/php-src/ext/dom/ |
H A D | xml_serializer.c | 112 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 …]
|