1--TEST-- 2Phar - Bug #71625 - Crash in php7.dll 3--INI-- 4phar.readonly=0 5--EXTENSIONS-- 6phar 7zlib 8--SKIPIF-- 9<?php 10 11if(substr(PHP_OS, 0, 3) != 'WIN' ) { 12 die('skip windows only test'); 13} 14if (file_exists('A:')) die('skip drive A: exists'); 15 16?> 17--FILE-- 18<?php 19$phar = new Phar("A:A:.phar"); 20$phar["hello_habr.txt"] = '<? Hello Habr!?>'; 21?> 22DONE 23--EXPECTF-- 24Fatal error: Uncaught UnexpectedValueException: Cannot create phar 'A:A:.phar', file extension (or combination) not recognised or the directory does not exist in %sbug71625.php:%d 25Stack trace: 26#0 %sbug71625.php(%d): Phar->__construct('A:A:.phar') 27#1 {main} 28 thrown in %sbug71625.php on line %d 29