X7ROOT 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: PsrHttpMessageUriInterface.phpt
--TEST-- Psr\Http\Message\UriInterface --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php use Psr\Http\Message\UriInterface; include __DIR__ . '/SampleUri.inc'; var_dump(interface_exists(UriInterface::class, false)); var_dump(is_subclass_of(SampleUri::class, UriInterface::class)); $uri = new SampleUri(); $uri->getScheme(); $uri->getAuthority(); $uri->getUserInfo(); $uri->getHost(); $uri->getPort(); $uri->getPath(); $uri->getQuery(); $uri->getFragment(); $uri->withScheme('http'); $uri->withUserInfo('foo', 'bar'); $uri->withHost('php.net'); $uri->withPort(8080); $uri->withPath('/'); $uri->withQuery(''); $uri->withFragment(''); $uri->__toString(); --EXPECT-- bool(true) bool(true) string(20) "SampleUri::getScheme" string(23) "SampleUri::getAuthority" string(22) "SampleUri::getUserInfo" string(18) "SampleUri::getHost" string(18) "SampleUri::getPort" string(18) "SampleUri::getPath" string(19) "SampleUri::getQuery" string(22) "SampleUri::getFragment" string(21) "SampleUri::withScheme" string(4) "http" string(23) "SampleUri::withUserInfo" string(3) "foo" string(3) "bar" string(19) "SampleUri::withHost" string(7) "php.net" string(19) "SampleUri::withPort" int(8080) string(19) "SampleUri::withPath" string(1) "/" string(20) "SampleUri::withQuery" string(0) "" string(23) "SampleUri::withFragment" string(0) "" string(21) "SampleUri::__toString"
Upload File
Create Folder