From: ab Operating system: windows PHP version: Irrelevant Package: PHAR related Bug Type: Bug Bug description:ext\phar\tests\tar\phar_commitwrite.phpt fails
Description: ------------ test diff: 001+ Fatal error: Uncaught exception 'BadMethodCallException' with message 'Entry file1.txt does not exist and cannot be created: phar error: unable to create temporary file' in C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\tar\phar_commitwrite.php:3 002+ Stack trace: 003+ #0 C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\tar\phar_commitwrite.php(3): Phar->offsetSet('file1.txt', 'hi') 004+ #1 {main} 005+ thrown in C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\tar\phar_commitwrite.php on line 3 001- string(60) "<?php // tar-based phar archive stub file 002- __HALT_COMPILER();" 003- string(200) "<?php 004- function __autoload($class) 005- { 006- include 'phar://' . str_replace('_', '/', $class); 007- } 008- Phar::mapPhar('brandnewphar.phar'); 009- include 'phar://brandnewphar.phar/startup.php'; 010- __HALT_COMPILER(); ?> 011- " 012- bool(true) 013- ===DONE=== Expected result: ---------------- test pass Actual result: -------------- test fail -- Edit bug report at https://bugs.php.net/bug.php?id=61903&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61903&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61903&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61903&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61903&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61903&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61903&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61903&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61903&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61903&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61903&r=support Expected behavior: https://bugs.php.net/fix.php?id=61903&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61903&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61903&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61903&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61903&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61903&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61903&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61903&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61903&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61903&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61903&r=mysqlcfg