blob: a616dfe253c67ae034440df5531da2aa571cbe4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Bug #60261 (phar dos null pointer)
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE--
<?php
try {
$nx = new Phar();
$nx->getLinkTarget();
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Phar::__construct() expects at least 1 argument, 0 given
|