File manager - Edit - /opt/alt/tests/alt-php83-pecl-rar_4.2.0-3.el8/tests/069.phpt
Back
--TEST-- RarEntry direct instantiation does not crash (PHP 5.x) --SKIPIF-- <?php if(!extension_loaded("rar")) die("skip"); if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID >= 70000) die("skip for PHP 5.x"); if (key_exists('USE_ZEND_ALLOC', $_ENV) && PHP_VERSION_ID < 70000) die('skip do not use with valgrind in PHP <7'); --FILE-- <?php new RarEntry(); echo "Done\n"; --EXPECTF-- Fatal error: Call to private RarEntry::__construct() from invalid context in %s on line %d
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings