Download src/php/php-src/ext/bcmath/tests/bcceil_error.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/bcmath/tests/bcceil_error.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/bcmath/tests/bcceil_error.phpt
-
curl -L -o bcceil_error.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/bcmath/tests/bcceil_error.phpt
358 Bytes
| --TEST-- | |
| bcceil() function with error | |
| --EXTENSIONS-- | |
| bcmath | |
| --FILE-- | |
| try { | |
| bcceil('hoge'); | |
| } catch (Throwable $e) { | |
| echo $e->getMessage()."\n"; | |
| } | |
| try { | |
| bcceil('0.00.1'); | |
| } catch (Throwable $e) { | |
| echo $e->getMessage()."\n"; | |
| } | |
| --EXPECT-- | |
| bcceil(): Argument #1 ($num) is not well-formed | |
| bcceil(): Argument #1 ($num) is not well-formed | |