Home
last modified time | relevance | path

Searched refs:attribute (Results 26 – 50 of 288) sorted by relevance

12345678910>>...12

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt15 function set_and_get($offset, $db, $attribute, $value) {
18 if (!$db->setAttribute($attribute, $value)) {
19 printf("[%03d] Cannot set attribute '%s' to value '%s'\n",
20 $offset, $attribute, var_export($tmp, true));
25 …printf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value…
30 $tmp = $db->getAttribute($attribute);
33 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_createFromString_namespaced_attributes.phpt22 foreach ($el->attributes as $attribute) {
24 var_dump($attribute->name, $attribute->value, $attribute->namespaceURI);
H A DHTMLDocument_fromString_line_column.phpt36 foreach ($element->attributes as $attribute) {
37 echo "Attribute: '", $attribute->nodeName, "', ", $attribute->getLineNo(), "\n";
/php-src/ext/reflection/tests/
H A Dbug81208.phpt2 Bug #81208: Segmentation fault while create newInstance from attribute
18 foreach ($z->getProperty("property")->getAttributes() as $attribute) {
20 $attribute->newInstance();
/php-src/ext/dom/tests/
H A DDOMDocument_importNode_attribute_prefix_conflict.phpt2 DOMDocument::importNode() with attribute prefix name conflict
14 $attribute = $dom1->documentElement->getAttributeNode('foo:bar');
15 $imported = $dom2->importNode($attribute);
27 $attribute = $dom1->documentElement->getAttributeNode('foo:bar');
28 $imported = $dom2->importNode($attribute);
39 // but the attribute should be imported
44 $attribute = $dom1->documentElement->getAttributeNode('bar');
45 $imported = $dom2->importNode($attribute);
/php-src/ext/simplexml/tests/
H A Dbug38406.phpt9 $item->attribute = 'something';
10 var_dump($item->attribute);
12 $item->otherAttribute = $item->attribute;
/php-src/Zend/tests/attributes/
H A D004_name_resolution.phpt2 Resolve attribute names
9 foreach ($attributes as $attribute) {
10 $arr[] = ['name' => $attribute->getName(), 'args' => $attribute->getArguments()];
H A D026_unpack_in_args.phpt2 Cannot use unpacking in attribute argument list
11 Fatal error: Cannot use unpacking in attribute argument list in %s on line %d
/php-src/ext/dom/tests/manually_call_constructor/
H A Dattribute.phpt2 Manually call __construct() - attribute variation
8 $attr = new DOMAttr("attribute", "my value");
27 string(9) "attribute"
/php-src/Zend/tests/
H A Dfirst_class_callable_assert2.phpt2 Foo(...) in attribute in assert
11 Fatal error: Cannot create Closure as attribute argument in %s on line %d
/php-src/ext/zend_test/tests/
H A Dgh14109.phpt8 foreach ((new ReflectionClassConstant(Test::class, 'TEST_CONST'))->getAttributes() as $attribute) {
9 var_dump($attribute->newInstance());
/php-src/ext/tidy/tests/
H A D011.phpt9 var_dump($body->attribute);
10 foreach($body->attribute as $key=>$val) {
/php-src/ext/dom/tests/modern/spec/
H A DNode_lookupNamespaceURI.phpt40 echo "--- Prefixed element custom xmlns attribute should not change ns ---\n";
46 echo "--- xmlns attribute defines new namespace ---\n";
52 echo "--- empty xmlns attribute defines no new namespace ---\n";
80 --- Prefixed element custom xmlns attribute should not change ns ---
84 --- xmlns attribute defines new namespace ---
88 --- empty xmlns attribute defines no new namespace ---
H A DElement_setAttributeNode_inuse.phpt10 $attr1 = $dom1->createAttribute("my-attribute");
24 <container my-attribute="1"><element></element></container>
/php-src/ext/xmlreader/tests/
H A D014.phpt32 // Try to set the value of the first "num" attribute from "1" to "num attribute 1"
35 $reader->value = 'num attribute 1';
39 // Try to set the name of the first attribute from "num" to "number"
/php-src/ext/soap/tests/schema/
H A Dschema069.phpt11 <attribute name="str" type="string"/>
12 <attribute ref="tns:int"/>
14 <attribute name="int" type="int" default="5"/>
H A Dschema075.phpt11 <attribute name="int1" type="int"/>
12 <attribute name="int2" type="int" form="qualified"/>
13 <attribute name="int3" type="int" form="unqualified"/>
H A Dschema076.phpt11 <attribute name="int1" type="int"/>
12 <attribute name="int2" type="int" form="qualified"/>
13 <attribute name="int3" type="int" form="unqualified"/>
H A Dschema077.phpt11 <attribute name="int1" type="int"/>
12 <attribute name="int2" type="int" form="qualified"/>
13 <attribute name="int3" type="int" form="unqualified"/>
H A Dschema068.phpt11 <attribute name="str" type="string"/>
12 <attribute name="int" type="int" fixed="5"/>
/php-src/ext/ldap/tests/
H A Dldap_add_error.phpt60 // Invalid attribute
78 /* Is this correct behaviour to still have "Undefined attribute type" as error/errno?
109 Warning: ldap_add(): Add: Undefined attribute type in %s on line %d
111 string(24) "Undefined attribute type"
114 Warning: ldap_add(): Unknown attribute in the data in %s on line %d
/php-src/Zend/tests/attributes/override/
H A Dgh12189_4.phpt2 #[Override] attribute in trait does not check for parent class implementations (Variant with __cons…
24 Fatal error: D::__construct() has #[\Override] attribute, but no matching parent method exists in %…
H A Dgh12189_2.phpt2 #[Override] attribute in trait does not check for parent class implementations (Variant with privat…
24 Fatal error: D::foo() has #[\Override] attribute, but no matching parent method exists in %s on lin…
/php-src/ext/standard/
H A Dcrc32.c72 # pragma clang attribute push(__attribute__((target("crc"))), apply_to=function)
74 # pragma clang attribute push(__attribute__((target("+nothing+crc"))), apply_to=function)
102 # pragma clang attribute pop
104 # pragma clang attribute pop
/php-src/ext/pdo_dblib/tests/
H A Dtimeout.phpt19 // regular timeout attribute, set after instance created, will affect query timeout, causing this q…
33 // pdo_dblib-specific timeout attribute, set after instance created, will control query timeout, ca…
47 // regular timeout attribute will affect query timeout, causing this query to fail
59 // pdo_dblib-specific timeout attribute will control query timeout, causing this query to fail

Completed in 22 milliseconds

12345678910>>...12