It's very common that one of the bounds is LONG_MIN or LONG_MAX.
Dump them as MIN/MAX instead of the int representation in that
case, as it makes the dump less noisy.
fprintf(stderr, " RANGE[");
if (r->underflow) {
fprintf(stderr, "--..");
+ } else if (r->min == ZEND_LONG_MIN) {
+ fprintf(stderr, "MIN..");
} else {
fprintf(stderr, ZEND_LONG_FMT "..", r->min);
}
if (r->overflow) {
fprintf(stderr, "++]");
+ } else if (r->max == ZEND_LONG_MAX) {
+ fprintf(stderr, "MAX]");
} else {
fprintf(stderr, ZEND_LONG_FMT "]", r->max);
}