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: PsrHttpMessageRequestInterface.phpt
--TEST-- Psr\Http\Message\RequestInterface --SKIPIF-- <?php include('skip.inc'); ?> --FILE-- <?php include __DIR__ . '/SampleMessage.inc'; include __DIR__ . '/SampleRequest.inc'; include __DIR__ . '/SampleUri.inc'; var_dump(interface_exists('\\Psr\\Http\\Message\\RequestInterface', false)); var_dump(is_subclass_of('\\Psr\\Http\\Message\\RequestInterface', '\\Psr\\Http\\Message\\MessageInterface')); var_dump(class_implements('SampleRequest', false)); $request = new SampleRequest(); var_dump($request instanceof \Psr\Http\Message\MessageInterface); $request->getRequestTarget(); $request->withRequestTarget('test'); $request->getMethod(); $request->withMethod('PUT'); $request->getUri(); $request->withUri(new SampleUri()); $request->withUri(new SampleUri(), true); --EXPECTF-- bool(true) bool(true) array(2) { ["PsrExt\Http\Message\MessageInterface"]=> string(36) "PsrExt\Http\Message\MessageInterface" ["PsrExt\Http\Message\RequestInterface"]=> string(36) "PsrExt\Http\Message\RequestInterface" } bool(true) string(31) "SampleRequest::getRequestTarget" string(32) "SampleRequest::withRequestTarget" string(4) "test" string(24) "SampleRequest::getMethod" string(25) "SampleRequest::withMethod" string(3) "PUT" string(21) "SampleRequest::getUri" string(22) "SampleRequest::withUri" object(SampleUri)#%d (0) { } bool(false) string(22) "SampleRequest::withUri" object(SampleUri)#%d (0) { } bool(true)
Upload File
Create Folder