Download src/php/php-src/ext/hash/tests/adler32.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/hash/tests/adler32.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/hash/tests/adler32.phpt
-
curl -L -o adler32.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/hash/tests/adler32.phpt
535 Bytes
| --TEST-- | |
| Hash: ADLER32 algorithm | |
| --FILE-- | |
| echo hash('adler32', ''), "\n"; | |
| echo hash('adler32', 'a'), "\n"; | |
| echo hash('adler32', 'abc'), "\n"; | |
| echo hash('adler32', 'message digest'), "\n"; | |
| echo hash('adler32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; | |
| echo hash('adler32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; | |
| echo hash('adler32', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'), "\n"; | |
| --EXPECT-- | |
| 00000001 | |
| 00620062 | |
| 024d0127 | |
| 29750586 | |
| 90860b20 | |
| 8adb150c | |
| 97b61069 | |