php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78736 Cannot declare class because name in use
Submitted: 2019-10-22 20:31 UTC Modified: 2019-10-23 17:37 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
 [2019-10-22 20:31 UTC] v-altruo at microsoft dot com
Description:
------------
Test seems to only fail on this windows operating system for x86 TS build with opcache enabled. 

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

Expected result:
----------------
Warning: Can't preload unlinked class H: Unknown type dependencies in %s on line %d

Warning: Can't preload unlinked class B: Unknown type dependencies in %s on line %d

Warning: Can't preload unlinked class A: Unknown type dependencies in %s on line %d
===DONE===

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-23 17:37 UTC] v-altruo at microsoft dot com
-Status: Open +Status: Closed
 [2019-10-23 17:37 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: Fri Apr 19 01:01:28 2024 UTC