Home
last modified time | relevance | path

Searched refs:attr (Results 26 – 50 of 149) sorted by relevance

123456

/PHP-8.2/ext/simplexml/tests/
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.phpt17 <value attr="Some Attr">Some Value</value>
33 <c><value attr="Some Attr">Some Value</value></c>
47 ["attr"]=>
56 ["attr"]=>
H A D023.phpt15 <root attr='foo&nbsp;bar&nbsp;baz'></root>
21 var_dump($sxe['attr']);
27 ["attr"]=>
/PHP-8.2/Zend/tests/attributes/
H A D027_trailing_comma_args.phpt15 $attr = $ref->getAttributes()[0];
16 var_dump($attr->getName(), $attr->getArguments());
H A D028_grouped.phpt28 $attr = $ref->getAttributes();
29 var_dump(get_class($ref), count($attr));
31 foreach ($attr as $a) {
/PHP-8.2/ext/dom/tests/
H A Dbug61858.phpt11 $attr = $example->getAttributeNode('a');
13 var_dump($attr);
14 print_r($attr);
H A Dbug45251.phpt21 foreach ($bbb->attributes as $attr)
23 $ccc->setAttributeNode($attr);
26 echo $attr->parentNode->localName;
H A DtoString_exceptions.phpt18 '<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>
H A DDOMDocument_createAttribute_variation.phpt9 $attr = $dom->createAttribute('string');
10 echo get_class($attr);
H A Dclone_nodes.phpt13 $attr = $doc->documentElement->getAttributeNode('xmlns');
14 var_dump($attr);
16 $attrClone = clone $attr;
21 unset($attr);
H A DDOMAttr_name_basic_001.phpt10 $attr = new DOMAttr('category', 'books');
11 print $attr->name;
H A DDOMAttr_value_basic_001.phpt10 $attr = new DOMAttr('category');
11 print $attr->value."\n";
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_stmt_attr_get.phpt30 foreach ($valid_attr as $k => $attr) {
32 if (false === ($tmp = mysqli_stmt_attr_get($stmt, $attr))) {
34 gettype($tmp), $tmp, $k, $attr);
40 foreach ($valid_attr as $k => $attr) {
42 mysqli_stmt_attr_get($stmt, $attr);
/PHP-8.2/ext/oci8/tests/
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.phpt34 foreach($attr_array as $attr) {
35 set_attr($pc1,$attr,100);
41 foreach($attr_array as $attr) {
42 get_attr($pc3,$attr);
48 foreach($attr_array as $attr) {
49 get_attr($pc2,$attr);
56 // Re-open a persistent connection and check for the attr values.
59 foreach($attr_array as $attr) {
60 get_attr($pc4,$attr);
/PHP-8.2/ext/simplexml/
H A Dsimplexml.c283 attr = attr->next; in sxe_prop_dim_read()
291 attr = attr->next; in sxe_prop_dim_read()
508 attr = attr->next; in sxe_prop_dim_write()
517 attr = attr->next; in sxe_prop_dim_write()
724 attr = attr->next; in sxe_prop_dim_exists()
733 attr = attr->next; in sxe_prop_dim_exists()
737 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
847 attr = attr->next; in sxe_prop_dim_delete()
1007 attr = attr->next; in sxe_prop_is_empty()
1123 attr = attr->next; in sxe_get_prop_hash()
[all …]
/PHP-8.2/ext/xmlreader/tests/
H A D003-get-errors.phpt28 $attr = $reader->moveToNextAttribute();
29 var_dump($attr);
45 $attr = $reader->getAttribute('isbn');
46 var_dump($attr); // NULL expected
52 $attr = $reader->getAttributeNo(911);
53 var_dump($attr); // NULL expected
H A D003-move-errors.phpt28 $attr = $reader->moveToNextAttribute();
29 var_dump($attr);
45 $attr = $reader->moveToAttribute('isbn');
46 var_dump($attr);
52 $attr = $reader->moveToAttributeNo(911);
53 var_dump($attr);
H A D015.phpt26 $attr = $reader->moveToFirstAttribute();
27 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns1.namespace.org/');
31 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns2.namespace.org/');
35 $attr = $reader->moveToAttributeNs('isbn', 'http://www.ns2.namespace.org/');
40 $attr = $reader->moveToAttributeNs('elephpant', 'http://www.ns2.namespace.org/');
42 if (!$attr) {
H A D004.phpt22 $attr = $reader->moveToFirstAttribute();
23 while ($attr) {
26 $attr = $reader->moveToNextAttribute();
/PHP-8.2/Zend/
H A Dzend_ast.c50 ast->attr = 0; in zend_ast_create_znode()
61 ast->attr = attr; in zend_ast_create_zval_int()
96 ast->attr = attr; in zend_ast_create_constant()
120 ast->attr = 0; in zend_ast_create_decl()
143 ast->attr = 0; in zend_ast_create_0()
156 ast->attr = 0; in zend_ast_create_1()
349 ast->attr = attr; in zend_ast_create_from_va_list()
1016 new->attr = ast->attr; in zend_ast_tree_copy()
1022 new->attr = ast->attr; in zend_ast_tree_copy()
1030 new->attr = list->attr; in zend_ast_tree_copy()
[all …]
/PHP-8.2/ext/pdo/tests/
H A Dbug_44159.phpt21 foreach ($attrs as $attr) {
23 var_dump($pdo->setAttribute($attr, NULL));
28 var_dump($pdo->setAttribute($attr, 1));
33 var_dump($pdo->setAttribute($attr, 'nonsense'));
/PHP-8.2/ext/intl/formatter/
H A Dformatter_functions_arginfo.h37 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
43 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
48 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
54 ZEND_ARG_TYPE_INFO(0, attr, IS_LONG, 0)
/PHP-8.2/ext/intl/tests/
H A Dformatter_get_set_text_attribute.phpt37 list( $attr, $new_val, $test_number ) = $data;
40 if( $attr == NumberFormatter::PADDING_CHARACTER )
44 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
52 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
57 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
66 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
68 if( $attr == NumberFormatter::PADDING_CHARACTER )
H A Dformatter_get_set_text_attribute_var2.phpt37 list( $attr, $new_val, $test_number ) = $data;
40 if( $attr == NumberFormatter::PADDING_CHARACTER )
44 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
52 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
57 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
66 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
68 if( $attr == NumberFormatter::PADDING_CHARACTER )

Completed in 73 milliseconds

123456