diff options
Diffstat (limited to 'ext/standard/tests/math/hexdec_error.phpt')
| -rw-r--r-- | ext/standard/tests/math/hexdec_error.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/math/hexdec_error.phpt b/ext/standard/tests/math/hexdec_error.phpt new file mode 100644 index 000000000..06ce3fb20 --- /dev/null +++ b/ext/standard/tests/math/hexdec_error.phpt @@ -0,0 +1,12 @@ +--TEST-- +Test hexdec() - wrong params test hexdec() +--FILE-- +<?php +hexdec(); +hexdec('0x123abc',true); +?> +--EXPECTF-- + +Warning: Wrong parameter count for hexdec() in %s on line 2 + +Warning: Wrong parameter count for hexdec() in %s on line 3 |
