diff options
| author | Zoe Slattery <zoe@php.net> | 2008-02-01 17:27:43 +0000 |
|---|---|---|
| committer | Zoe Slattery <zoe@php.net> | 2008-02-01 17:27:43 +0000 |
| commit | cc0b147a2f031f9eed0ef1ee08e61da820ceaa4e (patch) | |
| tree | 4e7c060ee45de2b87ae5e5e2fe85fe129ca93cfd /ext/standard/tests/math/decbin_error.phpt | |
| parent | 801ce5ee0380065536c2c178eff5e5bfafb161f7 (diff) | |
| download | php-git-cc0b147a2f031f9eed0ef1ee08e61da820ceaa4e.tar.gz | |
A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143.
Diffstat (limited to 'ext/standard/tests/math/decbin_error.phpt')
| -rw-r--r-- | ext/standard/tests/math/decbin_error.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/standard/tests/math/decbin_error.phpt b/ext/standard/tests/math/decbin_error.phpt new file mode 100644 index 0000000000..a350cee7f0 --- /dev/null +++ b/ext/standard/tests/math/decbin_error.phpt @@ -0,0 +1,13 @@ +--TEST-- +Test decbin() - wrong params +--FILE-- +<?php +decbin(); +decbin(23,2,true); +?> +--EXPECTF-- + +Warning: Wrong parameter count for decbin() in %s on line 2 + +Warning: Wrong parameter count for decbin() in %s on line 3 + |
