Home
last modified time | relevance | path

Searched refs:attr (Results 26 – 50 of 120) sorted by path

12345

/PHP-7.4/ext/dom/tests/
H A DDOMDocument_strictErrorChecking_variation.phpt21 $attr = $doc->createAttribute(0);
38 $attr = $doc->createAttribute(0);
H A Dbug37456.phpt14 $attr = $root->setAttribute('bar', 'newval');
15 print $attr->nodeValue;
H A Dbug44648.phpt14 $attr = new DOMAttr('@acb', '123');
15 $root->setAttributeNode($attr);
H A Dbug45251.phpt21 foreach ($bbb->attributes as $attr)
23 $ccc->setAttributeNode($attr);
26 echo $attr->parentNode->localName;
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 Dbug61858.phpt13 $attr = $example->getAttributeNode('a');
15 var_dump($attr);
16 print_r($attr);
H A Dbug73907.phpt13 $attr = $doc->documentElement;
15 var_dump($attr);
H A Dbug81433.phpt2 Bug #81433 (DOMElement::setIdAttribute(attr, true) called twice removes ID)
H A Ddom001.phpt46 //$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 Ddom_set_attr_node.phpt21 $attr = $root->getAttributeNode('a');
27 $root2->setAttributeNode($attr);
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";
31 print $attr->testit()."\n";
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>
/PHP-7.4/ext/ffi/
H A Dffi.c101 uint32_t attr; member
1723 new_type->attr = 0; in zend_ffi_add()
2389 new_type->attr = 0; in zend_ffi_read_var()
2960 || old->attr != type->attr) { in zend_ffi_same_types()
4112 new_type->attr = 0; in ZEND_METHOD()
4155 new_type->attr = 0; in ZEND_METHOD()
5525 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_ENUM_ATTRS);
5655 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_STRUCT_ATTRS);
5936 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_POINTER_ATTRS);
6000 type->attr = FFI_G(default_type_attr) | (dcl->attr & ZEND_FFI_ARRAY_ATTRS);
[all …]
H A Dffi.g167 {dcl->attr |= ZEND_FFI_ATTR_CONST;}
398 {uint32_t attr = 0;}
406 {attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY;}
408 {attr |= ZEND_FFI_ATTR_VLA;}
412 {attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY;}
414 {attr |= ZEND_FFI_ATTR_VLA;}
420 {dcl->attr |= attr;}
431 {attr |= ZEND_FFI_ATTR_VARIADIC;}
434 {attr |= ZEND_FFI_ATTR_VARIADIC;}
438 {dcl->attr |= attr;}
H A Dffi_parser.c2214 dcl->attr |= ZEND_FFI_ATTR_CONST; in parse_type_qualifier()
2681 uint32_t attr = 0; in parse_array_or_function_declarators() local
2767 attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY; in parse_array_or_function_declarators()
2770 attr |= ZEND_FFI_ATTR_VLA; in parse_array_or_function_declarators()
2778 attr |= ZEND_FFI_ATTR_INCOMPLETE_ARRAY; in parse_array_or_function_declarators()
2781 attr |= ZEND_FFI_ATTR_VLA; in parse_array_or_function_declarators()
2795 dcl->attr |= attr; in parse_array_or_function_declarators()
2843 attr |= ZEND_FFI_ATTR_VARIADIC; in parse_array_or_function_declarators()
2847 attr |= ZEND_FFI_ATTR_VARIADIC; in parse_array_or_function_declarators()
2857 dcl->attr |= attr; in parse_array_or_function_declarators()
H A Dphp_ffi.h169 uint16_t attr; member
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic23107 # attr
H A Dmagic私はガラスを食べられます23107 # attr
/PHP-7.4/ext/intl/formatter/
H A Dformatter_class.c109 ZEND_ARG_INFO(0, attr)
113 ZEND_ARG_INFO(0, attr)
118 ZEND_ARG_INFO(0, attr)
/PHP-7.4/ext/intl/
H A Dphp_intl.c272 ZEND_ARG_INFO(0, attr)
277 ZEND_ARG_INFO(0, attr)
283 ZEND_ARG_INFO(0, attr)
/PHP-7.4/ext/intl/tests/
H A Dbug53512.phpt2 Bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values)
H A Dformatter_get_set_symbol2.phpt44 list( $symb, $new_val, $number, $attr ) = $data;
46 $fmt = ut_nfmt_create( 'en_US', $attr);
H A Dformatter_get_set_text_attribute.phpt36 list( $attr, $new_val, $test_number ) = $data;
39 if( $attr == NumberFormatter::PADDING_CHARACTER )
43 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
51 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
56 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
65 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
67 if( $attr == NumberFormatter::PADDING_CHARACTER )
H A Dformatter_get_set_text_attribute_var2.phpt36 list( $attr, $new_val, $test_number ) = $data;
39 if( $attr == NumberFormatter::PADDING_CHARACTER )
43 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
51 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
56 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
65 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
67 if( $attr == NumberFormatter::PADDING_CHARACTER )
H A Dut_common.inc82 function ut_coll_get_attribute( $coll, $attr )
84 …return $GLOBALS['oo-mode'] ? $coll->getAttribute( $attr ) : collator_get_attribute( $coll, $attr );
94 function ut_coll_set_attribute( $coll, $attr, $val )
96 …return $GLOBALS['oo-mode'] ? $coll->setAttribute( $attr, $val ) : collator_set_attribute( $coll, $

Completed in 276 milliseconds

12345