Download src/php/php-src/ext/date/tests/DateInterval_days_prop1.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/date/tests/DateInterval_days_prop1.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/date/tests/DateInterval_days_prop1.phpt
-
curl -L -o DateInterval_days_prop1.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/date/tests/DateInterval_days_prop1.phpt
164 Bytes
| --TEST-- | |
| Wrong var_dump(DateInterval->days) value | |
| --FILE-- | |
| $interval = new DateInterval('P2Y4DT6H8M'); | |
| var_dump($interval->days); | |
| --EXPECT-- | |
| bool(false) | |