Edit report at https://bugs.php.net/bug.php?id=78727&edit=1
ID: 78727
User updated by: v-altruo at microsoft dot com
Reported by: v-altruo at microsoft dot com
Summary: Undefined index: scripts
Status: Open
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:
Test also fails (same output) for windows server 2019. However, for all builds
whenever opcache is enabled.
Previous Comments:
------------------------------------------------------------------------
[2019-10-22 19:32:18] v-altruo at microsoft dot com
Description:
------------
Test seems to fail only on this windows operating system for x86 TS build.
Failed Test: ext\opcache\tests\blacklist-win32.phpt
Expected result:
----------------
Array
(
[0] => %c:\path\to\foo
[1] => %c:\path\to\foo2
[2] => %c:\path\to\bar
[3] => __DIR__\blacklist.inc
[4] => __DIR__\current.php
[5] => %scurrent.php
[6] => %scurrent.php
)
ok
1
Actual result:
--------------
Array
(
[0] => C:\path\to\foo
[1] => C:\path\to\foo2
[2] => C:\path\to\bar
[3] => __DIR__\blacklist.inc
[4] => __DIR__\current.php
[5] =>
C:\phpbuilds\php-7.4.0RC4\php-test-pack-7.4.0RC4\ext\opcache\tests\current.php
[6] =>
C:\phpbuilds\php-7.4.0RC4\php-test-pack-7.4.0RC4\ext\opcache\tests\current.php
)
ok
Notice: Undefined index: scripts in
C:\..\php-test-pack-7.4.0RC4\ext\opcache\tests\blacklist-win32.php on line 9
Warning: count(): Parameter must be an array or an object that implements
Countable in C:\..\php-test-pack-7.4.0RC4\ext\opcache\tests\blacklist-win32.php
on line 9
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78727&edit=1