1--TEST-- 2Phar: verify stub of specific length does not break __HALT_COMPILER(); scanning in php 3--EXTENSIONS-- 4phar 5--INI-- 6phar.require_hash=0 7phar.readonly=0 8--FILE-- 9<?php 10$phar = __DIR__ . '/files/stuboflength1041.phar'; 11foreach (new RecursiveIteratorIterator(new Phar($phar, alias: 'stuboflength1041.phar')) as $item) { 12 var_dump($item->getFileName()); 13} 14?> 15--EXPECT-- 16string(5) "a.php" 17string(5) "b.php" 18