/PHP-5.4/ext/intl/doc/ |
H A D | formatter_api.php | 230 * @param integer $attr One of UNumberFormatAttribute constants 234 public function setAttribute($attr, $value) {} argument 242 * @param integer $attr One of UNumberFormatTextAttribute constants 246 public function setTextAttribute($attr, $value) {} argument 258 public function setSymbol($attr, $value) {} argument 273 * @param integer $attr One of UNumberFormatAttribute constants 276 public function getAttribute($attr) {} argument 280 * @param integer $attr One of UNumberFormatTextAttribute constants 283 public function getTextAttribute($attr) {} argument 290 public function getSymbol($attr) {} argument [all …]
|
H A D | collator_api.php | 188 * @param int $attr Attribute to get value for. 192 public function getAttribute( $attr ) {} argument 199 * @param int $attr Attribute. 204 public function setAttribute( $attr, $val ) {} argument 343 * @param int $attr Attribute to get value for. 347 function collator_get_attribute( $coll, $attr ) {} argument 372 * @param int $attr Attribute. 377 function collator_set_attribute( $coll, $attr, $val ) {} argument
|
/PHP-5.4/ext/dom/examples/ |
H A D | dom1.php | 45 $attr = $rootnode->setAttribute("src", "picture.gif"); variable 46 $attr = $rootnode->getAttribute("src"); variable 47 print_r($attr); 51 $attr = $rootnode->getAttributeNode("src"); variable 52 print_node($attr); 55 $attr = $rootnode->removeAttribute("src"); variable 56 print "Removed " . $attr . " attributes.\n";
|
/PHP-5.4/ext/xmlreader/tests/ |
H A D | 003.phpt | 23 $attr = $reader->moveToFirstAttribute(); 28 echo "1st attr (num) failed\n"; 32 $attr = $reader->moveToNextAttribute(); 37 echo "2nd attr (idx) failed\n"; 41 $attr = $reader->moveToAttribute('num'); 46 echo "attr num failed\n"; 49 $attr = $reader->moveToAttribute('idx'); 54 echo "attr idx failed\n"; 58 $attr = $reader->moveToAttributeNo(0); 63 echo "attr 0 failed\n"; [all …]
|
/PHP-5.4/ext/dom/tests/ |
H A D | regsiter_node_class.phpt | 23 $attr = $root->getAttributeNode('a'); 24 echo get_class($attr), "\n"; 25 print $attr->testit()."\n"; 26 unset($attr); 28 $attr = $root->getAttributeNode('a'); 29 echo get_class($attr), "\n"; 30 print $attr->testit()."\n";
|
H A D | bug47848.phpt | 12 $fromdom->loadXML('<data xmlns:ai="http://altruists.org" ai:attr="namespaced" />'); 14 $attr= $fromdom->firstChild->attributes->item(0); 16 $att = $aDOM->importNode($attr); 18 $aDOM->documentElement->appendChild($aDOM->importNode($attr, true)); 25 <f2f:a xmlns:f2f="http://friend2friend.net/" xmlns:ai="http://altruists.org" ai:attr="namespaced"/>
|
H A D | DOMAttr_value_basic_002.phpt | 10 $attr = new DOMAttr('category'); 11 $attr->value = 1; 12 print $attr->value;
|
H A D | bug45251.phpt | 21 foreach ($bbb->attributes as $attr) 23 $ccc->setAttributeNode($attr); 26 echo $attr->parentNode->localName;
|
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;
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | bug_61411.phpt | 25 $attr = getenv('PDOTEST_ATTR'); 26 if (!$attr) { 27 $attr = array(); 29 $attr = unserialize($attr); 31 $attr[PDO::ATTR_PERSISTENT] = true; 32 $attr[PDO::ATTR_EMULATE_PREPARES] = false; 33 putenv('PDOTEST_ATTR='.serialize($attr));
|
/PHP-5.4/ext/soap/ |
H A D | php_schema.c | 986 if (attr) { in schema_min_max() 993 if (attr) { in schema_min_max() 1591 if (attr) { in schema_element() 1606 if (attr) { in schema_element() 1614 if (attr) { in schema_element() 1625 if (attr) { in schema_element() 1888 attr = attr->next; in schema_attribute() 2117 if (attr->name == NULL && attr->ref != NULL) { in schema_attribute_fixup() 2122 attr->name = estrdup(attr->ref); in schema_attribute_fixup() 2502 free(attr); in delete_extra_attribute_persistent() [all …]
|
H A D | php_packet_soap.c | 30 xmlAttrPtr attr; in parse_packet_soap() local 82 attr = env->properties; in parse_packet_soap() 83 while (attr != NULL) { in parse_packet_soap() 84 if (attr->ns == NULL) { in parse_packet_soap() 99 attr = attr->next; in parse_packet_soap() 130 attr = body->properties; in parse_packet_soap() 131 while (attr != NULL) { in parse_packet_soap() 132 if (attr->ns == NULL) { in parse_packet_soap() 149 attr = attr->next; in parse_packet_soap() 159 while (attr != NULL) { in parse_packet_soap() [all …]
|
/PHP-5.4/ext/oci8/tests/ |
H A D | conn_attr_1.phpt | 27 foreach($attr_array as $attr) { 28 get_attr($c,$attr); 36 foreach($attr_array as $attr) { 37 set_attr($conn1,$attr,1); 38 get_attr($conn1,$attr); 42 foreach($attr_array as $attr) { 43 set_attr($conn2,$attr,2); 44 get_attr($conn2,$attr); 48 foreach($attr_array as $attr) { 49 set_attr($conn3,$attr,3); [all …]
|
H A D | conn_attr.inc | 53 function get_attr($conn,$attr) 55 $sel_stmt="select " .$attr. " from v\$session where sid = 61 echo "The value of ".$attr ." is ".oci_result($s2,1)."\n"; 90 function set_attr($conn,$attr,$sufix) 92 if (!strcmp($attr,'MODULE')) 94 else if (!strcmp($attr,'ACTION')) 96 else if (!strcmp($attr,'CLIENT_INFO')) 98 else if (!strcmp($attr,'CLIENT_IDENTIFIER')) 103 echo "Value of $attr has been set successfully\n"; 129 function get_sys_attr($conn,$attr) [all …]
|
H A D | conn_attr_2.phpt | 31 foreach($attr_array as $attr) { 32 set_attr($pc1,$attr,100); 38 foreach($attr_array as $attr) { 39 get_attr($pc3,$attr); 45 foreach($attr_array as $attr) { 46 get_attr($pc2,$attr); 53 // Re-open a persistent connection and check for the attr values. 56 foreach($attr_array as $attr) { 57 get_attr($pc4,$attr);
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_test.inc | 25 $attr = getenv('PDOTEST_ATTR'); 26 if (is_string($attr) && strlen($attr)) { 27 $attr = unserialize($attr); 29 $attr = null; 35 $db = new $classname($dsn, $user, $pass, $attr);
|
/PHP-5.4/ext/xmlreader/examples/ |
H A D | xmlreader_file.php | 10 $attr = $reader->moveToFirstAttribute(); variable 11 while ($attr) { 14 $attr = $reader->moveToNextAttribute(); variable
|
H A D | xmlreader_string.php | 21 $attr = $reader->moveToFirstAttribute(); variable 22 while ($attr) { 25 $attr = $reader->moveToNextAttribute(); variable
|
/PHP-5.4/ext/simplexml/tests/ |
H A D | 012.phpt | 19 $sxe["attr"] = "value"; 23 $sxe["attr"] = "new value"; 36 <foo attr="value"/> 38 <foo attr="new value"/>
|
H A D | 020.phpt | 8 $doc = simplexml_load_string('<root><name attr="foo">bar</name></root>'); 9 print $doc->name["attr"]; 11 if ($doc->name["attr"] == "foo") {
|
H A D | 023.phpt | 15 <root attr='foo bar baz'></root> 21 var_dump($sxe['attr']); 28 ["attr"]=>
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_attr_get.phpt | 46 foreach ($valid_attr as $k => $attr) { 47 if (false === ($tmp = mysqli_stmt_attr_get($stmt, $attr))) { 49 gettype($tmp), $tmp, $k, $attr); 55 foreach ($valid_attr as $k => $attr) { 56 if (!is_null($tmp = @mysqli_stmt_attr_get($stmt, $attr))) { 58 gettype($tmp), $tmp, $k, $attr);
|
/PHP-5.4/ext/simplexml/ |
H A D | simplexml.c | 316 attr = attr->next; in sxe_prop_dim_read() 324 attr = attr->next; in sxe_prop_dim_read() 576 attr = attr->next; in sxe_prop_dim_write() 585 attr = attr->next; in sxe_prop_dim_write() 791 attr = attr->next; in sxe_prop_dim_exists() 800 attr = attr->next; in sxe_prop_dim_exists() 804 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists() 922 attr = attr->next; in sxe_prop_dim_delete() 1116 attr = attr->next; in sxe_get_prop_hash() 1460 while (attr) { in sxe_add_namespaces() [all …]
|
/PHP-5.4/ext/intl/tests/ |
H A D | formatter_get_set_text_attribute.phpt | 35 list( $attr, $new_val, $test_number ) = $data; 38 if( $attr == NumberFormatter::PADDING_CHARACTER ) 42 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr ); 50 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val ); 55 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr ); 64 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val ); 66 if( $attr == NumberFormatter::PADDING_CHARACTER )
|