Viewing File: /opt/alt/tests/alt-php81-pecl-rar_4.2.0-1.el8/tests/103.phpt

--TEST--
RarEntry direct instantiation does not crash (PHP 7)
--SKIPIF--
<?php if(!extension_loaded("rar")) die("skip");
if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 70000) die("skip for PHP >= 7");
--FILE--
<?php

new RarEntry();

echo "Done\n";
--EXPECTF--
Fatal error: Uncaught Error: Call to private RarEntry::__construct() from %s in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d
Back to Directory File Manager
<