tony2001                Wed Dec 14 00:54:04 2005 EDT

  Modified files:              
    /php-src/ext/standard       string.c 
  Log:
  fix spelling and #35665
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.510&r2=1.511&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.510 php-src/ext/standard/string.c:1.511
--- php-src/ext/standard/string.c:1.510 Fri Dec  9 22:26:39 2005
+++ php-src/ext/standard/string.c       Wed Dec 14 00:54:04 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.510 2005/12/09 22:26:39 tony2001 Exp $ */
+/* $Id: string.c,v 1.511 2005/12/14 00:54:04 tony2001 Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -5918,7 +5918,7 @@
                input_str_len = UBYTES(input_str_chars);
                result_len = UBYTES(result_chars);
                if ( result_chars < 1 || result_chars > (2147483647/UBYTES(1)) 
) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may 
not create strings longer then %ld characters", 2147483647/UBYTES(1));
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may 
not create strings longer than %ld characters", 2147483647/UBYTES(1));
                        RETURN_FALSE;
                }
        } else {
@@ -5926,9 +5926,9 @@
                result_len = result_chars;
                if ( result_chars < 1 || result_chars > 2147483647 ) {
                        if ( input_str_type == IS_STRING ) {
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, 
"You may not create strings longer then 2147483647 characters");
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, 
"You may not create strings longer than 2147483647 characters");
                        } else {
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, 
"You may not create strings longer then 2147483647 bytes");
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, 
"You may not create strings longer than 2147483647 bytes");
                        }
                        RETURN_FALSE;
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to