mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
17 lines
295 B
PHP
17 lines
295 B
PHP
--TEST--
|
|
Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
phar::mount(1,1);
|
|
} catch (Exception $e) {
|
|
var_dump($e->getMessage());
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
string(25) "Mounting of 1 to 1 failed"
|