/PHP-7.4/ext/xmlreader/tests/ |
H A D | 003-mb.phpt | 22 $attr = $reader->moveToFirstAttribute(); 27 echo "1st attr (num) failed\n"; 31 $attr = $reader->moveToNextAttribute(); 36 echo "2nd attr (idx) failed\n"; 40 $attr = $reader->moveToAttribute('num'); 45 echo "attr num failed\n"; 48 $attr = $reader->moveToAttribute('idx'); 53 echo "attr idx failed\n"; 57 $attr = $reader->moveToAttributeNo(0); 62 echo "attr 0 failed\n"; [all …]
|
H A D | 003.phpt | 22 $attr = $reader->moveToFirstAttribute(); 27 echo "1st attr (num) failed\n"; 31 $attr = $reader->moveToNextAttribute(); 36 echo "2nd attr (idx) failed\n"; 40 $attr = $reader->moveToAttribute('num'); 45 echo "attr num failed\n"; 48 $attr = $reader->moveToAttribute('idx'); 53 echo "attr idx failed\n"; 57 $attr = $reader->moveToAttributeNo(0); 62 echo "attr 0 failed\n"; [all …]
|
H A D | 003-get-errors.phpt | 28 $attr = $reader->moveToNextAttribute(); 29 var_dump($attr); 34 $attr = $reader->getAttribute(''); 35 var_dump($attr); 41 $attr = $reader->getAttribute('isbn'); 42 var_dump($attr); // NULL expected 48 $attr = $reader->getAttributeNo(911); 49 var_dump($attr); // NULL expected
|
H A D | 003-move-errors.phpt | 28 $attr = $reader->moveToNextAttribute(); 29 var_dump($attr); 34 $attr = $reader->moveToAttribute(''); 35 var_dump($attr); 41 $attr = $reader->moveToAttribute('isbn'); 42 var_dump($attr); 48 $attr = $reader->moveToAttributeNo(911); 49 var_dump($attr);
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug_74376.phpt | 14 $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 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-7.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"; 31 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 | bug61858.phpt | 13 $attr = $example->getAttributeNode('a'); 15 var_dump($attr); 16 print_r($attr);
|
H A D | bug45251.phpt | 21 foreach ($bbb->attributes as $attr) 23 $ccc->setAttributeNode($attr); 26 echo $attr->parentNode->localName;
|
H A D | toString_exceptions.phpt | 18 '<root xmlns:ns="foo"><node attr="foo" /><node>Text</node><ns:node/><?pi foobar?></root>'); 27 $attr = $attrs[0]; 28 try { $attr->value = $badStr; } catch (Exception $e) { echo "Exception\n"; } 29 try { $attr->nodeValue = $badStr; } catch (Exception $e) { echo "Exception\n"; } 58 <root xmlns:ns="foo"><node attr="foo"/><node>Text</node><ns:node/><?pi foobar?></root>
|
/PHP-7.4/Zend/ |
H A D | zend_ast.h | 163 zend_ast_attr attr; /* Additional attribute, use depending on node type */ member 171 zend_ast_attr attr; member 180 zend_ast_attr attr; member 187 zend_ast_attr attr; /* Unused - for structure compatibility */ member 201 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr); 227 ast->attr = attr; in zend_ast_create_ex_0() 232 ast->attr = attr; in zend_ast_create_ex_1() 237 ast->attr = attr; in zend_ast_create_ex_2() 242 ast->attr = attr; in zend_ast_create_ex_3() 247 ast->attr = attr; in zend_ast_create_ex_4() [all …]
|
/PHP-7.4/ext/soap/ |
H A D | php_packet_soap.c | 29 xmlAttrPtr attr; in parse_packet_soap() local 81 attr = env->properties; in parse_packet_soap() 82 while (attr != NULL) { in parse_packet_soap() 83 if (attr->ns == NULL) { in parse_packet_soap() 98 attr = attr->next; in parse_packet_soap() 129 attr = body->properties; in parse_packet_soap() 130 while (attr != NULL) { in parse_packet_soap() 131 if (attr->ns == NULL) { in parse_packet_soap() 148 attr = attr->next; in parse_packet_soap() 158 while (attr != NULL) { in parse_packet_soap() [all …]
|
H A D | php_schema.c | 987 if (attr) { in schema_min_max() 994 if (attr) { in schema_min_max() 1592 if (attr) { in schema_element() 1607 if (attr) { in schema_element() 1615 if (attr) { in schema_element() 1624 if (attr) { in schema_element() 1888 attr = attr->next; in schema_attribute() 2118 if (attr->name == NULL && attr->ref != NULL) { in schema_attribute_fixup() 2123 attr->name = estrdup(attr->ref); in schema_attribute_fixup() 2488 free(attr); in delete_extra_attribute_persistent() [all …]
|
/PHP-7.4/ext/oci8/tests/ |
H A D | conn_attr_1.phpt | 29 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 D | conn_attr.inc | 51 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 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-7.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-7.4/ext/simplexml/tests/ |
H A D | 012.phpt | 19 $sxe["attr"] = "value"; 23 $sxe["attr"] = "new value"; 35 <foo attr="value"/> 37 <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 | bug62639.phpt | 19 <value attr="Some Attr">Some Value</value> 35 <c><value attr="Some Attr">Some Value</value></c> 49 ["attr"]=> 58 ["attr"]=>
|
H A D | 023.phpt | 15 <root attr='foo bar baz'></root> 21 var_dump($sxe['attr']); 28 ["attr"]=>
|
/PHP-7.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 (false !== ($tmp = @mysqli_stmt_attr_get($stmt, $attr))) { 58 gettype($tmp), $tmp, $k, $attr);
|
/PHP-7.4/ext/simplexml/ |
H A D | simplexml.c | 306 attr = attr->next; in sxe_prop_dim_read() 314 attr = attr->next; in sxe_prop_dim_read() 554 attr = attr->next; in sxe_prop_dim_write() 563 attr = attr->next; in sxe_prop_dim_write() 771 attr = attr->next; in sxe_prop_dim_exists() 780 attr = attr->next; in sxe_prop_dim_exists() 784 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists() 895 attr = attr->next; in sxe_prop_dim_delete() 1056 attr = attr->next; in sxe_prop_is_empty() 1172 attr = attr->next; in sxe_get_prop_hash() [all …]
|