/PHP-7.1/ext/opcache/ |
H A D | zend_persist.c | 552 op_array->doc_comment = zend_shared_alloc_get_xlat_entry(op_array->doc_comment); in zend_persist_op_array_ex() 627 if (prop->doc_comment) { in zend_persist_property_info() 632 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment); in zend_persist_property_info() 654 if (c->doc_comment) { in zend_persist_class_constant() 656 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local 657 if (doc_comment) { in zend_persist_class_constant() 658 c->doc_comment = doc_comment; in zend_persist_class_constant() 663 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local 664 if (!doc_comment) { in zend_persist_class_constant() 665 zend_shared_alloc_register_xlat_entry(c->doc_comment, c->doc_comment); in zend_persist_class_constant() [all …]
|
H A D | zend_persist_calc.c | 243 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex() 244 ADD_STRING(op_array->doc_comment); in zend_persist_op_array_calc_ex() 291 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc() 292 ADD_STRING(prop->doc_comment); in zend_persist_property_info_calc() 305 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc() 306 ADD_STRING(c->doc_comment); in zend_persist_class_constant_calc() 341 if (ZCG(accel_directives).save_comments && ce->info.user.doc_comment) { in zend_persist_class_entry_calc() 342 ADD_STRING(ce->info.user.doc_comment); in zend_persist_class_entry_calc()
|
H A D | zend_file_cache.c | 387 SERIALIZE_STR(op_array->doc_comment); in zend_file_cache_serialize_op_array() 498 SERIALIZE_STR(op_array->doc_comment); in zend_file_cache_serialize_op_array() 533 if (prop->doc_comment) { in zend_file_cache_serialize_prop_info() 534 SERIALIZE_STR(prop->doc_comment); in zend_file_cache_serialize_prop_info() 558 if (c->doc_comment) { in zend_file_cache_serialize_class_constant() 559 SERIALIZE_STR(c->doc_comment); in zend_file_cache_serialize_class_constant() 1017 UNSERIALIZE_STR(op_array->doc_comment); in zend_file_cache_unserialize_op_array() 1153 if (prop->doc_comment) { in zend_file_cache_unserialize_prop_info() 1154 UNSERIALIZE_STR(prop->doc_comment); in zend_file_cache_unserialize_prop_info() 1176 if (c->doc_comment) { in zend_file_cache_unserialize_class_constant() [all …]
|
/PHP-7.1/ext/reflection/tests/ |
H A D | bug64936.phpt | 18 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm… 25 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
|
/PHP-7.1/Zend/ |
H A D | zend_opcode.c | 72 op_array->doc_comment = NULL; in init_op_array() 280 if (prop_info->doc_comment) { in destroy_zend_class() 281 zend_string_release(prop_info->doc_comment); in destroy_zend_class() 294 if (c->doc_comment) { in destroy_zend_class() 295 zend_string_release(c->doc_comment); in destroy_zend_class() 304 if (ce->info.user.doc_comment) { in destroy_zend_class() 305 zend_string_release(ce->info.user.doc_comment); in destroy_zend_class() 340 if (c->doc_comment && c->ce == ce) { in destroy_zend_class() 341 zend_string_release(c->doc_comment); in destroy_zend_class() 407 if (op_array->doc_comment) { in destroy_op_array() [all …]
|
H A D | zend_ast.h | 184 zend_string *doc_comment; member 199 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment,
|
H A D | zend_compile.h | 47 if (CG(doc_comment)) { \ 48 zend_string_release(CG(doc_comment)); \ 49 CG(doc_comment) = NULL; \ 300 zend_string *doc_comment; member 315 zend_string *doc_comment; member 386 zend_string *doc_comment; member
|
H A D | zend_globals.h | 103 zend_string *doc_comment; member
|
H A D | zend_inheritance.c | 41 if (new_property_info->doc_comment) { in zend_duplicate_property_info() 42 zend_string_addref(new_property_info->doc_comment); in zend_duplicate_property_info() 1554 zend_string *doc_comment; in zend_do_traits_property_binding() local 1583 if (coliding_prop->doc_comment) { in zend_do_traits_property_binding() 1584 zend_string_release(coliding_prop->doc_comment); in zend_do_traits_property_binding() 1630 doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) : NULL; in zend_do_traits_property_binding() 1633 doc_comment); in zend_do_traits_property_binding()
|
H A D | zend.h | 171 zend_string *doc_comment; member
|
H A D | zend_ast.c | 76 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, in zend_ast_create_decl() argument 88 ast->doc_comment = doc_comment; in zend_ast_create_decl() 512 if (decl->doc_comment) { in zend_ast_destroy_ex() 513 zend_string_release(decl->doc_comment); in zend_ast_destroy_ex()
|
H A D | zend_language_parser.y | 993 /* empty */ { $$ = CG(doc_comment); CG(doc_comment) = NULL; }
|
H A D | zend_compile.c | 1766 ce->info.user.doc_comment = NULL; in zend_initialize_class_data() 5592 if (decl->doc_comment) { in zend_compile_func_decl() 5593 op_array->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_func_decl() 5678 zend_string *doc_comment = NULL; in zend_compile_prop_decl() local 5683 doc_comment = zend_string_copy(zend_ast_get_str(doc_comment_ast)); in zend_compile_prop_decl() 5704 zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); in zend_compile_prop_decl() 5726 …zend_string *doc_comment = doc_comment_ast ? zend_string_copy(zend_ast_get_str(doc_comment_ast)) :… in zend_compile_class_const_decl() local 5742 zend_declare_class_constant_ex(ce, name, &value_zv, ast->attr, doc_comment); in zend_compile_class_const_decl() 5970 if (decl->doc_comment) { in zend_compile_class_decl() 5971 ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_class_decl()
|
H A D | zend_API.c | 3613 …_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_property_ex() argument 3681 property_info->doc_comment = doc_comment; in zend_declare_property_ex() 3752 …ass_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_class_constant_ex() argument 3774 c->doc_comment = doc_comment; in zend_declare_class_constant_ex()
|
H A D | zend_language_scanner.l | 180 CG(doc_comment) = NULL; in startup_scanner() 1952 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
|
H A D | zend_API.h | 320 …end_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment); 329 …x(zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment);
|
H A D | zend_language_scanner.c | 182 CG(doc_comment) = NULL; in startup_scanner() 3323 CG(doc_comment) = zend_string_init(yytext, yyleng, 0); in lex_scan()
|
/PHP-7.1/ext/reflection/ |
H A D | php_reflection.c | 408 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string() 1933 RETURN_STR_COPY(fptr->op_array.doc_comment); in ZEND_METHOD() 3854 if (ref->doc_comment) { in ZEND_METHOD() 3855 RETURN_STR_COPY(ref->doc_comment); in ZEND_METHOD() 4213 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD() 4214 RETURN_STR_COPY(ce->info.user.doc_comment); in ZEND_METHOD() 4450 property_info_tmp.doc_comment = NULL; in ZEND_METHOD() 4537 property_info.doc_comment = NULL; in _adddynproperty() 5498 reference->prop.doc_comment = NULL; in ZEND_METHOD() 5779 if (ref->prop.doc_comment) { in ZEND_METHOD() [all …]
|