php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78721 opcache_is_script_cached() fails
Submitted: 2019-10-22 18:57 UTC Modified: 2019-10-23 17:32 UTC
From: v-altruo at microsoft dot com Assigned:
Status: Closed Package: Testing related
PHP Version: 7.4.0RC4 OS: Windows Server 2012 R2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: v-altruo at microsoft dot com
New email:
PHP Version: OS:

 

 [2019-10-22 18:57 UTC] 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 21:42 UTC] v-altruo at microsoft dot com
Test also fails for Windows Server 2019. However, it fails for all builds whenever opcache is enabled.
 [2019-10-23 17:32 UTC] v-altruo at microsoft dot com
-Status: Open +Status: Closed
 [2019-10-23 17:32 UTC] v-altruo at microsoft dot com
Re-downloaded 7.4.0RC4 build and tested again. They work fine now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC