Bug #81269 [Opn]: getDocComment is not working correctly

From: Date: Wed, 04 Aug 2021 09:45:48 +0000
Subject: Bug #81269 [Opn]: getDocComment is not working correctly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235586@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81269&edit=1

 ID:                 81269
 Updated by:         cmb@php.net
 Reported by:        popov654 at yandex dot ru
 Summary:            getDocComment is not working correctly
 Status:             Open
 Type:               Bug
 Package:            Reflection related
 Operating System:   Windows 7 x64 Pro
 PHP Version:        8.0.8
 Block user comment: N
 Private report:     N

 New Comment:

The location of the file cache is set by opcache.file_cache; you
can just delete this folder (including all subitems).  Or, for
testing, you can leave the setting empty (opcache.file_cache=).


Previous Comments:
------------------------------------------------------------------------
[2021-08-04 07:45:19] popov654 at yandex dot ru

Is there a way to clear that file cache for me to verify? I see there is no bug in 8.0, just to
figure things out.

------------------------------------------------------------------------
[2021-08-03 10:30:16] cmb@php.net

> Can you confirm that doc block comments are really deleted on
> Windows 7-10 with any value of opcache.file_update_protection
> setting?

Yes (PHP-7.4).  As I said above, the compiled files may be read
from the file_cache, even after you made changes to the OPcache
configuration and restarted Apache.

------------------------------------------------------------------------
[2021-08-03 03:44:35] popov654 at yandex dot ru

>opcache.save_comments is only about doc block comments

Can you confirm that doc block comments are really deleted on Windows 7-10 with any value of
opcache.file_update_protection setting? I don't see it working. Maybe it's a bug in
previous versions, not in 8.0?

------------------------------------------------------------------------
[2021-08-03 03:40:14] popov654 at yandex dot ru

Sorry for the delay

------------------------------------------------------------------------
[2021-08-03 03:39:21] popov654 at yandex dot ru

A checked the opcache.file_update_protection enabled setting, and it is not set in both 7.x and 8.0,
so I guess it is not the case of the problem.

Any ideas?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=81269


--
Edit this bug report at https://bugs.php.net/bug.php?id=81269&edit=1


Thread (1 message)

  • cmb@php.net
  • Unknown Message
    • cmb@php.net
« previous php.bugs (#235586) next »