/php-src/ext/simplexml/tests/ |
H A D | 028.phpt | 15 foreach($xml->attributes() as $attr => $value) 17 echo " $attr=\"$value\"";
|
H A D | 018.phpt | 33 foreach($node->attributes() as $attr => $value) { 34 echo " $attr=\"$value\"";
|
/php-src/ext/dom/ |
H A D | html5_parser.c | 170 for (lxb_dom_attr_t *attr = element->first_attr; attr != NULL; attr = attr->next) { in lexbor_libxml2_bridge_convert() local 173 const lxb_char_t *local_name = lxb_dom_attr_local_name(attr, &local_name_length); in lexbor_libxml2_bridge_convert() 174 const lxb_char_t *value = lxb_dom_attr_value(attr, &value_length); in lexbor_libxml2_bridge_convert() 202 if (attr->node.ns == LXB_NS_XMLNS) { in lexbor_libxml2_bridge_convert() 212 } else if (attr->node.ns == LXB_NS_XLINK) { in lexbor_libxml2_bridge_convert() 229 …if (local_name_length == 2 && local_name[0] == 'i' && local_name[1] == 'd' && attr->node.ns == LXB… in lexbor_libxml2_bridge_convert()
|
/php-src/ext/pdo_firebird/tests/ |
H A D | transaction_isolation_level_attr.phpt | 23 echo "========== Set attr in construct ==========\n"; 62 echo "========== Set attr in setAttribute ==========\n"; 92 ========== Set attr in construct ========== 99 ========== Set attr in setAttribute ==========
|
H A D | transaction_access_mode.phpt | 24 echo "========== Set attr in construct ==========\n"; 46 echo "========== Set attr in setAttribute and behavior check ==========\n"; 85 echo "========== Set attr in setAttribute while transaction ==========\n"; 139 ========== Set attr in construct ========== 143 ========== Set attr in setAttribute and behavior check ========== 171 ========== Set attr in setAttribute while transaction ==========
|
/php-src/ext/xml/tests/ |
H A D | xml007.phpt | 14 function startHandler($parser,$tag,$attr) 16 var_dump($tag,$attr);
|
/php-src/ext/dom/tests/ |
H A D | bug78577.phpt | 11 $attr = $doc->documentElement->getAttributeNode('xmlns'); 12 var_dump($attr);
|
H A D | bug44648.phpt | 14 $attr = new DOMAttr('@acb', '123'); 15 $root->setAttributeNode($attr);
|
H A D | dom_set_attr_node.phpt | 21 $attr = $root->getAttributeNode('a'); 27 $root2->setAttributeNode($attr);
|
/php-src/Zend/tests/attributes/ |
H A D | 001_placement.phpt | 44 $attr = $r->getAttributes(); 45 var_dump(get_class($r), count($attr)); 47 foreach ($attr as $a) {
|
/php-src/ext/com_dotnet/ |
H A D | com_typeinfo.c | 379 TYPEATTR *attr; in php_com_locate_typeinfo() local 382 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo() 384 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo() 404 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo() 481 TYPEATTR *attr; in php_com_process_typeinfo() local 488 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo() 493 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo() 496 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo() 506 guid_str = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo() 517 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo() [all …]
|
/php-src/Zend/ |
H A D | zend_attributes.h | 67 void (*validator)(zend_attribute *attr, uint32_t target, zend_class_entry *scope); 76 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla… 79 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr); 89 uint32_t zend_attribute_attribute_get_flags(zend_attribute *attr, zend_class_entry *scope);
|
H A D | zend_language_parser.y | 351 T_STRING { $$ = $1; $$->attr = ZEND_NAME_NOT_FQ; } 352 | T_NAME_QUALIFIED { $$ = $1; $$->attr = ZEND_NAME_NOT_FQ; } 353 | T_NAME_FULLY_QUALIFIED { $$ = $1; $$->attr = ZEND_NAME_FQ; } 455 | use_type unprefixed_use_declaration { $$ = $2; $$->attr = $1; } 822 | '?' type { $$ = $2; $$->attr |= ZEND_TYPE_NULLABLE; } 941 $$->attr = $1; } 944 $$->attr = $1; } 947 $$->attr = $1; } 1312 | ampersand T_VARIABLE { $$ = $2; $$->attr = ZEND_BIND_REF; } 1530 { $5->attr = ZEND_ARRAY_SYNTAX_LIST; [all …]
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Node_appendChild_invalid_parent.phpt | 13 $attr = $dom->createAttribute('Hello'); 34 $attr->appendChild($dom->createElement('br'));
|
H A D | clone_conflicting_namespace_prefix.phpt | 28 foreach ($clone->attributes as $attr) { 29 var_dump($attr->name, $attr->namespaceURI);
|
H A D | Element_removeAttributeNS.phpt | 56 $body->setAttributeNode($attr = $body->ownerDocument->createAttribute("prefix:local")); 57 $attr->value = "A"; 67 $body->setAttributeNode($attr = $body->ownerDocument->createAttributeNS("urn:a", "prefix:local2")); 68 $attr->value = "B";
|
/php-src/ext/xmlwriter/tests/ |
H A D | 010.phpt | 13 var_dump(xmlwriter_start_attribute($xw, "attr")); 53 string(14) "<tag attr=""/>"
|
/php-src/ext/intl/collator/ |
H A D | collator_functions_arginfo.h | 15 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0) 20 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
|
/php-src/ext/xsl/ |
H A D | xsltprocessor.c | 148 for (const xmlAttr *attr = cur->properties; attr != NULL; attr = attr->next) { in xsl_build_ns_map() local 149 …if (attr->ns != NULL && attr->ns->prefix != NULL && php_dom_ns_is_fast_ex(attr->ns, php_dom_ns_is_… in xsl_build_ns_map() 150 && attr->children != NULL && attr->children->content != NULL) { in xsl_build_ns_map() 153 const xmlChar *prefix = attr->name; in xsl_build_ns_map() 154 …_ns_raw_strings_nullsafe(ns_mapper, (const char *) prefix, (const char *) attr->children->content); in xsl_build_ns_map()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tree.h | 31 lxb_dom_attr_t *attr, void *ctx); 137 lxb_dom_attr_t *attr, void *ctx); 141 lxb_dom_attr_t *attr, void *ctx); 145 lxb_dom_attr_t *attr, void *ctx); 221 lxb_dom_attr_t *attr, void *ctx); 225 lxb_dom_attr_t *attr, void *ctx);
|
H A D | token.h | 65 lxb_html_token_attr_t *attr); 69 lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj);
|
/php-src/ext/soap/ |
H A D | php_encoding.c | 307 attr = get_attribute(attr, "id"); in soap_check_zval_ref() 308 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref() 311 attr = attr->next; in soap_check_zval_ref() 313 if (attr) { in soap_check_zval_ref() 329 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref() 330 if (attr) { in soap_check_zval_ref() 1513 if (attr->fixed && strcmp(attr->fixed, str_val) != 0) { in to_zval_object_ex() 2468 attr->children && attr->children->content) { in to_zval_array() 2502 attr->children && attr->children->content) { in to_zval_array() 2511 attr->children && attr->children->content) { in to_zval_array() [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | str.h | 19 #define lexbor_str_get(str, attr) str->attr argument 20 #define lexbor_str_set(str, attr) lexbor_str_get(str, attr) argument
|
/php-src/ext/zip/ |
H A D | php_zip.stub.php | 764 …public function setExternalAttributesName(string $name, int $opsys, int $attr, int $flags = 0): bo… 767 …public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0): boo… 771 * @param int $attr 774 … public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0): bool {} 778 * @param int $attr 781 public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0): bool {}
|
/php-src/ext/opcache/ |
H A D | zend_persist_calc.c | 161 zend_attribute *attr; in zend_persist_attributes_calc() local 168 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in zend_persist_attributes_calc() 169 ADD_SIZE(ZEND_ATTRIBUTE_SIZE(attr->argc)); in zend_persist_attributes_calc() 170 ADD_INTERNED_STRING(attr->name); in zend_persist_attributes_calc() 171 ADD_INTERNED_STRING(attr->lcname); in zend_persist_attributes_calc() 173 for (i = 0; i < attr->argc; i++) { in zend_persist_attributes_calc() 174 if (attr->args[i].name) { in zend_persist_attributes_calc() 175 ADD_INTERNED_STRING(attr->args[i].name); in zend_persist_attributes_calc() 177 zend_persist_zval_calc(&attr->args[i].value); in zend_persist_attributes_calc()
|