/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_get_attribute.phpt | 15 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 D | HTMLDocument_createFromString_namespaced_attributes.phpt | 22 foreach ($el->attributes as $attribute) { 24 var_dump($attribute->name, $attribute->value, $attribute->namespaceURI);
|
H A D | HTMLDocument_fromString_line_column.phpt | 36 foreach ($element->attributes as $attribute) { 37 echo "Attribute: '", $attribute->nodeName, "', ", $attribute->getLineNo(), "\n";
|
/php-src/ext/reflection/tests/ |
H A D | bug81208.phpt | 2 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 D | DOMDocument_importNode_attribute_prefix_conflict.phpt | 2 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 D | bug38406.phpt | 9 $item->attribute = 'something'; 10 var_dump($item->attribute); 12 $item->otherAttribute = $item->attribute;
|
/php-src/Zend/tests/attributes/ |
H A D | 004_name_resolution.phpt | 2 Resolve attribute names 9 foreach ($attributes as $attribute) { 10 $arr[] = ['name' => $attribute->getName(), 'args' => $attribute->getArguments()];
|
H A D | 026_unpack_in_args.phpt | 2 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 D | attribute.phpt | 2 Manually call __construct() - attribute variation 8 $attr = new DOMAttr("attribute", "my value"); 27 string(9) "attribute"
|
/php-src/Zend/tests/ |
H A D | first_class_callable_assert2.phpt | 2 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 D | gh14109.phpt | 8 foreach ((new ReflectionClassConstant(Test::class, 'TEST_CONST'))->getAttributes() as $attribute) { 9 var_dump($attribute->newInstance());
|
/php-src/ext/tidy/tests/ |
H A D | 011.phpt | 9 var_dump($body->attribute); 10 foreach($body->attribute as $key=>$val) {
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Node_lookupNamespaceURI.phpt | 40 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 D | Element_setAttributeNode_inuse.phpt | 10 $attr1 = $dom1->createAttribute("my-attribute"); 24 <container my-attribute="1"><element></element></container>
|
/php-src/ext/xmlreader/tests/ |
H A D | 014.phpt | 32 // 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 D | schema069.phpt | 11 <attribute name="str" type="string"/> 12 <attribute ref="tns:int"/> 14 <attribute name="int" type="int" default="5"/>
|
H A D | schema075.phpt | 11 <attribute name="int1" type="int"/> 12 <attribute name="int2" type="int" form="qualified"/> 13 <attribute name="int3" type="int" form="unqualified"/>
|
H A D | schema076.phpt | 11 <attribute name="int1" type="int"/> 12 <attribute name="int2" type="int" form="qualified"/> 13 <attribute name="int3" type="int" form="unqualified"/>
|
H A D | schema077.phpt | 11 <attribute name="int1" type="int"/> 12 <attribute name="int2" type="int" form="qualified"/> 13 <attribute name="int3" type="int" form="unqualified"/>
|
H A D | schema068.phpt | 11 <attribute name="str" type="string"/> 12 <attribute name="int" type="int" fixed="5"/>
|
/php-src/ext/ldap/tests/ |
H A D | ldap_add_error.phpt | 60 // 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 D | gh12189_4.phpt | 2 #[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 D | gh12189_2.phpt | 2 #[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 D | crc32.c | 72 # 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 D | timeout.phpt | 19 // 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
|