Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 110) sorted by relevance

12345

/PHP-7.1/ext/intl/doc/
H A Dformatter_api.php230 * @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 Dcollator_api.php188 * @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-7.1/ext/pdo_mysql/tests/
H A Dbug_74376.phpt14 $attr = getenv('PDOTEST_ATTR');
15 $attr = $attr ? unserialize($attr) : [];
16 $attr[PDO::ATTR_PERSISTENT] = true;
17 $attr[PDO::ATTR_EMULATE_PREPARES] = false;
19 putenv('PDOTEST_ATTR=' . serialize($attr));
H A Dbug_61411.phpt25 $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-7.1/ext/dom/examples/
H A Ddom1.php45 $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-7.1/ext/xmlreader/tests/
H A D003.phpt23 $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 …]
H A D003-mb.phpt23 $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-7.1/ext/dom/tests/
H A Dregsiter_node_class.phpt23 $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 Dbug47848.phpt12 $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 DDOMAttr_value_basic_002.phpt10 $attr = new DOMAttr('category');
11 $attr->value = 1;
12 print $attr->value;
H A Dbug61858.phpt13 $attr = $example->getAttributeNode('a');
15 var_dump($attr);
16 print_r($attr);
H A Dbug45251.phpt21 foreach ($bbb->attributes as $attr)
23 $ccc->setAttributeNode($attr);
26 echo $attr->parentNode->localName;
/PHP-7.1/ext/soap/
H A Dphp_packet_soap.c30 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 …]
H A Dphp_schema.c988 if (attr) { in schema_min_max()
995 if (attr) { in schema_min_max()
1593 if (attr) { in schema_element()
1608 if (attr) { in schema_element()
1616 if (attr) { in schema_element()
1627 if (attr) { in schema_element()
1890 attr = attr->next; in schema_attribute()
2120 if (attr->name == NULL && attr->ref != NULL) { in schema_attribute_fixup()
2125 attr->name = estrdup(attr->ref); in schema_attribute_fixup()
2490 free(attr); in delete_extra_attribute_persistent()
[all …]
/PHP-7.1/ext/oci8/tests/
H A Dconn_attr_1.phpt29 foreach($attr_array as $attr) {
30 get_attr($c,$attr);
38 foreach($attr_array as $attr) {
39 set_attr($conn1,$attr,1);
40 get_attr($conn1,$attr);
44 foreach($attr_array as $attr) {
45 set_attr($conn2,$attr,2);
46 get_attr($conn2,$attr);
50 foreach($attr_array as $attr) {
51 set_attr($conn3,$attr,3);
[all …]
H A Dconn_attr.inc51 function get_attr($conn,$attr)
53 $sel_stmt="select " .$attr. " from v\$session where sid =
59 echo "The value of ".$attr ." is ".oci_result($s2,1)."\n";
88 function set_attr($conn,$attr,$sufix)
90 if (!strcmp($attr,'MODULE'))
92 else if (!strcmp($attr,'ACTION'))
94 else if (!strcmp($attr,'CLIENT_INFO'))
96 else if (!strcmp($attr,'CLIENT_IDENTIFIER'))
101 echo "Value of $attr has been set successfully\n";
127 function get_sys_attr($conn,$attr)
[all …]
H A Dconn_attr_2.phpt31 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-7.1/ext/xmlreader/examples/
H A Dxmlreader_file.php10 $attr = $reader->moveToFirstAttribute(); variable
11 while ($attr) {
14 $attr = $reader->moveToNextAttribute(); variable
H A Dxmlreader_string.php21 $attr = $reader->moveToFirstAttribute(); variable
22 while ($attr) {
25 $attr = $reader->moveToNextAttribute(); variable
/PHP-7.1/ext/pdo/tests/
H A Dpdo_test.inc25 $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-7.1/ext/simplexml/tests/
H A D012.phpt19 $sxe["attr"] = "value";
23 $sxe["attr"] = "new value";
35 <foo attr="value"/>
37 <foo attr="new value"/>
H A D020.phpt8 $doc = simplexml_load_string('<root><name attr="foo">bar</name></root>');
9 print $doc->name["attr"];
11 if ($doc->name["attr"] == "foo") {
H A Dbug62639.phpt19 <value attr="Some Attr">Some Value</value>
35 <c><value attr="Some Attr">Some Value</value></c>
49 ["attr"]=>
58 ["attr"]=>
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_stmt_attr_get.phpt46 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-7.1/ext/simplexml/
H A Dsimplexml.c306 attr = attr->next; in sxe_prop_dim_read()
314 attr = attr->next; in sxe_prop_dim_read()
573 attr = attr->next; in sxe_prop_dim_write()
582 attr = attr->next; in sxe_prop_dim_write()
784 attr = attr->next; in sxe_prop_dim_exists()
793 attr = attr->next; in sxe_prop_dim_exists()
797 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
904 attr = attr->next; in sxe_prop_dim_delete()
1064 attr = attr->next; in sxe_prop_is_empty()
1181 attr = attr->next; in sxe_get_prop_hash()
[all …]

Completed in 49 milliseconds

12345