Edit report at https://bugs.php.net/bug.php?id=78729&edit=1

 ID:                 78729
 User updated by:    v-altruo at microsoft dot com
 Reported by:        v-altruo at microsoft dot com
 Summary:            Cannot declare class B
-Status:             Open
+Status:             Closed
 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:

Re-downloaded 7.4.0RC4 build and tested again. Test passes now.


Previous Comments:
------------------------------------------------------------------------
[2019-10-22 19:49:16] v-altruo at microsoft dot com

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 this bug report at https://bugs.php.net/bug.php?id=78729&edit=1

Reply via email to