X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php80-phpiredis_1.0.1-1.el8
opt
/
alt
/
tests
/
alt-php80-phpiredis_1.0.1-1.el8
/
ðŸ“
..
📄
client_001.phpt
(283 B)
📄
client_002.phpt
(321 B)
📄
client_003.phpt
(510 B)
📄
client_004.phpt
(389 B)
📄
client_005.phpt
(378 B)
📄
client_006.phpt
(534 B)
📄
client_007.phpt
(445 B)
📄
client_008.phpt
(651 B)
📄
client_009.phpt
(425 B)
📄
client_010.phpt
(469 B)
📄
client_011.phpt
(466 B)
📄
reader_001.phpt
(257 B)
📄
reader_002.phpt
(1.07 KB)
📄
reader_003.phpt
(1.17 KB)
📄
reader_004.phpt
(540 B)
📄
reader_005.phpt
(824 B)
📄
reader_006.phpt
(1.44 KB)
📄
reader_007.phpt
(951 B)
📄
reader_008.phpt
(860 B)
📄
reader_009.phpt
(538 B)
📄
reader_010.phpt
(446 B)
📄
reader_011.phpt
(571 B)
📄
reader_012.phpt
(371 B)
📄
reader_013.phpt
(699 B)
📄
serializer_001.phpt
(240 B)
📄
serializer_002.phpt
(353 B)
📄
testsuite_configuration.inc
(118 B)
📄
testsuite_skipif.inc
(146 B)
📄
testsuite_utilities.inc
(645 B)
📄
utils_001.phpt
(682 B)
Editing: reader_005.phpt
--TEST-- [READER] Response types --SKIPIF-- <?php require_once 'testsuite_skipif.inc'; --FILE-- <?php $type = -1; $reader = phpiredis_reader_create(); phpiredis_reader_feed($reader, "+OK\r\n"); $reply = phpiredis_reader_get_reply($reader, $type); if ($reply != 'OK') { echo "Value of reply '$reply' is not 'OK'\n"; } if ($type != PHPIREDIS_REPLY_STATUS) { echo "Value of type '$type' != PHPIREDIS_REPLY_STATUS(".PHPIREDIS_REPLY_STATUS.")\n"; } $reader = phpiredis_reader_create(); phpiredis_reader_feed($reader, "-ERR\r\n"); $reply = phpiredis_reader_get_reply($reader, $type); if ($reply != 'ERR') { echo "Value of reply '$reply' is not 'ERR'\n"; } if ($type != PHPIREDIS_REPLY_ERROR) { echo "Value of type '$type' != PHPIREDIS_REPLY_ERROR(".PHPIREDIS_REPLY_ERROR.")\n"; } echo "OK\n"; --EXPECT-- OK
Upload File
Create Folder