Home
last modified time | relevance | path

Searched refs:Attr (Results 1 – 19 of 19) sorted by relevance

/php-src/Zend/tests/prop_const_expr/
H A Dattributes.phpt13 class Attr {
17 #[Attr(A::B->name)]
18 #[Attr(A::B->value)]
19 #[Attr(A::B?->name)]
20 #[Attr(A::B?->value)]
29 object(Attr)#%d (1) {
33 object(Attr)#%d (1) {
37 object(Attr)#%d (1) {
41 object(Attr)#%d (1) {
/php-src/ext/dom/tests/
H A Dgh12870_b.phpt29 Attr prefix: string(3) "foo"
31 Attr value: string(0) ""
38 Attr prefix: string(3) "xml"
40 Attr value: string(0) ""
47 Attr prefix: string(3) "xml"
49 Attr value: string(0) ""
56 Attr prefix: string(0) ""
57 Attr namespaceURI: NULL
58 Attr value: string(0) ""
65 Attr prefix: string(7) "default"
[all …]
H A Dgh12870_a.phpt29 Attr prefix: string(3) "foo"
30 Attr namespaceURI: string(31) "http://www.w3.org/2000/xmlns/qx"
31 Attr value: string(0) ""
38 Attr prefix: string(0) ""
39 Attr namespaceURI: string(29) "http://www.w3.org/2000/xmlns/"
40 Attr value: string(0) ""
47 Attr prefix: string(5) "xmlns"
48 Attr namespaceURI: string(29) "http://www.w3.org/2000/xmlns/"
49 Attr value: string(0) ""
H A Dgh12870.inc11 echo "Attr prefix: ";
13 echo "Attr namespaceURI: ";
15 echo "Attr value: ";
/php-src/ext/dom/tests/modern/spec/
H A DDocument_createAttribute.phpt27 Attr: foo
31 Attr: fooo
36 Attr: foo
40 Attr: FoOo
H A DElement_setAttribute_without_namespace.phpt15 function setAttribute($container, string $name, string $value): Dom\Attr {
46 Attr: foo:bar
50 Attr: foo:bar
54 Attr: bar
58 Attr: xmlns
62 Attr: xmlns
66 Attr: bar
H A DElement_setAttribute_with_namespace.phpt15 function setAttribute($container, string $name, string $value): Dom\Attr {
51 Attr: foo:bar
55 Attr: foo:bar
59 Attr: bar
63 Attr: xmlns
67 Attr: XMLns
71 Attr: BAR
75 Attr: in:ns
H A DDocument_createAttributeNS.phpt80 Attr: xmlns:foo
84 Attr: xmlns:bar
88 Attr: xmlns
92 Attr: xml:foo
96 Attr: foo:bar
100 Attr: bar:bar
104 Attr: foo:bar
111 Attr: baz1
115 Attr: baz2
119 Attr: baz1
[all …]
H A Ddump_attr.inc2 function dumpAttr(DOM\Attr $attr) {
3 echo "Attr: {$attr->name}\n";
H A DElement_setAttributeNS.phpt51 Attr: xmlns:foo
59 Attr: y:foo
65 Attr: x:foo
69 Attr: x:foo
/php-src/ext/simplexml/tests/
H A Dbug62639.phpt17 <value attr="Some Attr">Some Value</value>
33 <c><value attr="Some Attr">Some Value</value></c>
48 string(9) "Some Attr"
57 string(9) "Some Attr"
H A D031.phpt21 /* Try to add attribute again -> display warning as method is for new Attr only */
/php-src/ext/reflection/tests/
H A Dgh11937_1.inc4 class Attr {
12 #[Attr(new Foo(TestEnum::CASES))]
H A Dgh11937_2.phpt14 echo (new ReflectionFunction('test'))->getAttributes('Attr')[0];
23 Attribute [ Attr ] {
H A Dgh11937_1.phpt16 echo (new ReflectionFunction('test'))->getAttributes('Attr')[0];
26 Attribute [ Attr ] {
H A Dgh11937_2.inc3 #[Attr(FOOS)]
/php-src/ext/dom/
H A Dphp_dom.stub.php1501 public function item(int $index): ?Attr {}
1503 public function getNamedItem(string $qualifiedName): ?Attr {}
1505 public function getNamedItemNS(?string $namespace, string $localName): ?Attr {}
1622 public function getAttributeNode(string $qualifiedName): ?Attr {}
1626 public function setAttributeNode(Attr $attr) : ?Attr {}
1627 public function setAttributeNodeNS(Attr $attr) : ?Attr {}
1628 public function removeAttributeNode(Attr $attr) : Attr {}
1667 public function setIdAttributeNode(Attr $attr, bool $isId): void {}
1711 class Attr extends Node class
1978 public function createAttribute(string $localName): Attr {}
[all …]
H A Dphp_dom_arginfo.h8 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_Dom_import_simplexml, 0, 1, Dom\\Attr|Dom\\Elem…
665 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_item, 0, 1, Dom\\Attr, 1)
669 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_getNamedItem, 0, 1, Dom\\Attr
673 …EGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_getNamedItemNS, 0, 2, Dom\\Attr, 1)
759 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_setAttributeNode, 0, 1, Dom\\Attr,…
760 ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
765 …EGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_removeAttributeNode, 0, 1, Dom\\Attr, 0)
766 ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
805 ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
945 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createAttribute, 0, 1, Dom\\Attr,…
[all …]
/php-src/Zend/tests/attributes/
H A D018_fatal_error_in_argument.phpt6 #[Attr(a->b::c)]

Completed in 48 milliseconds