Bug #78116 [Opn->Fbk]: phar failed warning
| From: | cmb@php.net | Date: | Wed, 12 Jun 2019 14:11:14 +0000 |
| Subject: | Bug #78116 [Opn->Fbk]: phar failed warning | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-221241@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78116&edit=1
ID: 78116
Updated by: cmb@php.net
Reported by: v-altruo at microsoft dot com
Summary: phar failed warning
-Status: Open
+Status: Feedback
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 7.2.19
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This looks again like a parallel testing issue. Can you reproduce
if you only run this test?
Previous Comments:
------------------------------------------------------------------------
[2019-06-05 19:04:24] v-altruo at microsoft dot com
Description:
------------
Fails across all builds (NTS/TS) regardless of opcache on/off.
Test file location: ext\phar\tests\frontcontroller19.phpt
Expected result:
----------------
Fatal error: Uncaught PharException: Too many values passed to Phar::mungServer(), expecting an
array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME in
%sfrontcontroller19.php:2
Stack trace:
#0 %sfrontcontroller19.php(2): Phar::mungServer(Array)
#1 {main}
thrown in %sfrontcontroller19.php on line 2
Actual result:
--------------
Warning: include(phar://C:\..\php-test-pack-7.2.19\ext\phar\tests\frontcontroller19.php/oops):
failed to open stream: phar error: "oops" is not a file in phar
"C:/../php-test-pack-7.2.19/ext/phar/tests/frontcontroller19.php" in
C:\..\php-test-pack-7.2.19\ext\phar\tests\frontcontroller19.php on line 9
Warning: include(): Failed opening
'phar://C:\..\php-test-pack-7.2.19\ext\phar\tests\frontcontroller19.php/oops' for
inclusion
(include_path='phar://C:\..\php-test-pack-7.2.19\ext\phar\tests\frontcontroller19.php;.;C:\php\pear')
in C:\..\php-test-pack-7.2.19\ext\phar\tests\frontcontroller19.php on line 9
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78116&edit=1