Download src/php/php-src/ext/calendar/tests/bug52744.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/calendar/tests/bug52744.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/calendar/tests/bug52744.phpt
-
curl -L -o bug52744.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/calendar/tests/bug52744.phpt
239 Bytes
| --TEST-- | |
| Bug #52744 (cal_days_in_month incorrect for December 1 BCE) | |
| --EXTENSIONS-- | |
| calendar | |
| --FILE-- | |
| var_dump(cal_days_in_month(CAL_GREGORIAN, 12, -1)); | |
| var_dump(cal_days_in_month(CAL_JULIAN, 12, -1)); | |
| --EXPECT-- | |
| int(31) | |
| int(31) | |