/PHP-5.5/ext/dom/tests/ |
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 | 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 | DOMAttr_ownerElement_error_001.phpt | 14 $attr = $root->setAttribute('category', 'books'); 17 var_dump($attr->ownerElement);
|
H A D | bug44648.phpt | 14 $attr = new DOMAttr('@acb', '123'); 15 $root->setAttributeNode($attr);
|
H A D | dom_set_attr_node.phpt | 23 $attr = $root->getAttributeNode('a'); 29 $root2->setAttributeNode($attr);
|
/PHP-5.5/ext/xmlreader/tests/ |
H A D | 004.phpt | 23 $attr = $reader->moveToFirstAttribute(); 24 while ($attr) { 27 $attr = $reader->moveToNextAttribute();
|
/PHP-5.5/ext/soap/ |
H A D | php_xml.h | 28 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument 29 …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()
|
H A D | php_encoding.c | 313 attr = get_attribute(attr, "id"); in soap_check_zval_ref() 314 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref() 317 attr = attr->next; in soap_check_zval_ref() 319 if (attr) { in soap_check_zval_ref() 335 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref() 336 if (attr) { in soap_check_zval_ref() 2584 attr->children && attr->children->content) { in to_zval_array() 2589 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array() 2618 attr->children && attr->children->content) { in to_zval_array() 2627 attr->children && attr->children->content) { in to_zval_array() [all …]
|
/PHP-5.5/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-5.5/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-5.5/ext/intl/tests/ |
H A D | formatter_get_set_attribute.phpt | 16 // attr_name => array( attr, value ) 46 list( $attr, $new_val, $number ) = $args; 50 $orig_val = ut_nfmt_get_attribute( $fmt, $attr ); 63 $rc = ut_nfmt_set_attribute( $fmt, $attr, $new_val ); 73 $attr_val_check = ut_nfmt_get_attribute( $fmt, $attr ); 86 if( $attr != NumberFormatter::INTEGER_DIGITS && $attr != NumberFormatter::FRACTION_DIGITS 87 … && $attr != NumberFormatter::FORMAT_WIDTH && $attr != NumberFormatter::SIGNIFICANT_DIGITS_USED ) 88 ut_nfmt_set_attribute( $fmt, $attr, $orig_val );
|
/PHP-5.5/Zend/tests/traits/ |
H A D | methods_001.phpt | 15 public function __set($attr, $val) { 16 var_dump($attr .'==='. $val);
|
/PHP-5.5/ext/pdo_mysql/tests/ |
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-5.5/ext/dom/ |
H A D | element.c | 336 xmlNodePtr attr; in PHP_FUNCTION() local 346 if (attr) { in PHP_FUNCTION() 347 switch (attr->type) { in PHP_FUNCTION() 349 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_FUNCTION() 404 if (attr != NULL) { in PHP_FUNCTION() 405 switch (attr->type) { in PHP_FUNCTION() 424 if (!attr) { in PHP_FUNCTION() 746 xmlAttr *attr; in PHP_FUNCTION() local 844 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION() 1064 xmlNodePtr attr; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_typeinfo.c | 334 TYPEATTR *attr; in php_com_locate_typeinfo() local 337 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo() 339 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo() 359 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo() 436 TYPEATTR *attr; in php_com_process_typeinfo() local 444 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo() 449 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo() 452 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo() 462 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC); in php_com_process_typeinfo() 474 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo() [all …]
|
/PHP-5.5/ext/xml/tests/ |
H A D | xml007.phpt | 13 function startHandler($parser,$tag,$attr) 15 var_dump($tag,$attr);
|
/PHP-5.5/ext/xmlwriter/tests/ |
H A D | 010.phpt | 15 var_dump(xmlwriter_start_attribute($xw, "attr")); 44 string(14) "<tag attr=""/>"
|
/PHP-5.5/ext/standard/ |
H A D | link_win32.c | 119 DWORD attr; in PHP_FUNCTION() local 169 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { in PHP_FUNCTION() 177 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0)); in PHP_FUNCTION()
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_class.c | 128 ZEND_ARG_INFO(0, attr) 132 ZEND_ARG_INFO(0, attr) 137 ZEND_ARG_INFO(0, attr)
|