OwlCyberSecurity - MANAGER
Edit File: PsrSimpleCacheInvalidArgumentException.phpt
--TEST-- Psr\SimpleCache\InvalidArgumentException --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php use Psr\SimpleCache\InvalidArgumentException; class MyException extends Exception implements InvalidArgumentException {} $ex = new MyException('test'); var_dump($ex instanceof InvalidArgumentException); var_dump($ex instanceof Exception); try { throw $ex; } catch( InvalidArgumentException $e ) { var_dump($e->getMessage()); } --EXPECT-- bool(true) bool(true) string(4) "test"