Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
tests /
alt-php70-phpiredis_1.0.1-2.el9 /
Delete
Unzip
Name
Size
Permission
Date
Action
client_001.phpt
283
B
-rw-r--r--
2026-07-03 01:36
client_002.phpt
321
B
-rw-r--r--
2026-07-03 01:36
client_003.phpt
510
B
-rw-r--r--
2026-07-03 01:36
client_004.phpt
389
B
-rw-r--r--
2026-07-03 01:36
client_005.phpt
378
B
-rw-r--r--
2026-07-03 01:36
client_006.phpt
534
B
-rw-r--r--
2026-07-03 01:36
client_007.phpt
445
B
-rw-r--r--
2026-07-03 01:36
client_008.phpt
651
B
-rw-r--r--
2026-07-03 01:36
client_009.phpt
425
B
-rw-r--r--
2026-07-03 01:36
client_010.phpt
469
B
-rw-r--r--
2026-07-03 01:36
client_011.phpt
466
B
-rw-r--r--
2026-07-03 01:36
reader_001.phpt
257
B
-rw-r--r--
2026-07-03 01:36
reader_002.phpt
1.07
KB
-rw-r--r--
2026-07-03 01:36
reader_003.phpt
1.17
KB
-rw-r--r--
2026-07-03 01:36
reader_004.phpt
540
B
-rw-r--r--
2026-07-03 01:36
reader_005.phpt
824
B
-rw-r--r--
2026-07-03 01:36
reader_006.phpt
1.44
KB
-rw-r--r--
2026-07-03 01:36
reader_007.phpt
951
B
-rw-r--r--
2026-07-03 01:36
reader_008.phpt
860
B
-rw-r--r--
2026-07-03 01:36
reader_009.phpt
538
B
-rw-r--r--
2026-07-03 01:36
reader_010.phpt
446
B
-rw-r--r--
2026-07-03 01:36
reader_011.phpt
571
B
-rw-r--r--
2026-07-03 01:36
reader_012.phpt
371
B
-rw-r--r--
2026-07-03 01:36
reader_013.phpt
699
B
-rw-r--r--
2026-07-03 01:36
serializer_001.phpt
240
B
-rw-r--r--
2026-07-03 01:36
serializer_002.phpt
353
B
-rw-r--r--
2026-07-03 01:36
testsuite_configuration.inc
118
B
-rw-r--r--
2026-07-03 01:36
testsuite_skipif.inc
146
B
-rw-r--r--
2026-07-03 01:36
testsuite_utilities.inc
645
B
-rw-r--r--
2026-07-03 01:36
utils_001.phpt
682
B
-rw-r--r--
2026-07-03 01:36
Save
Rename
--TEST-- [READER] Set custom status handler --SKIPIF-- <?php require_once 'testsuite_skipif.inc'; --FILE-- <?php function status_handler($payload) { return "CUSTOM $payload"; } $reader = phpiredis_reader_create(); phpiredis_reader_feed($reader, "+OK\r\n"); var_dump(phpiredis_reader_get_reply($reader) === 'OK'); phpiredis_reader_set_status_handler($reader, 'status_handler'); phpiredis_reader_feed($reader, "+OK\r\n"); var_dump(phpiredis_reader_get_reply($reader) === 'CUSTOM OK'); var_dump(FALSE === @phpiredis_reader_set_status_handler($reader, 'fake_status_handler')); phpiredis_reader_feed($reader, "+PONG\r\n"); var_dump(phpiredis_reader_get_reply($reader) === 'CUSTOM PONG'); var_dump(TRUE === phpiredis_reader_set_status_handler($reader, NULL)); phpiredis_reader_feed($reader, "+QUEUED\r\n"); var_dump(phpiredis_reader_get_reply($reader) === 'QUEUED'); --EXPECT-- bool(true) bool(true) bool(true) bool(true) bool(true) bool(true)