Download src/php/php-src/ext/com_dotnet/tests/bug72498.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug72498.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug72498.phpt
-
curl -L -o bug72498.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug72498.phpt
368 Bytes
| --TEST-- | |
| Bug #72498 variant_date_from_timestamp null dereference | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| $v1 = PHP_INT_MAX; | |
| try { | |
| var_dump(variant_date_from_timestamp($v1)); | |
| } catch (\ValueError $e) { | |
| echo $e->getMessage() . \PHP_EOL; | |
| } | |
| --EXPECT-- | |
| variant_date_from_timestamp(): Argument #1 ($timestamp) must not go past 23:59:59, December 31, 3000, UTC | |