From:             v-altruo at microsoft dot com
Operating system: Windows
PHP version:      7.2.19
Package:          Testing related
Bug Type:         Bug
Bug description:phar failed warning

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 bug report at https://bugs.php.net/bug.php?id=78116&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=78116&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=78116&r=trysnapshot55
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=78116&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=78116&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=78116&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=78116&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=78116&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=78116&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=78116&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=78116&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=78116&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=78116&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=78116&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78116&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=78116&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=78116&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=78116&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78116&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=78116&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=78116&r=mysqlcfg

Reply via email to