1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
Files
archived-php-src/ext/phar/tests/bug54395.phpt
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

17 lines
256 B
PHP

--TEST--
Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
--EXTENSIONS--
phar
--FILE--
<?php
try {
phar::mount(1,1);
} catch (Exception $e) {
var_dump($e->getMessage());
}
?>
--EXPECT--
string(25) "Mounting of 1 to 1 failed"