mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
MFH: New way for check void parameters
This commit is contained in:
parent
cc2b17d51d
commit
84a8bb038a
40 changed files with 226 additions and 228 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue