Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 146) sorted by relevance

123456

/PHP-8.0/ext/simplexml/tests/
H A D024.phpt2 SimpleXML: XPath and attributes
38 ["@attributes"]=>
46 ["@attributes"]=>
54 ["@attributes"]=>
65 ["@attributes"]=>
73 ["@attributes"]=>
81 ["@attributes"]=>
92 ["@attributes"]=>
100 ["@attributes"]=>
108 ["@attributes"]=>
[all …]
H A D033.phpt59 ["@attributes"]=>
67 ["@attributes"]=>
76 ["@attributes"]=>
86 ["@attributes"]=>
101 ["@attributes"]=>
109 ["@attributes"]=>
118 ["@attributes"]=>
128 ["@attributes"]=>
H A Dbug69169.phpt25 [@attributes] => Array
34 [@attributes] => Array
41 [@attributes] => Array
52 [@attributes] => Array
59 [@attributes] => Array
H A Dbug67116.phpt45 [@attributes] => Array
58 [@attributes] => Array
73 [@attributes] => Array
82 [@attributes] => Array
H A Dprofile10.phpt2 SimpleXML [profile]: Accessing two attributes with the same name, but different namespaces
14 $rsattr = $root->child->attributes('reserved-ns');
15 $spattr = $root->child->attributes('special-ns');
H A Dprofile13.phpt43 ["@attributes"]=>
50 ["@attributes"]=>
59 ["@attributes"]=>
66 ["@attributes"]=>
H A Dprofile12.phpt43 ["@attributes"]=>
50 ["@attributes"]=>
59 ["@attributes"]=>
66 ["@attributes"]=>
H A D000.phpt44 ["@attributes"]=>
55 ["@attributes"]=>
79 ["@attributes"]=>
91 ["@attributes"]=>
114 ["@attributes"]=>
126 ["@attributes"]=>
149 ["@attributes"]=>
189 ["@attributes"]=>
H A DSimpleXMLElement_addAttribute_basic.phpt10 var_dump($simple->attributes());
15 ["@attributes"]=>
H A D022.phpt34 ["@attributes"]=>
43 ["@attributes"]=>
51 ["@attributes"]=>
H A Dbug46048.phpt2 Bug #46048 (SimpleXML top-level @attributes not part of iterator)
18 [@attributes] => Array
H A D001-mb.phpt13 ["@attributes"]=>
20 ["@attributes"]=>
H A D001.phpt13 ["@attributes"]=>
20 ["@attributes"]=>
H A Dprofile07.phpt14 $rsattr = $root->child->attributes('reserved');
15 $myattr = $root->child->attributes('reserved-ns');
/PHP-8.0/Zend/tests/traits/
H A Dbug60717.phpt11 function attributes(array $attributes = null);
12 function textArea(?array $attributes, $value);
22 function textArea(?array $attributes, $value) {}
23 abstract function attributes(array $attributes = null);
29 function attributes(array $attributes = null) { }
/PHP-8.0/Zend/
H A Dzend_attributes.c72 if (attributes) { in get_attribute()
75 ZEND_HASH_FOREACH_PTR(attributes, attr) { in get_attribute()
87 if (attributes) { in get_attribute_str()
90 ZEND_HASH_FOREACH_PTR(attributes, attr) { in get_attribute_str()
104 return get_attribute(attributes, lcname, 0); in zend_get_attribute()
109 return get_attribute_str(attributes, str, len, 0); in zend_get_attribute_str()
114 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
170 ZEND_HASH_FOREACH_PTR(attributes, other) { in zend_is_attribute_repeated()
206 if (*attributes == NULL) { in zend_add_attribute()
207 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute()
[all …]
H A Dzend_attributes.h66 ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname);
67 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len);
69 ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, u…
70 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s…
75 ZEND_API zend_bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr);
81 HashTable **attributes, zend_string *name, uint32_t argc,
89 return zend_add_attribute(&ce->attributes, name, argc, flags, 0, 0); in END_EXTERN_C()
95 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute()
101 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
107 return zend_add_attribute(&info->attributes, name, argc, flags, 0, 0); in zend_add_property_attribute()
[all …]
/PHP-8.0/ext/ldap/tests/
H A Dldap_explode_dn.phpt8 /* Explode with attributes */
11 /* Explode with attributes */
14 /* Explode without attributes */
17 /* Explode without attributes */
20 /* Explode with attributes and < > characters */
23 /* Explode without attributes and < > characters */
26 /* Bad DN value with attributes */
29 /* Bad DN value without attributes */
/PHP-8.0/Zend/tests/attributes/
H A D002_rfcexample.phpt27 $attributes = $reflectionClass->getAttributes();
29 var_dump($attributes[0]->getName());
30 var_dump($attributes[0]->getArguments());
31 var_dump($attributes[0]->newInstance());
H A D007_self_reflect_attribute.phpt2 Attributes: attributes on Attribute return itself
7 $attributes = $reflection->getAttributes();
9 foreach ($attributes as $attribute) {
/PHP-8.0/ext/opcache/tests/opt/
H A Dblock_pass_002.phpt11 function foo($key, $value, array $attributes) {
13 ? [$key, array_merge($value, $attributes)]
14 : [$value, $attributes];
/PHP-8.0/ext/dom/tests/
H A DDOMNamedNodeMap_count.phpt20 var_dump($root->attributes->length);
21 var_dump($root->attributes->count());
22 var_dump(count($root->attributes));
H A DDOMElement_hasAttributes_basic.phpt24 echo "\nElement should have attributes:\n";
33 echo "\nElement should have no attributes:\n";
42 Element should have attributes:
48 Element should have no attributes:
/PHP-8.0/ext/xml/
H A Dcompat.c59 if (attributes) { in _start_element_handler()
60 while (attributes[attno] != NULL) { in _start_element_handler()
64 att_name = (char *)attributes[attno++]; in _start_element_handler()
137 if (attributes) { in _start_element_handler_ns()
142 att_name = (char *) attributes[y++]; in _start_element_handler_ns()
143 att_prefix = (char *)attributes[y++]; in _start_element_handler_ns()
145 att_value = (char *)attributes[y++]; in _start_element_handler_ns()
170 if (attributes != NULL) { in _start_element_handler_ns()
176 if (attributes[y+1] != NULL) { in _start_element_handler_ns()
177 _qualify_namespace(parser, attributes[y] , attributes[y + 2], &qualified_name_attr); in _start_element_handler_ns()
[all …]
/PHP-8.0/ext/tidy/tests/
H A D030.phpt14 'indent-attributes' => true, // Boolean
20 var_dump($c['indent-attributes']);

Completed in 37 milliseconds

123456