MR~TNT File Manager
Current Path:
/opt/alt/tests/alt-php80-pecl-psr_1.2.0-1.el8/tests
opt
/
alt
/
tests
/
alt-php80-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: PsrHttpMessageStreamInterface.phpt
--TEST-- Psr\Http\Message\StreamInterface --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php use Psr\Http\Message\StreamInterface; include __DIR__ . '/SampleStream.inc'; var_dump(interface_exists(StreamInterface::class, false)); var_dump(is_subclass_of(SampleStream::class, StreamInterface::class)); $stream = new SampleStream(); $stream->__toString(); $stream->close(); $stream->detach(); $stream->getSize(); $stream->tell(); $stream->eof(); $stream->isSeekable(); $stream->seek(0); $stream->rewind(); $stream->isWritable(); $stream->write('foo'); $stream->isReadable(); $stream->read(123); $stream->getContents(); $stream->getMetadata(); --EXPECTF-- bool(true) bool(true) string(24) "SampleStream::__toString" string(19) "SampleStream::close" string(20) "SampleStream::detach" string(21) "SampleStream::getSize" string(18) "SampleStream::tell" string(17) "SampleStream::eof" string(24) "SampleStream::isSeekable" string(18) "SampleStream::seek" int(0) int(0) string(20) "SampleStream::rewind" string(24) "SampleStream::isWritable" string(19) "SampleStream::write" string(3) "foo" string(24) "SampleStream::isReadable" string(18) "SampleStream::read" int(123) string(25) "SampleStream::getContents" string(25) "SampleStream::getMetadata" NULL
Upload File
Create Folder