Test: /ext/opcache/tests/bug78014.phpt - Version 7.4.18-dev        

Bug #78014 Preloaded classes may depend on non-preloaded classes due to unresolved consts
Submitted: 2019-05-15 09:56:56 Modified: 2019-05-15 09:57:10
From: nikic Assigned: dmitry
Status: Closed Package: Scripting Engine problem
PHP Version: master-Git-2019-05-15 (Git) OS:

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
001+ Wed Mar 17 15:04:06 2021 (25797): Fatal Error "opcache.preload_user" has not been defined 001- Warning: Can't preload unlinked class C: Parent with unresolved initializers B in %s on line %d 002- 003- Warning: Can't preload class B with unresolved initializer for constant X in %s on line %d 004- 005- Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5 006- Stack trace: 007- #0 {main} 008- thrown in %sbug78014.php on line 5
1 (33%)
001+ Thu Apr 22 04:20:52 2021 (90449): Fatal Error "opcache.preload_user" has not been defined 001- Warning: Can't preload unlinked class C: Parent with unresolved initializers B in %s on line %d 002- 003- Warning: Can't preload class B with unresolved initializer for constant X in %s on line %d 004- 005- Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5 006- Stack trace: 007- #0 {main} 008- thrown in %sbug78014.php on line 5
1 (33%)
001+ Mon Mar 29 16:23:28 2021 (50374): Fatal Error "opcache.preload_user" has not been defined 001- Warning: Can't preload unlinked class C: Parent with unresolved initializers B in %s on line %d 002- 003- Warning: Can't preload class B with unresolved initializer for constant X in %s on line %d 004- 005- Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5 006- Stack trace: 007- #0 {main} 008- thrown in %sbug78014.php on line 5