diff options
| author | Hannes Magnusson <bjori@php.net> | 2007-07-25 09:06:22 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2007-07-25 09:06:22 +0000 |
| commit | d2d88e74a0c05a0b4bb3e6942e1db948dc970f28 (patch) | |
| tree | 60b8647b0f1f8233328ed642497a4e39de168ecf | |
| parent | 179c67a64bb9e5999504061ff66cdb5ce66d1b1d (diff) | |
| download | php-git-d2d88e74a0c05a0b4bb3e6942e1db948dc970f28.tar.gz | |
MFH: Show "wrong parameter count" error messages
| -rw-r--r-- | ext/posix/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 35910e0f28..64ee78fc3b 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -209,7 +209,7 @@ zend_module_entry posix_module_entry = { ZEND_GET_MODULE(posix) #endif -#define PHP_POSIX_NO_ARGS if (ZEND_NUM_ARGS()) return; +#define PHP_POSIX_NO_ARGS if (ZEND_NUM_ARGS()) WRONG_PARAM_COUNT; #define PHP_POSIX_RETURN_LONG_FUNC(func_name) \ PHP_POSIX_NO_ARGS \ |
