Edit report at https://bugs.php.net/bug.php?id=76510&edit=1
ID: 76510
Updated by: sebastian@php.net
Reported by: sebastian@php.net
Summary: file_exists() stopped working for phar:// in PHP 7.3
Status: Open
Type: Bug
Package: PHAR related
Operating System: Linux
PHP Version: 7.3Git-2018-06-21 (Git)
Block user comment: N
Private report: N
New Comment:
In case it matters, here is how I build PHP 7.3:
git fetch --prune
git reset --hard
git clean -xdf
git checkout master
git rebase origin/master
./buildconf --force
./configure --prefix=/usr/local/php-7.3 --disable-cgi --enable-opcache --enable-opcache-file
--with-zlib --with-xsl=/usr --enable-mbstring --enable-bcmath --with-gmp --with-openssl --with-bz2
--enable-soap --enable-intl --enable-pcntl --with-tidy --with-curl --enable-zip --with-readline
--without-pear --enable-phpdbg
make -j5
make install
Previous Comments:
------------------------------------------------------------------------
[2018-06-28 15:41:22] cmb@php.net
I tried with 2ff26bdf7370fff79d743c390e23cd9f477c855d (which
shouldn't make any difference), and some different configurations,
but the reproducer always lets the test succeed, now.
------------------------------------------------------------------------
[2018-06-28 12:42:07] sebastian@php.net
Using the commands provided in the original ticket, I can still reproduce the problem with
95a71caab1dad8e0092f672723dc9020dff8263d.
------------------------------------------------------------------------
[2018-06-28 12:30:25] cmb@php.net
Indeed, it appears to work now. Has there been an update to any
of the other requirements besides PHP?
------------------------------------------------------------------------
[2018-06-25 10:38:06] dc dot link at yahoo dot fr
I stumbled upon this ticket and tried to reproduce myself with php master :
~/Contribs/php-src/sapi/cli/php ../../../phpunit
PHPUnit 7.3-g2e9ab306f by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.0-dev
Configuration:
/home/test/Contribs/php-src/phpunit/tests/_files/phpunit-example-extension/phpunit.xml
Extension: phpunit/phpunit-example-extension 3.0.3
. 1 / 1 (100%)
Time: 512 ms, Memory: 4.00MB
OK (1 test, 1 assertion)
------------------------------------------------------------------------
[2018-06-21 15:31:21] cmb@php.net
I can confirm the regression.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=76510
--
Edit this bug report at https://bugs.php.net/bug.php?id=76510&edit=1