summaryrefslogtreecommitdiff
path: root/ext/dba/dba.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-03-10 22:15:36 +0000
committerFelipe Pena <felipe@php.net>2008-03-10 22:15:36 +0000
commit84a8bb038a26e254d6608662b16c254920388913 (patch)
treeb57b590da90a01ff306fbef1a6baa794ebe0571e /ext/dba/dba.c
parentcc2b17d51dbaa862eea98eb3b49a83a7227fb36d (diff)
downloadphp-git-84a8bb038a26e254d6608662b16c254920388913.tar.gz
MFH: New way for check void parameters
Diffstat (limited to 'ext/dba/dba.c')
-rw-r--r--ext/dba/dba.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 2421f4309d..61b3bc0c41 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -1200,8 +1200,7 @@ PHP_FUNCTION(dba_list)
zend_rsrc_list_entry *le;
dba_info *info;
- if (ZEND_NUM_ARGS()!=0) {
- ZEND_WRONG_PARAM_COUNT();
+ if (zend_parse_parameters_none() == FAILURE) {
RETURN_FALSE;
}