Home
last modified time | relevance | path

Searched refs:attr (Results 26 – 50 of 120) sorted by relevance

12345

/PHP-7.4/ext/xmlreader/tests/
H A D015.phpt26 $attr = $reader->moveToFirstAttribute();
27 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns1.namespace.org/');
31 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns2.namespace.org/');
35 $attr = $reader->moveToAttributeNs('isbn', 'http://www.ns2.namespace.org/');
40 $attr = $reader->moveToAttributeNs('elephpant', 'http://www.ns2.namespace.org/');
42 if (!$attr) {
H A D004.phpt22 $attr = $reader->moveToFirstAttribute();
23 while ($attr) {
26 $attr = $reader->moveToNextAttribute();
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_createAttribute_variation.phpt9 $attr = $dom->createAttribute('string');
10 echo get_class($attr);
H A DDOMAttr_name_basic_001.phpt10 $attr = new DOMAttr('category', 'books');
11 print $attr->name;
H A DDOMAttr_value_basic_001.phpt10 $attr = new DOMAttr('category');
11 print $attr->value."\n";
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";
H A Dbug44648.phpt14 $attr = new DOMAttr('@acb', '123');
15 $root->setAttributeNode($attr);
/PHP-7.4/Zend/
H A Dzend_ast.c53 ast->attr = 0; in zend_ast_create_znode()
64 ast->attr = attr; in zend_ast_create_zval_int()
99 ast->attr = attr; in zend_ast_create_constant()
123 ast->attr = 0; in zend_ast_create_decl()
145 ast->attr = 0; in zend_ast_create_0()
158 ast->attr = 0; in zend_ast_create_1()
321 ast->attr = attr; in zend_ast_create_from_va_list()
764 new->attr = ast->attr; in zend_ast_tree_copy()
770 new->attr = ast->attr; in zend_ast_tree_copy()
778 new->attr = list->attr; in zend_ast_tree_copy()
[all …]
/PHP-7.4/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-7.4/ext/intl/tests/
H A Dformatter_get_set_text_attribute.phpt36 list( $attr, $new_val, $test_number ) = $data;
39 if( $attr == NumberFormatter::PADDING_CHARACTER )
43 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
51 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
56 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
65 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
67 if( $attr == NumberFormatter::PADDING_CHARACTER )
H A Dformatter_get_set_text_attribute_var2.phpt36 list( $attr, $new_val, $test_number ) = $data;
39 if( $attr == NumberFormatter::PADDING_CHARACTER )
43 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
51 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
56 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
65 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
67 if( $attr == NumberFormatter::PADDING_CHARACTER )
/PHP-7.4/ext/simplexml/tests/
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\"";
H A D028.phpt15 foreach($xml->attributes() as $attr => $value)
17 echo " $attr=\"$value\"";
/PHP-7.4/ext/soap/
H A Dphp_xml.h27 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument
28 …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-7.4/ext/pdo/tests/
H A Dbug_44159.phpt18 foreach ($attrs as $attr) {
19 var_dump($pdo->setAttribute($attr, NULL));
20 var_dump($pdo->setAttribute($attr, 1));
21 var_dump($pdo->setAttribute($attr, 'nonsense'));
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug71145.phpt14 $attr = array(
18 putenv('PDOTEST_ATTR=' . serialize($attr));
H A Dmysql_pdo_test.inc12 $attr = getenv('PDOTEST_ATTR');
14 if (is_string($attr) && strlen($attr)) {
15 $attr = unserialize($attr);
17 $attr = null;
24 $db = new $classname($dsn, $user, $pass, $attr);
/PHP-7.4/ext/xml/tests/
H A Dxml007.phpt13 function startHandler($parser,$tag,$attr)
15 var_dump($tag,$attr);
/PHP-7.4/ext/dom/
H A Delement.c325 xmlNodePtr attr; in PHP_FUNCTION() local
336 if (attr) { in PHP_FUNCTION()
337 switch (attr->type) { in PHP_FUNCTION()
339 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_FUNCTION()
396 if (attr != NULL) { in PHP_FUNCTION()
397 switch (attr->type) { in PHP_FUNCTION()
416 if (!attr) { in PHP_FUNCTION()
745 xmlAttr *attr; in PHP_FUNCTION() local
844 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION()
1093 xmlNodePtr attr; in PHP_FUNCTION() local
[all …]

Completed in 36 milliseconds

12345