]> granicus.if.org Git - php/commitdiff
fix typos
authorolshevskiy87 <olshevskiy87@bk.ru>
Wed, 13 May 2015 18:05:59 +0000 (22:05 +0400)
committerolshevskiy87 <olshevskiy87@bk.ru>
Wed, 13 May 2015 18:28:35 +0000 (22:28 +0400)
Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
Zend/zend_hash.c
ext/mbstring/ucgendat/ucgendat.c
ext/pcre/pcrelib/README
ext/pcre/pcrelib/pcre_compile.c
ext/pdo/pdo_sql_parser.c
ext/pdo/pdo_sql_parser.re
ext/reflection/php_reflection.c
ext/sqlite3/libsqlite/sqlite3.c
ext/standard/array.c
ext/standard/url.c
sapi/phpdbg/phpdbg_bp.c

index 3412e36903d8d7aa2b1abc86efd01ee2544dfff8..75bcb2142d13dea5e25b65c0922c1fb5d5aafdf9 100644 (file)
@@ -417,7 +417,7 @@ static zend_always_inline Bucket *zend_hash_find_bucket(const HashTable *ht, zen
        idx = HT_HASH_EX(arData, nIndex);
        while (EXPECTED(idx != HT_INVALID_IDX)) {
                p = HT_HASH_TO_BUCKET_EX(arData, idx);
-               if (EXPECTED(p->key == key)) { /* check for the the same interned string */
+               if (EXPECTED(p->key == key)) { /* check for the same interned string */
                        return p;
                } else if (EXPECTED(p->h == h) &&
                     EXPECTED(p->key) &&
index 8b735738b128f9bcdfff94f51d3409786d709aa6..f7b8ab54984de7124ffc70fa7ea5d80dec5afdfb 100644 (file)
@@ -1065,7 +1065,7 @@ read_cdata(FILE *in)
 
             if (*e == '/') {
                 /*
-                 * Move the the denominator of the fraction.
+                 * Move the denominator of the fraction.
                  */
                 if (neg)
                   number[wnum] *= -1;
index 4887ebf350e7e6f7881b54f0e1e0077d1091adda..c0f3c865efd7a1a51b3fafed5c5f26a56dd8e981 100644 (file)
@@ -442,7 +442,7 @@ The "configure" script also creates config.status, which is an executable
 script that can be run to recreate the configuration, and config.log, which
 contains compiler output from tests that "configure" runs.
 
-Once "configure" has run, you can run "make". This builds the the libraries
+Once "configure" has run, you can run "make". This builds the libraries
 libpcre, libpcre16 and/or libpcre32, and a test program called pcretest. If you
 enabled JIT support with --enable-jit, a test program called pcre_jit_test is
 built as well.
index f4c77a4674f0fb34076b207eb098a7d10d810645..9a32becb502a00a008d11276bf21f5536301a74d 100644 (file)
@@ -5728,7 +5728,7 @@ for (;; ptr++)
     /* If previous was a character type match (\d or similar), abolish it and
     create a suitable repeat item. The code is shared with single-character
     repeats by setting op_type to add a suitable offset into repeat_type. Note
-    the the Unicode property types will be present only when SUPPORT_UCP is
+    that the Unicode property types will be present only when SUPPORT_UCP is
     defined, but we don't wrap the little bits of code here because it just
     makes it horribly messy. */
 
index 11e245d7d1792d31fb7aa0259c61166363b203b3..9e1d4185d506290dbdbc810f2eaabe207df984e8 100644 (file)
@@ -506,7 +506,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len
 
        if (stmt->named_rewrite_template) {
                /* magic/hack.
-                * We we pretend that the query was positional even if
+                * We pretend that the query was positional even if
                 * it was named so that we fall into the
                 * named rewrite case below.  Not too pretty,
                 * but it works. */
@@ -523,7 +523,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len
        }
 
        if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
-               /* extra bit of validation for instances when same params are bound more then once */
+               /* extra bit of validation for instances when same params are bound more than once */
                if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
                        int ok = 1;
                        for (plc = placeholders; plc; plc = plc->next) {
index 1297e45db79964e1d82788cfd4e89b072560d6c3..cc774e1a021739287280b5a251db8b02d1fcc891 100644 (file)
@@ -165,7 +165,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len
        }
 
        if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
-               /* extra bit of validation for instances when same params are bound more then once */
+               /* extra bit of validation for instances when same params are bound more than once */
                if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
                        int ok = 1;
                        for (plc = placeholders; plc; plc = plc->next) {
index f7dd5531d00c546065d7f1ab52490dd8170fc6f1..fd58f158c3190dcbae36bf57868e867d0975d713 100644 (file)
@@ -1737,7 +1737,7 @@ ZEND_METHOD(reflection_function, isInternal)
 /* }}} */
 
 /* {{{ proto public bool ReflectionFunction::isUserDefined()
-   Returns whether this is an user-defined function */
+   Returns whether this is a user-defined function */
 ZEND_METHOD(reflection_function, isUserDefined)
 {
        reflection_object *intern;
index edf1186b14861033bef5a05dd041382c427f7779..c9ed48f4bf618751c915ce01ea537250fc2115c3 100644 (file)
@@ -28358,7 +28358,7 @@ static int unixRead(
 #endif
 
 #if SQLITE_MAX_MMAP_SIZE>0
-  /* Deal with as much of this read request as possible by transfering
+  /* Deal with as much of this read request as possible by transferring
   ** data from the memory mapping using memcpy().  */
   if( offset<pFile->mmapSize ){
     if( offset+amt <= pFile->mmapSize ){
@@ -28493,7 +28493,7 @@ static int unixWrite(
 #endif
 
 #if SQLITE_MAX_MMAP_SIZE>0
-  /* Deal with as much of this write request as possible by transfering
+  /* Deal with as much of this write request as possible by transferring
   ** data from the memory mapping using memcpy().  */
   if( offset<pFile->mmapSize ){
     if( offset+amt <= pFile->mmapSize ){
@@ -35396,7 +35396,7 @@ static int winRead(
            pFile->h, pBuf, amt, offset, pFile->locktype));
 
 #if SQLITE_MAX_MMAP_SIZE>0
-  /* Deal with as much of this read request as possible by transfering
+  /* Deal with as much of this read request as possible by transferring
   ** data from the memory mapping using memcpy().  */
   if( offset<pFile->mmapSize ){
     if( offset+amt <= pFile->mmapSize ){
@@ -35468,7 +35468,7 @@ static int winWrite(
            pFile->h, pBuf, amt, offset, pFile->locktype));
 
 #if SQLITE_MAX_MMAP_SIZE>0
-  /* Deal with as much of this write request as possible by transfering
+  /* Deal with as much of this write request as possible by transferring
   ** data from the memory mapping using memcpy().  */
   if( offset<pFile->mmapSize ){
     if( offset+amt <= pFile->mmapSize ){
@@ -108939,7 +108939,7 @@ static int flattenSubquery(
       ** ORDER BY column expression is identical to the iOrderByCol'th
       ** expression returned by SELECT statement pSub. Since these values
       ** do not necessarily correspond to columns in SELECT statement pParent,
-      ** zero them before transfering the ORDER BY clause.
+      ** zero them before transferring the ORDER BY clause.
       **
       ** Not doing this may cause an error if a subsequent call to this
       ** function attempts to flatten a compound sub-query into pParent
@@ -150675,7 +150675,7 @@ static int rtreeFilter(
   if( idxNum==1 ){
     /* Special case - lookup by rowid. */
     RtreeNode *pLeaf;        /* Leaf on which the required cell resides */
-    RtreeSearchPoint *p;     /* Search point for the the leaf */
+    RtreeSearchPoint *p;     /* Search point for the leaf */
     i64 iRowid = sqlite3_value_int64(argv[0]);
     i64 iNode = 0;
     rc = findLeafNode(pRtree, iRowid, &pLeaf, &iNode);
index aef003d7a1a0a50d476cc18f9ef491ff589479a2..3397de923b68b9acb871d55efb9dd00ba6996529 100644 (file)
@@ -3796,7 +3796,7 @@ PHP_FUNCTION(array_intersect)
 /* }}} */
 
 /* {{{ proto array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_func)
-   Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback. */
+   Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using a user-supplied callback. */
 PHP_FUNCTION(array_uintersect)
 {
        php_array_intersect(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTERSECT_NORMAL, INTERSECT_COMP_DATA_USER, INTERSECT_COMP_KEY_INTERNAL);
@@ -3812,7 +3812,7 @@ PHP_FUNCTION(array_intersect_assoc)
 /* }}} */
 
 /* {{{ proto array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) U
-   Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check and they are compared by using an user-supplied callback. */
+   Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check and they are compared by using a user-supplied callback. */
 PHP_FUNCTION(array_intersect_uassoc)
 {
        php_array_intersect(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTERSECT_ASSOC, INTERSECT_COMP_DATA_INTERNAL, INTERSECT_COMP_KEY_USER);
@@ -3820,7 +3820,7 @@ PHP_FUNCTION(array_intersect_uassoc)
 /* }}} */
 
 /* {{{ proto array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) U
-   Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Data is compared by using an user-supplied callback. */
+   Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Data is compared by using a user-supplied callback. */
 PHP_FUNCTION(array_uintersect_assoc)
 {
        php_array_intersect_key(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTERSECT_COMP_DATA_USER);
index 63327cb8d5f79590c62c7b8d3389b2716ef45df9..f7bca053a753fa5a57994a2ca558cc2161a91fc3 100644 (file)
@@ -769,7 +769,7 @@ no_name_header:
 
                                if ((prev_val = zend_hash_str_find(HASH_OF(return_value), Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)))) == NULL) {
                                        add_assoc_stringl_ex(return_value, Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)), s, (Z_STRLEN_P(hdr) - (s - Z_STRVAL_P(hdr))));
-                               } else { /* some headers may occur more then once, therefor we need to remake the string into an array */
+                               } else { /* some headers may occur more than once, therefor we need to remake the string into an array */
                                        convert_to_array(prev_val);
                                        add_next_index_stringl(prev_val, s, (Z_STRLEN_P(hdr) - (s - Z_STRVAL_P(hdr))));
                                }
index 022af9b1c98ddb07164b84b329aeba37791425f9..c8017a39d3958a11839d7506871ff2e9fa024715 100644 (file)
@@ -559,9 +559,9 @@ PHPDBG_API int phpdbg_resolve_opline_break(phpdbg_breakopline_t *new_break) /* {
 
        if (func->type != ZEND_USER_FUNCTION) {
                if (new_break->class_name == NULL) {
-                       phpdbg_error("breakpoint", "type=\"internalfunction\" function=\"%s\"", "%s is not an user defined function, no oplines exist", new_break->func_name);
+                       phpdbg_error("breakpoint", "type=\"internalfunction\" function=\"%s\"", "%s is not a user defined function, no oplines exist", new_break->func_name);
                } else {
-                       phpdbg_error("breakpoint", "type=\"internalfunction\" method=\"%s::%s\"", "%s::%s is not an user defined method, no oplines exist", new_break->class_name, new_break->func_name);
+                       phpdbg_error("breakpoint", "type=\"internalfunction\" method=\"%s::%s\"", "%s::%s is not a user defined method, no oplines exist", new_break->class_name, new_break->func_name);
                }
                return 2;
        }