/PHP-7.4/Zend/tests/traits/ |
H A D | bug76539.phpt | 6 protected $attr = self::class . 'Test'; 9 echo $this->attr, PHP_EOL;
|
H A D | methods_001.phpt | 15 public function __set($attr, $val) { 16 var_dump($attr .'==='. $val);
|
/PHP-7.4/Zend/ |
H A D | zend_ast.c | 53 ast->attr = 0; in zend_ast_create_znode() 64 ast->attr = attr; in zend_ast_create_zval_int() 99 ast->attr = attr; in zend_ast_create_constant() 123 ast->attr = 0; in zend_ast_create_decl() 145 ast->attr = 0; in zend_ast_create_0() 158 ast->attr = 0; in zend_ast_create_1() 321 ast->attr = attr; in zend_ast_create_from_va_list() 764 new->attr = ast->attr; in zend_ast_tree_copy() 770 new->attr = ast->attr; in zend_ast_tree_copy() 778 new->attr = list->attr; in zend_ast_tree_copy() [all …]
|
H A D | zend_ast.h | 163 zend_ast_attr attr; /* Additional attribute, use depending on node type */ member 171 zend_ast_attr attr; member 180 zend_ast_attr attr; member 187 zend_ast_attr attr; /* Unused - for structure compatibility */ member 201 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr); 227 ast->attr = attr; in zend_ast_create_ex_0() 232 ast->attr = attr; in zend_ast_create_ex_1() 237 ast->attr = attr; in zend_ast_create_ex_2() 242 ast->attr = attr; in zend_ast_create_ex_3() 247 ast->attr = attr; in zend_ast_create_ex_4() [all …]
|
H A D | zend_compile.c | 2613 has_refs |= elem_ast->attr; in zend_propagate_list_refs() 2689 if (elem_ast->attr) { in zend_compile_list_assign() 2693 } else if (elem_ast->attr) { in zend_compile_list_assign() 2919 uint32_t opcode = ast->attr; in zend_compile_compound_assign() 5336 ast->attr = orig_ast_attr; in zend_compile_typename() 6678 uint32_t type = ast->attr; in zend_compile_use() 6767 inline_use->attr = ast->attr ? ast->attr : use->attr; in zend_compile_group_use() 6915 switch (ast->attr) { in zend_try_ct_eval_magic_const() 7481 if (ast->attr == IS_NULL) { in zend_compile_cast() 7958 by_ref = elem_ast->attr; in zend_compile_array() [all …]
|
H A D | zend_compile.h | 90 zend_ast_attr attr; member
|
H A D | zend_execute.h | 148 ZEND_API ZEND_COLD int zend_use_undefined_constant(zend_string *name, zend_ast_attr attr, zval *res…
|
H A D | zend_execute_API.c | 564 ZEND_API ZEND_COLD int zend_use_undefined_constant(zend_string *name, zend_ast_attr attr, zval *res… in zend_use_undefined_constant() argument 573 } else if ((attr & IS_CONSTANT_UNQUALIFIED) == 0) { in zend_use_undefined_constant() 606 zval *zv = zend_get_constant_ex(name, scope, ast->attr); in zval_update_constant_ex() 609 return zend_use_undefined_constant(name, ast->attr, p); in zval_update_constant_ex()
|
H A D | zend_language_parser.y | 308 namespace_name { $$ = $1; $$->attr = ZEND_NAME_NOT_FQ; } 333 | T_USE use_type group_use_declaration ';' { $$ = $3; $$->attr = $2; } 335 | T_USE use_type use_declarations ';' { $$ = $3; $$->attr = $2; } 386 | use_type unprefixed_use_declaration { $$ = $2; $$->attr = $1; } 662 | '?' type { $$ = $2; $$->attr |= ZEND_TYPE_NULLABLE; } 726 $$->attr = $1; } 728 { $$ = $3; $$->attr = $1; } 969 …if ($$->kind == ZEND_AST_BINARY_OP && $$->attr == ZEND_CONCAT) $$->attr = ZEND_PARENTHESIZED_CONCA… 1051 | '&' T_VARIABLE { $$ = $2; $$->attr = ZEND_BIND_REF; } 1243 { $5->attr = ZEND_ARRAY_SYNTAX_LIST; [all …]
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_typeinfo.c | 378 TYPEATTR *attr; in php_com_locate_typeinfo() local 381 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo() 383 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo() 403 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo() 480 TYPEATTR *attr; in php_com_process_typeinfo() local 489 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo() 494 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo() 497 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo() 507 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo() 519 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo() [all …]
|
/PHP-7.4/ext/dom/ |
H A D | config.m4 | 15 PHP_NEW_EXTENSION(dom, [php_dom.c attr.c document.c domerrorhandler.c \
|
H A D | config.w32 | 10 EXTENSION("dom", "php_dom.c attr.c document.c domerrorhandler.c \
|
H A D | element.c | 325 xmlNodePtr attr; in PHP_FUNCTION() local 336 if (attr) { in PHP_FUNCTION() 337 switch (attr->type) { in PHP_FUNCTION() 339 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_FUNCTION() 396 if (attr != NULL) { in PHP_FUNCTION() 397 switch (attr->type) { in PHP_FUNCTION() 416 if (!attr) { in PHP_FUNCTION() 745 xmlAttr *attr; in PHP_FUNCTION() local 844 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION() 1093 xmlNodePtr attr; in PHP_FUNCTION() local [all …]
|
H A D | php_dom.c | 1379 xmlAttrPtr attr; in dom_normalize() local 1410 attr = child->properties; in dom_normalize() 1411 while (attr != NULL) { in dom_normalize() 1412 dom_normalize((xmlNodePtr) attr); in dom_normalize() 1413 attr = attr->next; in dom_normalize()
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMAttr_construct_error_001.phpt | 11 $attr = new DOMAttr();
|
H A D | DOMAttr_name_basic_001.phpt | 10 $attr = new DOMAttr('category', 'books'); 11 print $attr->name;
|
H A D | DOMAttr_ownerElement_error_001.phpt | 14 $attr = $root->setAttribute('category', 'books'); 17 var_dump($attr->ownerElement);
|
H A D | DOMAttr_value_basic_001.phpt | 10 $attr = new DOMAttr('category'); 11 print $attr->value."\n";
|
H A D | DOMAttr_value_basic_002.phpt | 10 $attr = new DOMAttr('category'); 11 $attr->value = 1; 12 print $attr->value;
|
H A D | DOMDocument_createAttribute_error.phpt | 10 $attr = $dom->createAttribute(0);
|
H A D | DOMDocument_createAttribute_variation.phpt | 9 $attr = $dom->createAttribute('string'); 10 echo get_class($attr);
|
H A D | DOMDocument_schemaValidateSource_addAttrs.phpt | 12 $doc->load(__DIR__."/book-attr.xml");
|
H A D | DOMDocument_schemaValidateSource_missingAttrs.phpt | 12 $doc->load(__DIR__."/book-attr.xml");
|
H A D | DOMDocument_schemaValidate_addAttrs.phpt | 12 $doc->load(__DIR__."/book-attr.xml");
|
H A D | DOMDocument_schemaValidate_missingAttrs.phpt | 12 $doc->load(__DIR__."/book-attr.xml");
|