/PHP-7.4/ext/xmlreader/tests/ |
H A D | 015.phpt | 26 $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 D | 004.phpt | 22 $attr = $reader->moveToFirstAttribute(); 23 while ($attr) { 26 $attr = $reader->moveToNextAttribute();
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMDocument_createAttribute_variation.phpt | 9 $attr = $dom->createAttribute('string'); 10 echo get_class($attr);
|
H A D | DOMAttr_name_basic_001.phpt | 10 $attr = new DOMAttr('category', 'books'); 11 print $attr->name;
|
H A D | DOMAttr_value_basic_001.phpt | 10 $attr = new DOMAttr('category'); 11 print $attr->value."\n";
|
H A D | bug37456.phpt | 14 $attr = $root->setAttribute('bar', 'newval'); 15 print $attr->nodeValue;
|
H A D | bug73907.phpt | 13 $attr = $doc->documentElement; 15 var_dump($attr);
|
H A D | DOMAttr_ownerElement_error_001.phpt | 14 $attr = $root->setAttribute('category', 'books'); 17 var_dump($attr->ownerElement);
|
H A D | dom001.phpt | 46 //$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 D | bug44648.phpt | 14 $attr = new DOMAttr('@acb', '123'); 15 $root->setAttributeNode($attr);
|
/PHP-7.4/Zend/ |
H A D | zend_ast.c | 53 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 D | bug76539.phpt | 6 protected $attr = self::class . 'Test'; 9 echo $this->attr, PHP_EOL;
|
H A D | methods_001.phpt | 15 public function __set($attr, $val) { 16 var_dump($attr .'==='. $val);
|
/PHP-7.4/ext/intl/tests/ |
H A D | formatter_get_set_text_attribute.phpt | 36 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 D | formatter_get_set_text_attribute_var2.phpt | 36 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 D | profile06.phpt | 14 $attr = $root->child->attributes('reserved-ns'); 15 echo $attr['attribute'];
|
H A D | 026.phpt | 17 foreach($xml->attributes() as $attr => $value) 19 echo " $attr=\"$value\"";
|
H A D | 028.phpt | 15 foreach($xml->attributes() as $attr => $value) 17 echo " $attr=\"$value\"";
|
/PHP-7.4/ext/soap/ |
H A D | php_xml.h | 27 #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 D | php_xml.c | 273 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 D | bug_44159.phpt | 18 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 D | bug71145.phpt | 14 $attr = array( 18 putenv('PDOTEST_ATTR=' . serialize($attr));
|
H A D | mysql_pdo_test.inc | 12 $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 D | xml007.phpt | 13 function startHandler($parser,$tag,$attr) 15 var_dump($tag,$attr);
|
/PHP-7.4/ext/dom/ |
H A D | element.c | 325 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 …]
|