From:             v-altruo at microsoft dot com
Operating system: Windows Server 2012 R2
PHP version:      7.4.0RC4
Package:          Testing related
Bug Type:         Bug
Bug description:Cannot declare class B

Description:
------------
Test seems to only fail for this windows operating system for x86 TS
build with opcache enabled. 

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

Expected result:
----------------
Warning: Can't preload unlinked class C: Parent with unresolved
initializers B in %s on line %d

Warning: Can't preload class B with unresolved initializer for constant
X in %s on line %d

Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5
Stack trace:
#0 {main}
  thrown in %sbug78014.php on line 5

Actual result:
--------------
Fatal error: Cannot declare class B, because the name is already in use
in C:\..\php-test-pack-7.4.0RC4\ext\opcache\tests\bug78014.php on line 0

-- 
Edit bug report at https://bugs.php.net/bug.php?id=78729&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78729&r=fixed
Fixed in release:                 
https://bugs.php.net/fix.php?id=78729&r=alreadyfixed
Need backtrace:                   
https://bugs.php.net/fix.php?id=78729&r=needtrace
Need Reproduce Script:            
https://bugs.php.net/fix.php?id=78729&r=needscript
Try newer version:                
https://bugs.php.net/fix.php?id=78729&r=oldversion
Not developer issue:              
https://bugs.php.net/fix.php?id=78729&r=support
Expected behavior:                
https://bugs.php.net/fix.php?id=78729&r=notwrong
Not enough info:                  
https://bugs.php.net/fix.php?id=78729&r=notenoughinfo
Submitted twice:                  
https://bugs.php.net/fix.php?id=78729&r=submittedtwice
register_globals:                 
https://bugs.php.net/fix.php?id=78729&r=globals
PHP version support discontinued: 
https://bugs.php.net/fix.php?id=78729&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78729&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78729&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78729&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78729&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78729&r=nozend
MySQL Configuration Error:        
https://bugs.php.net/fix.php?id=78729&r=mysqlcfg

Reply via email to