/PHP-8.2/ext/dom/tests/ |
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'); 18 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 | 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-8.2/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\"";
|
H A D | 018.phpt | 33 foreach($node->attributes() as $attr => $value) { 34 echo " $attr=\"$value\"";
|
/PHP-8.2/ext/soap/ |
H A D | php_xml.h | 25 #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 D | php_xml.c | 279 xmlAttrPtr attr; in get_node_with_attribute_ex() local 289 attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_ex() 290 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex() 302 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_recursive_ex() local 303 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
|
/PHP-8.2/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-8.2/ext/dom/ |
H A D | element.c | 207 xmlNodePtr attr; in PHP_METHOD() local 218 if (attr) { in PHP_METHOD() 221 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_METHOD() 277 if (attr != NULL) { in PHP_METHOD() 297 if (!attr) { in PHP_METHOD() 607 xmlAttr *attr; in PHP_METHOD() local 706 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_METHOD() 734 for (xmlAttrPtr attr = node->properties; attr != NULL; attr = attr->next) { in dom_remove_eliminated_ns_single_element() local 736 attr->ns = NULL; in dom_remove_eliminated_ns_single_element() 1008 xmlNodePtr attr; in PHP_METHOD() local [all …]
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | bug71145.phpt | 15 $attr = array( 20 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-8.2/ext/xml/tests/ |
H A D | xml007.phpt | 14 function startHandler($parser,$tag,$attr) 16 var_dump($tag,$attr);
|
/PHP-8.2/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-8.2/Zend/ |
H A D | zend_attributes.h | 66 void (*validator)(zend_attribute *attr, uint32_t target, zend_class_entry *scope); 75 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla… 78 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr); 88 uint32_t zend_attribute_attribute_get_flags(zend_attribute *attr, zend_class_entry *scope);
|
/PHP-8.2/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-8.2/ext/xmlwriter/tests/ |
H A D | 010.phpt | 13 var_dump(xmlwriter_start_attribute($xw, "attr")); 53 string(14) "<tag attr=""/>"
|
/PHP-8.2/ext/zip/ |
H A D | php_zip.stub.php | 795 …public function setExternalAttributesName(string $name, int $opsys, int $attr, int $flags = 0): bo… 798 …public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0): boo… 802 * @param int $attr 805 … public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0): bool {} 809 * @param int $attr 812 public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0): bool {}
|
/PHP-8.2/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)
|