Bug #78721 [Opn]: opcache_is_script_cached() fails

[email protected] ("v-altruo at microsoft dot com")
Newsgroups php.bugs,php.qa
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=78721&edit=1

 ID:                 78721
 User updated by:    v-altruo at microsoft dot com
 Reported by:        v-altruo at microsoft dot com
 Summary:            opcache_is_script_cached() fails
 Status:             Open
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows Server 2012 R2
 PHP Version:        7.4.0RC4
 Block user comment: N
 Private report:     N

 New Comment:

Test also fails for Windows Server 2019. However, it fails for all builds whenever opcache is enabled.


Previous Comments:
------------------------------------------------------------------------
[2019-10-22 18:57:09] v-altruo at microsoft dot com

Description:
------------
This only fails on this windows operating system for the x86 TS build with opcache enabled. 

2 similar tests fail: 
ext\opcache\tests\bug69281.phpt
ext\opcache\tests\is_script_cached.phpt

bug69281 has opcache.valid_timestamps disabled, whereas is_script_cached has it enabled. 

Expected result:
----------------
bool(true)
bool(false)

Actual result:
--------------
bool(false)
bool(false)


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



--
Edit this bug report at https://bugs.php.net/bug.php?id=78721&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.