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