/PHP-8.1/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 | 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()
|
H A D | php_encoding.c | 299 attr = get_attribute(attr, "id"); in soap_check_zval_ref() 300 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref() 303 attr = attr->next; in soap_check_zval_ref() 305 if (attr) { in soap_check_zval_ref() 321 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref() 322 if (attr) { in soap_check_zval_ref() 1500 if (attr->fixed && strcmp(attr->fixed, str_val) != 0) { in to_zval_object_ex() 2448 attr->children && attr->children->content) { in to_zval_array() 2482 attr->children && attr->children->content) { in to_zval_array() 2491 attr->children && attr->children->content) { in to_zval_array() [all …]
|
/PHP-8.1/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.1/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.1/ext/zip/ |
H A D | php_zip.stub.php | 191 …public function setExternalAttributesName(string $name, int $opsys, int $attr, int $flags = 0): bo… argument 194 …public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0): boo… argument 198 * @param int $attr 201 … public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0): bool {} argument 205 * @param int $attr 208 public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0): bool {} argument
|
/PHP-8.1/ext/dom/tests/ |
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.1/ext/simplexml/tests/ |
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.1/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.1/ext/zend_test/ |
H A D | test.c | 667 zend_attribute *attr; in PHP_MINIT_FUNCTION() local 669 attr = zend_add_parameter_attribute( in PHP_MINIT_FUNCTION() 676 ZVAL_PSTRING(&attr->args[0].value, "value1"); in PHP_MINIT_FUNCTION() 682 zend_attribute *attr; in PHP_MINIT_FUNCTION() local 684 attr = zend_add_parameter_attribute( in PHP_MINIT_FUNCTION() 691 ZVAL_PSTRING(&attr->args[0].value, "value2"); in PHP_MINIT_FUNCTION() 693 attr = zend_add_parameter_attribute( in PHP_MINIT_FUNCTION() 700 ZVAL_PSTRING(&attr->args[0].value, "value3"); in PHP_MINIT_FUNCTION() 706 zend_attribute *attr; in PHP_MINIT_FUNCTION() local 708 attr = zend_add_parameter_attribute( in PHP_MINIT_FUNCTION() [all …]
|
/PHP-8.1/ext/xml/tests/ |
H A D | xml007.phpt | 14 function startHandler($parser,$tag,$attr) 16 var_dump($tag,$attr);
|
/PHP-8.1/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.1/ext/com_dotnet/ |
H A D | com_typeinfo.c | 373 TYPEATTR *attr; in php_com_locate_typeinfo() local 376 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo() 378 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo() 398 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo() 475 TYPEATTR *attr; in php_com_process_typeinfo() local 484 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo() 489 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo() 492 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo() 502 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo() 514 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo() [all …]
|
/PHP-8.1/ext/xmlwriter/tests/ |
H A D | 010.phpt | 13 var_dump(xmlwriter_start_attribute($xw, "attr")); 53 string(14) "<tag attr=""/>"
|
/PHP-8.1/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-8.1/Zend/ |
H A D | zend_attributes.h | 63 void (*validator)(zend_attribute *attr, uint32_t target, zend_class_entry *scope); 72 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla… 75 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr);
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist_calc.c | 148 zend_attribute *attr; in zend_persist_attributes_calc() local 155 ZEND_HASH_FOREACH_PTR(attributes, attr) { in zend_persist_attributes_calc() 156 ADD_SIZE(ZEND_ATTRIBUTE_SIZE(attr->argc)); in zend_persist_attributes_calc() 157 ADD_INTERNED_STRING(attr->name); in zend_persist_attributes_calc() 158 ADD_INTERNED_STRING(attr->lcname); in zend_persist_attributes_calc() 160 for (i = 0; i < attr->argc; i++) { in zend_persist_attributes_calc() 161 if (attr->args[i].name) { in zend_persist_attributes_calc() 162 ADD_INTERNED_STRING(attr->args[i].name); in zend_persist_attributes_calc() 164 zend_persist_zval_calc(&attr->args[i].value); in zend_persist_attributes_calc()
|