dmitry Mon Jun 18 13:54:59 2007 UTC
Modified files:
/php-src/ext/standard string.c
Log:
Fixed error message
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.644&r2=1.645&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.644 php-src/ext/standard/string.c:1.645
--- php-src/ext/standard/string.c:1.644 Mon Jun 18 13:39:02 2007
+++ php-src/ext/standard/string.c Mon Jun 18 13:54:59 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.644 2007/06/18 13:39:02 dmitry Exp $ */
+/* $Id: string.c,v 1.645 2007/06/18 13:54:59 dmitry Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -7894,7 +7894,7 @@
}
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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php