From: Dmitry Stogov Date: Mon, 18 Jun 2007 13:54:59 +0000 (+0000) Subject: Fixed error message X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33e5346a5a2cd4889250cf16aebb92633d420b7a;p=php Fixed error message --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 489ae1d2ac..a2715c412f 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -7894,7 +7894,7 @@ PHP_FUNCTION(substr_compare) } if(len > s1_len - offset) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "The length cannot exceed initial string length"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "The specified segment exceeds string length"); RETURN_FALSE; }