X7ROOT File Manager
Current Path:
/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
/
??
..
??
PsrCacheCacheException.phpt
(439 B)
??
PsrCacheCacheItemInterface.phpt
(861 B)
??
PsrCacheCacheItemPoolInterface.phpt
(1.45 KB)
??
PsrCacheInvalidArgumentException.phpt
(591 B)
??
PsrContainerContainerExceptionInterface.phpt
(502 B)
??
PsrContainerContainerInterface.phpt
(348 B)
??
PsrContainerNotFoundExceptionInterface.phpt
(609 B)
??
PsrEventDispatcherEventDispatcherInterface.phpt
(741 B)
??
PsrEventDispatcherListenerProviderInterface.phpt
(770 B)
??
PsrEventDispatcherStoppableEventInterface.phpt
(697 B)
??
PsrHttpClientClientExceptionInterface.phpt
(626 B)
??
PsrHttpClientClientInterface.phpt
(769 B)
??
PsrHttpClientNetworkExceptionInterface.phpt
(1.15 KB)
??
PsrHttpClientRequestExceptionInterface.phpt
(1.15 KB)
??
PsrHttpMessageMessageInterface.phpt
(1.55 KB)
??
PsrHttpMessageRequestFactoryInterface.phpt
(980 B)
??
PsrHttpMessageRequestInterface.phpt
(1.38 KB)
??
PsrHttpMessageResponseFactoryInterface.phpt
(892 B)
??
PsrHttpMessageResponseInterface.phpt
(1.01 KB)
??
PsrHttpMessageServerRequestFactoryInterface.phpt
(1.17 KB)
??
PsrHttpMessageServerRequestInterface.phpt
(2.51 KB)
??
PsrHttpMessageStreamFactoryInterface.phpt
(1.36 KB)
??
PsrHttpMessageStreamInterface.phpt
(1.22 KB)
??
PsrHttpMessageUploadedFileFactoryInterface.phpt
(1.1 KB)
??
PsrHttpMessageUploadedFileInterface.phpt
(954 B)
??
PsrHttpMessageUriFactoryInterface.phpt
(756 B)
??
PsrHttpMessageUriInterface.phpt
(1.33 KB)
??
PsrHttpServerMiddlewareInterface.phpt
(1.06 KB)
??
PsrHttpServerRequestHandlerInterface.phpt
(926 B)
??
PsrLinkEvolvableLinkInterface.phpt
(722 B)
??
PsrLinkEvolvableLinkProviderInterface.phpt
(617 B)
??
PsrLinkLinkInterface.phpt
(382 B)
??
PsrLinkLinkProviderInterface.phpt
(349 B)
??
PsrLogAbstractLogger.phpt
(1.25 KB)
??
PsrLogAbstractLogger_construct.phpt
(341 B)
??
PsrLogInvalidArgumentException.phpt
(415 B)
??
PsrLogLevel.phpt
(493 B)
??
PsrLogLoggerAwareInterface.phpt
(629 B)
??
PsrLogLoggerAwareTrait.phpt
(588 B)
??
PsrLogLoggerInterface.phpt
(1.46 KB)
??
PsrLogLoggerTrait.phpt
(1.56 KB)
??
PsrLogNullLogger.phpt
(683 B)
??
PsrSimpleCacheCacheException.phpt
(441 B)
??
PsrSimpleCacheCacheInterface.phpt
(623 B)
??
PsrSimpleCacheInvalidArgumentException.phpt
(491 B)
??
SampleCacheItem.inc
(581 B)
??
SampleCacheItemPool.inc
(946 B)
??
SampleClient.inc
(342 B)
??
SampleEventDispatcher.inc
(255 B)
??
SampleListenerProvider.inc
(295 B)
??
SampleLogger.inc
(1.28 KB)
??
SampleLogger2.inc
(221 B)
??
SampleLoggerAware.inc
(377 B)
??
SampleMessage.inc
(1.12 KB)
??
SampleMiddleware.inc
(432 B)
??
SampleRequest.inc
(724 B)
??
SampleRequestFactory.inc
(327 B)
??
SampleRequestHandler.inc
(364 B)
??
SampleResponse.inc
(408 B)
??
SampleResponseFactory.inc
(363 B)
??
SampleServerRequest.inc
(1.33 KB)
??
SampleServerRequestFactory.inc
(410 B)
??
SampleStoppableEvent.inc
(236 B)
??
SampleStream.inc
(1.28 KB)
??
SampleStreamFactory.inc
(669 B)
??
SampleUploadedFile.inc
(599 B)
??
SampleUploadedFileFactory.inc
(603 B)
??
SampleUri.inc
(1.41 KB)
??
SampleUriFactory.inc
(286 B)
??
gh78_php7.phpt
(649 B)
??
gh78_php8.phpt
(562 B)
??
phpinfo.phpt
(584 B)
??
phpinfo_lt_php72.phpt
(621 B)
??
skip.inc
(89 B)
??
skip_lt_php72.inc
(107 B)
Editing: PsrLogLoggerInterface.phpt
--TEST-- Psr\Log\LoggerInterface --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php include __DIR__ . '/SampleLogger.inc'; var_dump(interface_exists('\\Psr\\Log\\LoggerInterface', false)); var_dump(class_implements('SampleLogger', false)); $logger = new SampleLogger(); $logger->emergency('msg emergency', array(1)); $logger->alert('msg alert', array(2)); $logger->critical('msg critical', array(3)); $logger->error('msg error', array(4)); $logger->warning('msg warning', array(5)); $logger->notice('msg notice', array(6)); $logger->info('msg info', array(7)); $logger->debug('msg debug', array(8)); $logger->log('level', 'msg', array(9)); $logger->log('level', 'no context'); --EXPECT-- bool(true) array(1) { ["PsrExt\Log\LoggerInterface"]=> string(26) "PsrExt\Log\LoggerInterface" } string(9) "emergency" string(13) "msg emergency" array(1) { [0]=> int(1) } string(5) "alert" string(9) "msg alert" array(1) { [0]=> int(2) } string(8) "critical" string(12) "msg critical" array(1) { [0]=> int(3) } string(5) "error" string(9) "msg error" array(1) { [0]=> int(4) } string(7) "warning" string(11) "msg warning" array(1) { [0]=> int(5) } string(6) "notice" string(10) "msg notice" array(1) { [0]=> int(6) } string(4) "info" string(8) "msg info" array(1) { [0]=> int(7) } string(5) "debug" string(9) "msg debug" array(1) { [0]=> int(8) } string(5) "level" string(3) "msg" array(1) { [0]=> int(9) } string(5) "level" string(10) "no context" array(0) { }
Upload File
Create Folder