xref: /PHP-8.4/ext/phar/tests/bug81726.phpt (revision 809176da)
1--TEST--
2Bug #81726 (phar wrapper: DOS when using quine gzip file)
3--EXTENSIONS--
4phar
5zlib
6--FILE--
7<?php
8var_dump(fopen("phar://" . __DIR__ . "/bug81726.gz", "r"));
9?>
10--EXPECTF--
11Warning: fopen(phar://%s): Failed to open stream: unable to decompress gzipped phar archive "%s" in %s on line %d
12bool(false)
13