if (thousand_sep) {
if (integral + thousand_sep_len * ((integral-1) / 3) < integral) {
/* overflow */
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "String overflow");
+ zend_error(E_ERROR, "String overflow");
}
integral += thousand_sep_len * ((integral-1) / 3);
}
if (dec_point) {
if (reslen + dec_point < dec_point) {
/* overflow */
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "String overflow");
+ zend_error(E_ERROR, "String overflow");
}
reslen += dec_point_len;
}