--TEST-- Phar: bug #46032: PharData::__construct wrong memory read --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- %string|unicode%(%d) "%smytest" %string|unicode%(%d) "%smytest" Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Cannot create phar '0000000000000000000', file extension (or combination) not recognised' in %sbug46032.php:%d Stack trace: #0 %sbug46032.php(%d): PharData->__construct('000000000000000...') #1 {main} thrown in %sbug46032.php on line %d