mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
4f79dbd745
* PHP-8.0: Fix new bug81726.phpt for PHP 8.0
13 lines
308 B
PHP
13 lines
308 B
PHP
--TEST--
|
|
Bug #81726 (phar wrapper: DOS when using quine gzip file)
|
|
--EXTENSIONS--
|
|
phar
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
var_dump(fopen("phar://" . __DIR__ . "/bug81726.gz", "r"));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: fopen(phar://%s): Failed to open stream: unable to decompress gzipped phar archive "%s" in %s on line %d
|
|
bool(false)
|