Browse Source

fix grammar

migration/RELEASE_1_0_0
Antony Dovgal 20 years ago
parent
commit
a0c243ff68
  1. 6
      ext/standard/formatted_print.c
  2. 2
      ext/sysvmsg/sysvmsg.c

6
ext/standard/formatted_print.c

@ -735,7 +735,7 @@ static char * php_formatted_print(int ht, int *len, int use_array, int format_of
if (argnum <= 0) {
efree(result);
efree(args);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument number must be greater then zero.");
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument number must be greater than zero.");
return NULL;
}
@ -777,7 +777,7 @@ static char * php_formatted_print(int ht, int *len, int use_array, int format_of
if ((width = php_sprintf_getnumber(format, &inpos)) < 0) {
efree(result);
efree(args);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater then zero and less then %d.", INT_MAX);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater than zero and less than %d.", INT_MAX);
return NULL;
}
adjusting |= ADJ_WIDTH;
@ -794,7 +794,7 @@ static char * php_formatted_print(int ht, int *len, int use_array, int format_of
if ((precision = php_sprintf_getnumber(format, &inpos)) < 0) {
efree(result);
efree(args);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater then zero and less then %d.", INT_MAX);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater than zero and less than %d.", INT_MAX);
return NULL;
}
adjusting |= ADJ_PRECISION;

2
ext/sysvmsg/sysvmsg.c

@ -288,7 +288,7 @@ PHP_FUNCTION(msg_receive)
}
if (maxsize <= 0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "maximum size of the message has to be greater then zero");
php_error_docref(NULL TSRMLS_CC, E_WARNING, "maximum size of the message has to be greater than zero");
return;
}

Loading…
Cancel
Save