mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +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
|
@ -3658,8 +3658,8 @@ PHP_FUNCTION(imap_alerts)
|
|||
{
|
||||
STRINGLIST *cur=NIL;
|
||||
|
||||
if (ZEND_NUM_ARGS() > 0) {
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (IMAPG(imap_alertstack) == NIL) {
|
||||
|
@ -3685,8 +3685,8 @@ PHP_FUNCTION(imap_errors)
|
|||
{
|
||||
ERRORLIST *cur=NIL;
|
||||
|
||||
if (ZEND_NUM_ARGS() > 0) {
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (IMAPG(imap_errorstack) == NIL) {
|
||||
|
@ -3712,8 +3712,8 @@ PHP_FUNCTION(imap_last_error)
|
|||
{
|
||||
ERRORLIST *cur=NIL;
|
||||
|
||||
if (ZEND_NUM_ARGS() > 0) {
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (IMAPG(imap_errorstack) == NIL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue