MFH: New way for check void parameters

This commit is contained in:
Felipe Pena 2008-03-10 22:15:36 +00:00
parent cc2b17d51d
commit 84a8bb038a
40 changed files with 226 additions and 228 deletions

View file

@ -1003,8 +1003,8 @@ PHP_FUNCTION(mysql_select_db)
Returns a string that represents the client library version */
PHP_FUNCTION(mysql_get_client_info)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
if (zend_parse_parameters_none() == FAILURE) {
return;
}
RETURN_STRING((char *)mysql_get_client_info(),1);