📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 16:26:55
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-psr_1.2.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-psr_1.2.0-1.el8/tests
🔄 Refresh
✏️
Editing: PsrCacheInvalidArgumentException.phpt
Read Only
--TEST-- Psr\Cache\InvalidArgumentException --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php use Psr\Cache\CacheException; use Psr\Cache\InvalidArgumentException; class MyInvalidArgumentException extends Exception implements InvalidArgumentException {} $ex = new MyInvalidArgumentException('test'); var_dump($ex instanceof InvalidArgumentException); var_dump($ex instanceof Exception); var_dump($ex instanceof CacheException); try { throw $ex; } catch( InvalidArgumentException $e ) { var_dump($e->getMessage()); } --EXPECT-- bool(true) bool(true) bool(true) string(4) "test"
💾 Save Changes
❌ Cancel