Download src/php/php-src/ext/gmp/tests/bug74670.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gmp/tests/bug74670.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/gmp/tests/bug74670.phpt
-
curl -L -o bug74670.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gmp/tests/bug74670.phpt
291 Bytes
| --TEST-- | |
| Bug #74670: Integer Underflow when unserializing GMP and possible other classes | |
| --EXTENSIONS-- | |
| gmp | |
| --FILE-- | |
| $str = 'C:3:"GMP":4:{s:6666666666:""}'; | |
| var_dump(unserialize($str)); | |
| --EXPECTF-- | |
| Warning: unserialize(): Error at offset 17 of 29 bytes in %s on line %d | |
| bool(false) | |