/PHP-8.2/ext/dom/tests/ |
H A D | gh10234.phpt | 9 $attribute = $document->documentElement->getAttributeNode('attribute'); 14 var_dump($attribute->textContent); 16 $attribute->textContent = 'new value'; 17 var_dump($attribute->textContent); 20 $attribute->textContent = 'hello & world'; 21 var_dump($attribute->textContent); 24 $attribute->textContent = '<b>hi</b>'; 25 var_dump($attribute->textContent); 29 var_dump($attribute->textContent); 33 var_dump($attribute->textContent); [all …]
|
H A D | bug80332_2.phpt | 20 …echo "list[$key_formatted] id attribute: ", $list[$key] ? $list[$key]->getAttribute('id') : '/', "… 38 list[0] id attribute: 1 39 list[false] id attribute: 1 40 list[true] id attribute: 2 41 list[null] id attribute: 1 42 list['0'] id attribute: 1 43 list['0.5'] id attribute: 1 44 list['1'] id attribute: 2 45 list['attr2'] id attribute: / 46 list['hi'] id attribute: / [all …]
|
H A D | setAttributeNodeNS_same_uri_different_prefix.phpt | 8 // This means that when appending a new attribute the old namespace declaration is reused, hence th… 14 $attribute = $doc->createAttributeNS('http://php.net/ns1', 'foo:hello'); 15 $attribute->nodeValue = '1'; 16 var_dump($doc->documentElement->setAttributeNodeNS($attribute)?->nodeValue); 18 $attribute = $doc->createAttributeNS('http://php.net/ns1', 'bar:hello'); 19 $attribute->nodeValue = '2'; 20 var_dump($doc->documentElement->setAttributeNodeNS($attribute)?->nodeValue); 22 $attribute = $doc->createAttributeNS('http://php.net/ns1', 'hello'); 23 $attribute->nodeValue = '3'; 24 var_dump($doc->documentElement->setAttributeNodeNS($attribute)?->nodeValue);
|
H A D | xpath_domnamespacenode_advanced.phpt | 20 foreach ($xpath->query($query) as $attribute) { 21 echo $attribute->nodeName . ' = ' . $attribute->nodeValue . PHP_EOL; 22 var_dump($attribute->parentNode->tagName); 27 foreach ($xpath->query($query) as $attribute) { 28 echo "Before: ", $attribute->parentNode->tagName, "\n"; 31 $attribute->parentNode->remove(); 36 echo "After: ", $attribute->parentNode->tagName, "\n";
|
/PHP-8.2/ext/zend_test/tests/ |
H A D | attribute_arguments.phpt | 10 var_dump($attribute->getArguments()); 11 var_dump($attribute->newInstance()); 15 var_dump($attribute->getArguments()); 16 var_dump($attribute->newInstance()); 20 var_dump($attribute->getArguments()); 21 var_dump($attribute->newInstance()); 25 var_dump($attribute->getArguments()); 26 var_dump($attribute->newInstance()); 30 var_dump($attribute->getArguments()); 31 var_dump($attribute->newInstance()); [all …]
|
/PHP-8.2/ext/intl/collator/ |
H A D | collator_attr.c | 29 zend_long attribute, value; in PHP_FUNCTION() local 35 &object, Collator_ce_ptr, &attribute ) == FAILURE ) in PHP_FUNCTION() 43 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 53 zend_long attribute, value; in PHP_FUNCTION() local 59 &object, Collator_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION() 68 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
|
/PHP-8.2/ext/tidy/tests/ |
H A D | 012.phpt | 53 ["attribute"]=> 74 ["attribute"]=> 98 ["attribute"]=> 121 ["attribute"]=> 146 ["attribute"]=> 277 ["attribute"]=> 320 ["attribute"]=> 340 ["attribute"]=> 426 ["attribute"]=> 446 ["attribute"]=> [all …]
|
H A D | 010.phpt | 36 ["attribute"]=> 62 ["attribute"]=> 85 ["attribute"]=> 131 ["attribute"]=> 162 ["attribute"]=> 193 ["attribute"]=> 216 ["attribute"]=> 237 ["attribute"]=> 262 ["attribute"]=> 292 ["attribute"]=> [all …]
|
H A D | 011.phpt | 9 var_dump($body->attribute); 10 foreach($body->attribute as $key=>$val) {
|
/PHP-8.2/ext/intl/formatter/ |
H A D | formatter_attr.c | 28 zend_long attribute, value; in PHP_FUNCTION() local 33 &object, NumberFormatter_ce_ptr, &attribute ) == FAILURE ) in PHP_FUNCTION() 41 switch(attribute) { in PHP_FUNCTION() 61 value = unum_getAttribute(FORMATTER_OBJECT(nfo), attribute); in PHP_FUNCTION() 90 zend_long attribute; in PHP_FUNCTION() local 99 &object, NumberFormatter_ce_ptr, &attribute ) == FAILURE ) in PHP_FUNCTION() 127 zend_long attribute; in PHP_FUNCTION() local 133 &object, NumberFormatter_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION() 141 switch(attribute) { in PHP_FUNCTION() 182 zend_long attribute; in PHP_FUNCTION() local [all …]
|
/PHP-8.2/Zend/tests/attributes/ |
H A D | 007_self_reflect_attribute.phpt | 9 foreach ($attributes as $attribute) { 10 var_dump($attribute->getName()); 11 var_dump($attribute->getArguments()); 13 $a = $attribute->newInstance();
|
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-8.2/ext/simplexml/tests/ |
H A D | profile07.phpt | 2 SimpleXML [profile]: Accessing an aliased namespaced attribute 10 <child reserved:attribute="Sample" /> 17 echo $rsattr['attribute']; 18 echo $myattr['attribute'];
|
H A D | profile10.phpt | 10 <child reserved:attribute="Sample" special:attribute="Test" /> 17 echo $rsattr['attribute']; 19 echo $spattr['attribute'];
|
H A D | profile03.phpt | 2 SimpleXML [profile]: Accessing an attribute 9 <child attribute="Sample" /> 13 echo $root->child['attribute'];
|
H A D | profile08.phpt | 2 SimpleXML [profile]: Accessing a namespaced attribute without a namespace 10 <child reserved:attribute="Sample" /> 14 echo $root->child['attribute'];
|
H A D | profile06.phpt | 2 SimpleXML [profile]: Accessing a namespaced attribute 10 <child reserved:attribute="Sample" /> 15 echo $attr['attribute'];
|
H A D | bug38406.phpt | 9 $item->attribute = 'something'; 10 var_dump($item->attribute); 12 $item->otherAttribute = $item->attribute;
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionAttribute_constructor_001.phpt | 14 $attribute = $rm->getAttributes()[0]; 16 $rm = new ReflectionMethod($attribute, "__construct"); 19 var_dump($rm->invoke($attribute, 0, 1, 2));
|
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-8.2/ext/intl/tests/ |
H A D | collator_get_error_message.phpt | 18 // Try specifying a correct attribute. 23 // Try specifying an incorrect attribute. 36 Error getting attribute value: U_ILLEGAL_ARGUMENT_ERROR
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_get_attribute.phpt | 19 function set_and_get($offset, $db, $attribute, $value) { 24 if (!$db->setAttribute($attribute, $value)) { 25 printf("[%03d] Cannot set attribute '%s' to value '%s'\n", 26 $offset, $attribute, var_export($tmp, true)); 31 …printf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value… 36 $tmp = $db->getAttribute($attribute); 39 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
|
/PHP-8.2/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-8.2/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"
|