php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78732 Warning: Can't preload class Foo
Submitted: 2019-10-22 20:10 UTC Modified: 2019-10-23 17:36 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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
22 + 38 = ?
Subscribe to this entry?

 
 [2019-10-22 20:10 UTC] v-altruo at microsoft dot com
Description:
------------
Test seems to fail only on this windows operating system for the x86 TS build with opcache enabled.

Failed Test: ext\opcache\tests\preload_004.phpt

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

Actual result:
--------------
Warning: Can't preload class Foo with unresolved initializer for constant A in %spreload_undef_const.inc on line 2
bool(false)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 20:25 UTC] v-altruo at microsoft dot com
Similar error output for ext\opcache\tests\preload_009.phpt
 [2019-10-23 17:36 UTC] v-altruo at microsoft dot com
-Status: Open +Status: Closed
 [2019-10-23 17:36 UTC] v-altruo at microsoft dot com
Re-downloaded 7.4.0RC4 build and tested again. Test passes now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC