mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
18 lines
266 B
PHP
18 lines
266 B
PHP
--TEST--
|
|
Bug #60261 (phar dos null pointer)
|
|
--EXTENSIONS--
|
|
phar
|
|
--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
|