Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ext/phar/phar/pharcommand.inc
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ class PharCommand extends CLICommand
$dir = new InvertedRegexIterator($dir, $invregex);
}

ini_set('pcre.jit', '0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong as it will be set globally which is unwanted behaviour.


try {
foreach($dir as $file) {
if ((empty($stub) || $file->getRealPath() != $stub->getRealPath()) && !is_dir($file)) {
Expand Down