num = n; /* make sure to process initialized vars only */
/* initialize converter */
- if (info->num_from_encodings <= 0) {
+ if (info->num_from_encodings == 0) {
from_encoding = &mbfl_encoding_pass;
} else if (info->num_from_encodings == 1) {
from_encoding = info->from_encodings[0];
const mbfl_encoding **entry, **list;
list = NULL;
- if (value == NULL || value_length <= 0) {
+ if (value == NULL || value_length == 0) {
if (return_list) {
*return_list = NULL;
}
}
break;
}
- if (size <= 0) {
+ if (size == 0) {
php_error_docref(NULL, E_WARNING, "Illegal argument");
}
}
break;
}
- if (elistsz <= 0) {
+ if (elistsz == 0) {
from_encoding = &mbfl_encoding_pass;
} else if (elistsz == 1) {
from_encoding = *elist;