Server IP : 66.29.132.122 / Your IP : 18.223.203.153 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/opt/alt/tests/alt-php80-phpiredis_1.0.1-1.el8/ |
Upload File : |
--TEST-- [UTILS] Calculate the CRC16 of strings --SKIPIF-- <?php require_once 'testsuite_skipif.inc'; --FILE-- <?php var_dump(phpiredis_utils_crc16('key:000')); var_dump(phpiredis_utils_crc16('key:001')); var_dump(phpiredis_utils_crc16('key:002')); var_dump(phpiredis_utils_crc16('key:003')); var_dump(phpiredis_utils_crc16('key:004')); var_dump(phpiredis_utils_crc16('key:005')); var_dump(phpiredis_utils_crc16('key:006')); var_dump(phpiredis_utils_crc16('key:007')); var_dump(phpiredis_utils_crc16('key:008')); var_dump(phpiredis_utils_crc16('key:009')); --EXPECTF-- int(58359) int(62422) int(50101) int(54164) int(41843) int(45906) int(33585) int(37648) int(25343) int(29406)