Skip to content

Commit

Permalink
Fix new bug81726.phpt for PHP 8.0
Browse files Browse the repository at this point in the history
The error message has slightly changed, so we adapt our expectations.
  • Loading branch information
cmb69 authored and patrickallaert committed Sep 28, 2022
1 parent 168750b commit 91abc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/phar/tests/bug81726.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ if (!extension_loaded("zlib")) die("skip zlib extension not available");
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
Warning: fopen(phar://%s): Failed to open stream: unable to decompress gzipped phar archive "%s" in %s on line %d
bool(false)

0 comments on commit 91abc41

Please sign in to comment.