Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.145.80.161
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
tests /
alt-php82-phpiredis_1.0.1-1.el8 /
Delete
Unzip
Name
Size
Permission
Date
Action
client_001.phpt
283
B
-rw-r--r--
2023-05-18 13:46
client_002.phpt
321
B
-rw-r--r--
2023-05-18 13:46
client_003.phpt
510
B
-rw-r--r--
2023-05-18 13:46
client_004.phpt
389
B
-rw-r--r--
2023-05-18 13:46
client_005.phpt
378
B
-rw-r--r--
2023-05-18 13:46
client_006.phpt
534
B
-rw-r--r--
2023-05-18 13:46
client_007.phpt
445
B
-rw-r--r--
2023-05-18 13:46
client_008.phpt
651
B
-rw-r--r--
2023-05-18 13:46
client_009.phpt
425
B
-rw-r--r--
2023-05-18 13:46
client_010.phpt
469
B
-rw-r--r--
2023-05-18 13:46
client_011.phpt
466
B
-rw-r--r--
2023-05-18 13:46
reader_001.phpt
257
B
-rw-r--r--
2023-05-18 13:46
reader_002.phpt
1.07
KB
-rw-r--r--
2023-05-18 13:46
reader_003.phpt
1.17
KB
-rw-r--r--
2023-05-18 13:46
reader_004.phpt
540
B
-rw-r--r--
2023-05-18 13:46
reader_005.phpt
824
B
-rw-r--r--
2023-05-18 13:46
reader_006.phpt
1.44
KB
-rw-r--r--
2023-05-18 13:46
reader_007.phpt
951
B
-rw-r--r--
2023-05-18 13:46
reader_008.phpt
860
B
-rw-r--r--
2023-05-18 13:46
reader_009.phpt
538
B
-rw-r--r--
2023-05-18 13:46
reader_010.phpt
446
B
-rw-r--r--
2023-05-18 13:46
reader_011.phpt
571
B
-rw-r--r--
2023-05-18 13:46
reader_012.phpt
371
B
-rw-r--r--
2023-05-18 13:46
reader_013.phpt
699
B
-rw-r--r--
2023-05-18 13:46
serializer_001.phpt
240
B
-rw-r--r--
2023-05-18 13:46
serializer_002.phpt
353
B
-rw-r--r--
2023-05-18 13:46
testsuite_configuration.inc
118
B
-rw-r--r--
2023-05-18 13:46
testsuite_skipif.inc
146
B
-rw-r--r--
2023-05-18 13:46
testsuite_utilities.inc
645
B
-rw-r--r--
2023-05-18 13:46
utils_001.phpt
682
B
-rw-r--r--
2023-05-18 13:46
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)