php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78727 Undefined index: scripts
Submitted: 2019-10-22 19:32 UTC Modified: 2019-10-23 17:35 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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: v-altruo at microsoft dot com
New email:
PHP Version: OS:

 

 [2019-10-22 19:32 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 21:46 UTC] v-altruo at microsoft dot com
Test also fails (same output) for windows server 2019. However, for all builds whenever opcache is enabled.
 [2019-10-23 17:35 UTC] v-altruo at microsoft dot com
-Status: Open +Status: Closed
 [2019-10-23 17:35 UTC] v-altruo at microsoft dot com
Re-downloaded 7.4.0RC4 build and tested again. Test passes now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC