xref: /PHP-8.3/ext/phar/tests/bug54395.phpt (revision 74859783)
1--TEST--
2Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
3--EXTENSIONS--
4phar
5--FILE--
6<?php
7
8try {
9    phar::mount(1,1);
10} catch (Exception $e) {
11    var_dump($e->getMessage());
12}
13
14?>
15--EXPECT--
16string(25) "Mounting of 1 to 1 failed"
17