Home
last modified time | relevance | path

Searched refs:attr (Results 76 – 100 of 208) sorted by relevance

123456789

/php-src/ext/intl/formatter/
H A Dformatter_functions_arginfo.h37 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
43 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
48 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
54 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
/php-src/ext/simplexml/tests/
H A Dbug55098.phpt27 $n->addAttribute("attr", "value");
28 (bool) $n["attr"];
34 isset($n["attr"]);
36 unset($n["attr"]);
H A Dprofile06.phpt14 $attr = $root->child->attributes('reserved-ns');
15 echo $attr['attribute'];
H A D026.phpt17 foreach($xml->attributes() as $attr => $value)
19 echo " $attr=\"$value\"";
/php-src/ext/dom/tests/modern/spec/
H A DDocument_importLegacyNode.phpt26 foreach ($child->attributes as $attr) {
28 var_dump($attr->name);
30 var_dump($attr->prefix);
32 var_dump($attr->namespaceURI);
H A DElement_getAttributeNS.phpt29 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
30 $attr->value = "A";
36 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
37 $attr->value = "B";
H A DElement_getAttributeNodeNS.phpt31 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
32 $attr->value = "A";
38 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
39 $attr->value = "B";
H A DElement_hasAttributeNS.phpt29 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
30 $attr->value = "A";
36 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
37 $attr->value = "B";
H A DDocument_createAttributeNS.phpt42 foreach ($attrs as $attr) {
43 dumpAttr($attr);
48 foreach ($attrs as $attr) {
49 $root->setAttributeNodeNS($attr);
62 foreach ($attrs as $attr) {
63 dumpAttr($attr);
64 $root->setAttributeNodeNS($attr);
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c242 lxb_html_token_attr_t *attr = token->attr_first; in lxb_html_tree_insertion_mode_foreign_content_all() local
244 while (attr != NULL) { in lxb_html_tree_insertion_mode_foreign_content_all()
245 if (attr->name != NULL in lxb_html_tree_insertion_mode_foreign_content_all()
246 && (attr->name->attr_id == LXB_DOM_ATTR_COLOR in lxb_html_tree_insertion_mode_foreign_content_all()
247 || attr->name->attr_id == LXB_DOM_ATTR_FACE in lxb_html_tree_insertion_mode_foreign_content_all()
248 || attr->name->attr_id == LXB_DOM_ATTR_SIZE)) in lxb_html_tree_insertion_mode_foreign_content_all()
253 attr = attr->next; in lxb_html_tree_insertion_mode_foreign_content_all()
H A Din_table.c267 lxb_html_token_attr_t *attr = token->attr_first; in lxb_html_tree_insertion_mode_in_table_input() local
269 while (attr != NULL) { in lxb_html_tree_insertion_mode_in_table_input()
272 if (attr->name != NULL && attr->name->attr_id == LXB_DOM_ATTR_TYPE) { in lxb_html_tree_insertion_mode_in_table_input()
273 if (attr->value_size == 6 in lxb_html_tree_insertion_mode_in_table_input()
274 && lexbor_str_data_ncasecmp(attr->value, in lxb_html_tree_insertion_mode_in_table_input()
281 attr = attr->next; in lxb_html_tree_insertion_mode_in_table_input()
/php-src/ext/intl/tests/
H A Dformatter_get_set_text_attribute.phpt37 list( $attr, $new_val, $test_number ) = $data;
40 if( $attr == NumberFormatter::PADDING_CHARACTER )
44 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
52 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
57 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
66 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
68 if( $attr == NumberFormatter::PADDING_CHARACTER )
H A Dformatter_get_set_text_attribute_var2.phpt37 list( $attr, $new_val, $test_number ) = $data;
40 if( $attr == NumberFormatter::PADDING_CHARACTER )
44 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
52 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
57 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
66 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
68 if( $attr == NumberFormatter::PADDING_CHARACTER )
/php-src/ext/dom/tests/
H A Dbug37456.phpt14 $attr = $root->setAttribute('bar', 'newval');
15 print $attr->nodeValue;
H A Dbug73907.phpt13 $attr = $doc->documentElement;
15 var_dump($attr);
H A DDOMAttr_ownerElement_error_001.phpt14 $attr = $root->setAttribute('category', 'books');
17 var_dump($attr->ownerElement);
H A Ddom001.phpt46 //$attr = $dom->createAttribute("src", "picture.gif");
47 //print_r($attr);
49 //$rootnode->set_attributeNode($attr);
50 $attr = $rootnode->setAttribute("src", "picture.gif");
51 $attr = $rootnode->getAttribute("src");
52 print_r($attr);
56 $attr = $rootnode->getAttributeNode("src");
57 print_node($attr);
60 $attr = $rootnode->removeAttribute("src");
61 print "Removed " . $attr . " attributes.\n";
/php-src/ext/soap/
H A Dphp_xml.h25 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument
26 …ode_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_ex(node, nam… argument
H A Dphp_xml.c273 xmlAttrPtr attr; in get_node_with_attribute_ex() local
283 attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_ex()
284 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
296 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_recursive_ex() local
297 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Delement.h102 lxb_dom_element_attr_append(lxb_dom_element_t *element, lxb_dom_attr_t *attr);
105 lxb_dom_element_attr_remove(lxb_dom_element_t *element, lxb_dom_attr_t *attr);
239 lxb_dom_element_next_attribute(lxb_dom_attr_t *attr) in lxb_dom_element_next_attribute() argument
241 return attr->next; in lxb_dom_element_next_attribute()
245 lxb_dom_element_prev_attribute(lxb_dom_attr_t *attr) in lxb_dom_element_prev_attribute() argument
247 return attr->prev; in lxb_dom_element_prev_attribute()
300 lxb_dom_element_next_attribute_noi(lxb_dom_attr_t *attr);
303 lxb_dom_element_prev_attribute_noi(lxb_dom_attr_t *attr);
/php-src/Zend/tests/traits/
H A Dbug76539.phpt6 protected $attr = self::class . 'Test';
9 echo $this->attr, PHP_EOL;
H A Dmethods_001.phpt15 public function __set($attr, $val) {
16 var_dump($attr .'==='. $val);
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c1278 src = &attr->value; in lxb_selectors_match_attribute()
1290 switch (attr->match) { in lxb_selectors_match_attribute()
1387 lxb_dom_attr_t *attr; in lxb_selectors_pseudo_class() local
1401 return attr != NULL; in lxb_selectors_pseudo_class()
1460 if (attr != NULL) { in lxb_selectors_pseudo_class()
1512 return attr != NULL; in lxb_selectors_pseudo_class()
1529 return attr != NULL; in lxb_selectors_pseudo_class()
1753 lxb_dom_attr_t *attr; in lxb_selectors_pseudo_class_disabled() local
1758 if (attr == NULL) { in lxb_selectors_pseudo_class_disabled()
1861 lxb_dom_attr_t *attr; in lxb_selectors_pseudo_class_read_write() local
[all …]
/php-src/ext/pdo_mysql/tests/
H A Dbug71145.phpt14 $attr = [
20 $pdo = MySQLPDOTest::factoryWithAttr($attr);
/php-src/ext/pdo_mysql/tests/inc/
H A Dmysql_pdo_test.inc15 $attr = PDO_MYSQL_TEST_ATTR;
18 $attr = $myAttr;
20 $attr = is_string($attr) && strlen($attr) ? unserialize($attr) : null;
23 $db = new $classname($dsn, $user, $pass, $attr);
34 static function factoryWithAttr($attr) {
35 return self::factory('PDO', null, $attr);

Completed in 50 milliseconds

123456789