[GIT-PULLS] [php-src] PR #23260: ext/phar: Only treat files with a `.phar` suffix as phar files when including

[email protected] (LamentXU123)
Newsgroups php.git-pulls
Message-ID <cLSgi7maGJziNe9gTc8DwaJAhzkCvkJrhstiUoSdnkA@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/23260
Author: LamentXU123

So we don't trigger the .phar unserialization process when include files like 1.phar.png or .pharabcd/1.html. Only treat them as phar files when they comes with a `.phat` suffix.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.