]> granicus.if.org Git - php/commitdiff
Fix #78880: Final spelling fixes
authorMáté Kocsis <kocsismate@woohoolabs.com>
Thu, 16 Jan 2020 18:04:42 +0000 (19:04 +0100)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Thu, 16 Jan 2020 18:14:31 +0000 (19:14 +0100)
89 files changed:
.gitignore
ext/bcmath/libbcmath/src/init.c
ext/curl/tests/curl_multi_close_basic001.phpt
ext/date/tests/date-time-modify-times.phpt
ext/dom/tests/DOMComment_replaceData_error1.phpt
ext/dom/tests/DOMComment_replaceData_error2.phpt
ext/fileinfo/tests/finfo_open_basic.phpt
ext/fileinfo/tests/magic
ext/fileinfo/tests/magic私はガラスを食べられます
ext/ftp/tests/ftp_fget_basic.phpt
ext/ftp/tests/ftp_set_option_errors.phpt
ext/gd/libgd/gd.h
ext/gd/libgd/gd_gd.c
ext/gd/libgd/gd_tga.c
ext/gd/libgd/gdtest.c
ext/gd/tests/imagecolordeallocate_error3.phpt
ext/gd/tests/imagecolordeallocate_error4.phpt
ext/gd/tests/imagepalettetotruecolor_basic.phpt
ext/imap/tests/imap_include.inc
ext/ldap/tests/ldap_option_reqcert_error.phpt
ext/mbstring/libmbfl/filters/mbfilter_uuencode.c
ext/mbstring/tests/mb_strtolower_basic.phpt
ext/mbstring/tests/mb_strtoupper_basic.phpt
ext/mysqli/mysqli_api.c
ext/mysqli/tests/mysqli_stmt_errno.phpt
ext/mysqli/tests/mysqli_stmt_error.phpt
ext/mysqlnd/mysqlnd_ps_codec.c
ext/mysqlnd/mysqlnd_vio.c
ext/oci8/tests/edition_2.phpt
ext/opcache/Optimizer/block_pass.c
ext/opcache/Optimizer/escape_analysis.c
ext/opcache/Optimizer/pass3.c
ext/opcache/Optimizer/zend_cfg.h
ext/opcache/Optimizer/zend_ssa.h
ext/opcache/jit/dynasm/dynasm.lua
ext/opcache/jit/dynasm/minilua.c
ext/opcache/jit/zend_jit.h
ext/opcache/jit/zend_jit_x86.dasc
ext/opcache/tests/jit/reg_alloc_002.phpt
ext/opcache/tests/jit/reg_alloc_003.phpt
ext/opcache/tests/opt/sccp_022.phpt
ext/opcache/tests/ssa_bug_001.phpt
ext/openssl/tests/openssl_error_string_basic.phpt
ext/pdo/pdo_stmt.c
ext/pdo/tests/bug_69356.phpt
ext/pdo/tests/bug_71447.phpt
ext/pdo/tests/pdo_034.phpt
ext/pdo_mysql/tests/pdo_mysql___construct_options_libmysql.phpt
ext/pdo_oci/tests/pdo_oci_debugdumpparams.phpt
ext/posix/tests/posix_getgrgid_basic.phpt
ext/reflection/tests/ReflectionZendExtension_error.phpt
ext/soap/php_encoding.c
ext/soap/tests/fault_warning.phpt
ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.wsdl
ext/soap/tests/soap12/T46.phpt
ext/sockets/tests/bug76839.phpt
ext/sockets/tests/wsaprotocol_info_0.phpt
ext/spl/tests/bug55701.phpt
ext/spl/tests/heap_009.phpt
ext/spl/tests/unserialize.phpt
ext/standard/dns.c
ext/standard/php_math.h
ext/standard/tests/array/array_change_key_case_variation8.phpt
ext/standard/tests/array/array_diff_variation8.phpt
ext/standard/tests/array/array_walk_object1.phpt
ext/standard/tests/general_functions/print_r.phpt
ext/standard/tests/general_functions/print_r_64bit.phpt
ext/standard/tests/general_functions/var_dump.phpt
ext/standard/tests/general_functions/var_dump_64bit.phpt
ext/standard/tests/image/iptcembed_002.phpt
ext/standard/tests/mail/mail_include.inc
ext/standard/tests/strings/addslashes_variation2.phpt
ext/standard/tests/strings/strcasecmp.phpt
ext/standard/tests/strings/strcmp.phpt
ext/standard/tests/strings/stripos_variation4.phpt
ext/standard/tests/strings/stripslashes_variation2.phpt
ext/standard/tests/strings/strlen.phpt
ext/standard/tests/strings/strripos_variation4.phpt
ext/standard/tests/strings/strrpos_variation4.phpt
ext/standard/tests/strings/strstr.phpt
ext/standard/tests/url/bug47174.phpt
ext/sysvmsg/tests/002.phpt
ext/sysvmsg/tests/006.phpt
ext/xmlrpc/libxmlrpc/xml_element.h
ext/xmlrpc/xmlrpc-epi-php.c
ext/xsl/tests/bug71540.phpt
sapi/fpm/www.conf.in
win32/build/confutils.js
win32/sendmail.c

index dc63cce7d7a62670a469a1f84bb4e579726840f4..af807328f662706ca442ef9744ff98dbecd3a22a 100644 (file)
@@ -209,7 +209,7 @@ php
 # Generated by x64 compiler, includes Debug, Debug_TS, Release, Release_TS
 /x64/
 
-# Miscellaneous files generated by Windows build sytem
+# Miscellaneous files generated by Windows build system
 /main/config.w32.h
 /win32/build/deplister.exe
 /win32/build/deplister.obj
index a125947a3e7759a22c8f24d1e844adf1c6386acf..676076f89ddb069f7da5586c8368dbac480483c9 100644 (file)
@@ -82,7 +82,7 @@ _bc_free_num_ex (num, persistent)
 }
 
 
-/* Intitialize the number package! */
+/* Initialize the number package! */
 
 void
 bc_init_numbers (void)
index 50ed9f4ff3d4658b39371441ff154bd757c708ab..42deaf78be14803fa59e753069b062a70ccddcc2 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-curl_multi_close return false when suplied resorce not valid cURL multi handle
+curl_multi_close return false when supplied resource not valid cURL multi handle
 --SKIPIF--
 <?php
 if (!extension_loaded('curl')) print 'skip';
index e355f18e06b802999776e9f5ab00e061e34faee3..85e0b4fdc0f26bfac689a6611f2da6912471b04a 100644 (file)
@@ -17,7 +17,7 @@ $tests = array(
        '2010-12-15 19:42:45' => array(
                'october 23:00', // October 23rd, with a broken time
                'march 28, 00:15',
-               'march 28, 01:15', // doesn't exist bcause of DST
+               'march 28, 01:15', // doesn't exist because of DST
                'march 28, 02:15',
        ),
 );
index 16ea993e3442947305151c16fecc2827acb62a51..331f482bdddd7104230e46a23f94cf033789082c 100644 (file)
@@ -15,10 +15,10 @@ try {
   $comment->replaceData(-1,4,'-inserted');
 } catch (DOMException $e ) {
   if ($e->getMessage() == 'Index Size Error'){
-    echo "Throws DOMException for -ve offest\n";
+    echo "Throws DOMException for -ve offset\n";
   }
 }
 
 ?>
 --EXPECT--
-Throws DOMException for -ve offest
+Throws DOMException for -ve offset
index fbf59d76dc707372d0bf084a07cdddbabb21ff1c..69407ba1c02415e048224ab497ce976372b9bce4 100644 (file)
@@ -15,10 +15,10 @@ try {
   $comment->replaceData(999,4,'-inserted');
 } catch (DOMException $e ) {
   if ($e->getMessage() == 'Index Size Error'){
-    echo "Throws DOMException for offest too large\n";
+    echo "Throws DOMException for offset too large\n";
   }
 }
 
 ?>
 --EXPECT--
-Throws DOMException for offest too large
+Throws DOMException for offset too large
index 176ad49c503e35fe1d421b0991da789f3a7b9818..5fb254b274d2c69d08a84cb4c632e746c213e47a 100644 (file)
@@ -24,7 +24,7 @@ var_dump( finfo_open( FILEINFO_CONTINUE, $magicFile ) );
 var_dump( finfo_open( FILEINFO_PRESERVE_ATIME, $magicFile ) );
 var_dump( finfo_open( FILEINFO_RAW, $magicFile ) );
 
-// OO inteface to finfo
+// OO interface to finfo
 var_dump( new finfo( FILEINFO_MIME, $magicFile ) );
 var_dump( new finfo() );
 
index c53d0fdd8da569f35b2b6511e0ee4323efe66119..cb9b03c099a144f938311834b317716dca9396d4 100644 (file)
 # updated by Joerg Jenderek at Oct 2008
 # variables according to grub-0.97/stage1/stage1.S or
 # https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
 >342           search/60       \0Geom\0
 #>0            ulelong         x               %x=0x009048EB , 0x2a9048EB  0
 >>0x41         ubyte           <2
 # In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or
 # grub-1.94/kern/i386/pc/startup.S
 # https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
 0x200  uleshort                0x70EA
 # found only version 3.{1,2}
 >0x206         ubeshort        >0x0300
 0              ulelong&0x804000E9      0x000000E9
 !:strength     +60
 # mtools-3.9.8/msdos.h
-# usual values are marked with comments to get only informations of strange FAT systems
+# usual values are marked with comments to get only information of strange FAT systems
 # valid sectorsize must be a power of 2 from 32 to 32768
 >11            uleshort&0x001f 0
 >>11           uleshort        <32769
index c53d0fdd8da569f35b2b6511e0ee4323efe66119..7ccafe869f9580f8881fdfc5e784e7a9ea84e212 100644 (file)
 # updated by Joerg Jenderek at Oct 2008
 # variables according to grub-0.97/stage1/stage1.S or
 # https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
 >342           search/60       \0Geom\0
 #>0            ulelong         x               %x=0x009048EB , 0x2a9048EB  0
 >>0x41         ubyte           <2
index 336594e3167929db72e0c577ca248fbdd1e753d1..62092f897d490f40400e876a676eda0bc4786221 100644 (file)
@@ -21,10 +21,10 @@ var_dump(ftp_fget($ftp, $fp ,'a story.txt', FTP_ASCII));
 fseek($fp, 0);
 echo fgets($fp);
 
-$postition = ftell($fp);
+$position = ftell($fp);
 //test binary data transfer
 var_dump(ftp_fget($ftp, $fp, 'binary data.bin', FTP_BINARY));
-fseek($fp, $postition);
+fseek($fp, $position);
 var_dump(urlencode(fgets($fp)));
 
 //test non-existent file request
index 1ad8a072c925626cd024a60cdef83f828b2228e3..ad91be56e8a66c0e79480dd5ae85f5bb80f85772 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Testing ftp_set_option erros while setting up
+Testing ftp_set_option errors while setting up
 --CREDITS--
 Gabriel Caruso (carusogabriel34@gmail.com)
 --SKIPIF--
index 461024f0f77d0c98d189e06504afb137815e9869..cddd6c1f7a6b81f92addd64d29865dad8e135652 100644 (file)
@@ -902,7 +902,7 @@ int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPt
 
 
 #define GD_CMP_IMAGE           1       /* Actual image IS different */
-#define GD_CMP_NUM_COLORS      2       /* Number of Colours in pallette differ */
+#define GD_CMP_NUM_COLORS      2       /* Number of Colours in palette differ */
 #define GD_CMP_COLOR           4       /* Image colours differ */
 #define GD_CMP_SIZE_X          8       /* Image width differs */
 #define GD_CMP_SIZE_Y          16      /* Image heights differ */
index 81a957d4141e5d915c05b6b5109dc56d8f905d68..d5fe16a9af16130f0b2c66f5facb6fc39264f166 100644 (file)
@@ -59,7 +59,7 @@ int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag)
                }
        }
 
-       GD2_DBG(printf("Pallette had %d colours (T=%d)\n", im->colorsTotal, im->transparent));
+       GD2_DBG(printf("Palette had %d colours (T=%d)\n", im->colorsTotal, im->transparent));
 
        if (im->trueColor) {
                return TRUE;
index 67e77f7b9865ba765ad534907212f52a64b7d2ce..7328163f2c07fd3c638c77f26236896f49bec99f 100644 (file)
@@ -141,7 +141,7 @@ gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx* ctx)
  *     Reads the header block from a binary TGA file populating the referenced TGA structure.
  *     \param ctx Pointer to TGA binary file
  *     \param tga Pointer to TGA structure
- *     \return int 1 on sucess, -1 on failure
+ *     \return int 1 on success, -1 on failure
  */
 int read_header_tga(gdIOCtx *ctx, oTga *tga)
 {
@@ -201,7 +201,7 @@ int read_header_tga(gdIOCtx *ctx, oTga *tga)
  *     Reads the image data block from a binary TGA file populating the referenced TGA structure.
  *     \param ctx Pointer to TGA binary file
  *     \param tga Pointer to TGA structure
- *     \return int 0 on sucess, -1 on failure
+ *     \return int 0 on success, -1 on failure
  */
 int read_image_tga( gdIOCtx *ctx, oTga *tga )
 {
index 24b750386424d29c0469cb47ff78d34631afd80c..ba036b83d974bf6ad121641a44e5a6b6c0ff58fa 100644 (file)
@@ -384,7 +384,7 @@ CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2)
 
   if (cmpRes & GD_CMP_NUM_COLORS)
     {
-      printf ("-%s: INFO number of pallette entries differ %d Vs. %d\n", msg,
+      printf ("-%s: INFO number of palette entries differ %d Vs. %d\n", msg,
              im1->colorsTotal, im2->colorsTotal);
     }
 
index f81b52192ad7e2aaf08e9e11478ec063a325c847..e0748c44baa7a20068be02ecbb4e384e209bd322 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Testing imagecolordeallocate() of GD library with Out of range intergers (Above)
+Testing imagecolordeallocate() of GD library with Out of range integers (Above)
 --CREDITS--
 Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
index 4d3009dcaef53f690197a7a9a2ac7589f7b32d15..e35c529879fb361d16f87ffda4db24ca978306a9 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Testing imagecolordeallocate() of GD library with Out of range intergers (Below)
+Testing imagecolordeallocate() of GD library with Out of range integers (Below)
 --CREDITS--
 Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
index 89fb514a5f4303e1b7919f76e2bc5d1bf39af29a..4c4a261b92b41ff2e779dce534db0ff021b7446f 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-does the imagepalettetotruecollor function realy converts the image palette?
+does the imagepalettetotruecollor function really converts the image palette?
 --CREDITS--
 Carlos André Ferrari <caferrari [at] gmail [dot] com>
 --SKIPIF--
index 369a560a5f83898d571834bc21e77b53f614ac92..47ac081c9f77fca48dc1d8a5e0e74833856905a8 100644 (file)
@@ -77,7 +77,7 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul
        echo "Create a temporary mailbox and add " . $message_count .  " msgs\n";
        $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
        if ($new_mailbox === false) {
-          echo "Cant create a temporary mailbox: " . imap_last_error(). "\n";
+          echo "Can't create a temporary mailbox: " . imap_last_error(). "\n";
           return false;
        }
 
@@ -85,7 +85,7 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul
 
        // reopen stream to new mailbox
        if (imap_reopen($imap_stream, $new_mailbox) === false) {
-               echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
+               echo "can't re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
                return false;
        }
 
index 9f45e7f6042333fe8e329e8e702914e9eac240a2..50e542a08032d11f38df0a49a84a87e3bfba7521 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-ldap_option_reqcert_error() - A test to check if ldap cant connect to a LDAP server with a invalid certificate with certificate checking enabled
+ldap_option_reqcert_error() - A test to check if ldap can't connect to a LDAP server with a invalid certificate with certificate checking enabled
 --CREDITS--
 Edwin Hoksberg <edwin@edwinhoksberg.nl>
 --SKIPIF--
index 590ecda99765525f8af57128ce4176fa560ee56a..0645ef68c64cce8423041ba82f9703fde272eb31 100644 (file)
@@ -89,7 +89,7 @@ int mbfl_filt_conv_uudec(int c, mbfl_convert_filter * filter)
                        }
                        if (filter->cache == 5)
                        {
-                               /* thats good enough - wait for a newline */
+                               /* that's good enough - wait for a newline */
                                filter->status = uudec_state_until_newline;
                                filter->cache = 0;
                        }
index 4f727094b15ed84e4326b5e1d190e43b47d0711f..c1ed26d6a840b9720d10271818743d599378a177 100644 (file)
@@ -40,7 +40,7 @@ var_dump(base64_encode($mb));
 if ($mb == $greek_lower) {
        echo "Correctly converted\n";
 } else {
-       echo "Incorreclty converted\n";
+       echo "Incorrectly converted\n";
 }
 
 echo "Done";
index 72601442fd027261f06f7e142a2d4b11ef2bab82..ddaea2040bab25fcc77c4aba917f03d003a8e245 100644 (file)
@@ -41,7 +41,7 @@ var_dump(base64_encode($mb));
 if ($mb == $greek_upper) {
        echo "Correctly converted\n";
 } else {
-       echo "Incorreclty converted\n";
+       echo "Incorrectly converted\n";
 }
 
 echo "Done";
index 4a5e7c992ae9b7ee86a18901f808243aabaeb432..74dcc95ac9b67acefa3a703f77f1404dbb3388b3 100644 (file)
@@ -1515,7 +1515,7 @@ void php_mysqli_init(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_method)
        if (!(mysql->mysql = mysql_init(NULL)))
 #else
        /*
-         We create always persistent, as if the user want to connecto
+         We create always persistent, as if the user want to connect
          to p:somehost, we can't convert the handle then
        */
        if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, TRUE)))
index 39760e300361252f652eeb5159254216a413cdef..7b20ea65c67831856ef7ee4b95377d49bc68b945 100644 (file)
@@ -40,7 +40,7 @@ require_once('skipifconnectfailure.inc');
 
        // set after client error
        if (0 === ($tmp = mysqli_stmt_errno($stmt)))
-               printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
+               printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
 
        mysqli_stmt_close($stmt);
 
index 49e03c8aeec6fec505ae05aeabddd6f7b8744f90..2b7b59a21a5ce27747cf67e642b0b222a5d62372 100644 (file)
@@ -40,7 +40,7 @@ require_once('skipifconnectfailure.inc');
 
        // set after client error
        if ('' === ($tmp = mysqli_stmt_error($stmt)))
-               printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
+               printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
 
        mysqli_stmt_close($stmt);
 
index 279e7ba01e9e47eb30c3f246ca91a86676f8c744..c0b3d1d6ff2809fed25f4ea3beccf703407eed8e 100644 (file)
@@ -96,7 +96,7 @@ ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, const u
                        case 8:lval = (int64_t) sint8korr(*row);break;
                        /*
                          7, 6 and 5 are not possible.
-                         BIT is only unsigned, thus only uint5|6|7 macroses exist
+                         BIT is only unsigned, thus only uint5|6|7 macros exist
                        */
                        case 4:lval = (int64_t) sint4korr(*row);break;
                        case 3:lval = (int64_t) sint3korr(*row);break;
index 2788c8cdde26a103705b15ff15172b2d64589c94..bc59cbeed845e26366cc200776c12c56999538ca 100644 (file)
@@ -129,7 +129,7 @@ MYSQLND_METHOD(mysqlnd_vio, open_pipe)(MYSQLND_VIO * const vio, const MYSQLND_CS
        streams_options |= IGNORE_URL;
        net_stream = php_stream_open_wrapper(scheme.s + sizeof("pipe://") - 1, "r+", streams_options, NULL);
        if (!net_stream) {
-               SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown errror while connecting");
+               SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown error while connecting");
                DBG_RETURN(NULL);
        }
        /*
index 054e6859437812dc89a58a018ac896dd60e1d344..1aebe1a03b0e21ba273312165f1936b5a0bc331d 100644 (file)
@@ -63,7 +63,7 @@ get_edit_attr($pc1);
 oci_close($pc1);
 
 
-echo"\n\n**Test 1.3 change the value and verify with existing conenctions.*********\n";
+echo"\n\n**Test 1.3 change the value and verify with existing connections.*********\n";
 set_edit_attr('MYEDITION1');
 get_edit_attr($conn2);
 get_edit_attr($conn3); // Old value
@@ -131,7 +131,7 @@ echo " Set the value back using oci-set_edition\n";
 set_edit_attr('MYEDITION');
 get_edit_attr($c2);
 
-echo " Get the value with a new conenction\n";
+echo " Get the value with a new connection\n";
 $c3 = get_conn(1);
 get_edit_attr($c3);
 
@@ -178,7 +178,7 @@ The value of current EDITION is MYEDITION
 The value of current EDITION is MYEDITION
 
 
-**Test 1.3 change the value and verify with existing conenctions.*********
+**Test 1.3 change the value and verify with existing connections.*********
  The value of edition has been successfully set
 The value of current EDITION is MYEDITION
 The value of current EDITION is MYEDITION
@@ -235,7 +235,7 @@ The value of current EDITION is MYEDITION
  Set the value back using oci-set_edition
  The value of edition has been successfully set
 The value of current EDITION is MYEDITION
- Get the value with a new conenction
+ Get the value with a new connection
 Testing with oci_connect()
 The value of current EDITION is MYEDITION
 
index b6af541eac6e9bb2d68e1cd6a4cd714dc46ee93a..fa570c9301b18f707c73fba815ea71fdc574c6f0 100644 (file)
@@ -1416,7 +1416,7 @@ static void zend_jmp_optimization(zend_basic_block *block, zend_op_array *op_arr
                                        /*       should be used once on the branch path.           */
                                        /*                                                         */
                                        /*       The pattern works well only if jums processed in  */
-                                       /*       direct order, otherwise it breakes JMPZ_EX        */
+                                       /*       direct order, otherwise it breaks JMPZ_EX         */
                                        /*       sequences too early.                              */
                                        last_op->result.var = target->result.var;
                                        next = target_block->successors[0];
index a13f69cdf0071a927cb600ffc8d9d5ce3c819230..f50bc19b257de3cac6cbaff0977ca4f64c8b3176 100644 (file)
@@ -338,7 +338,7 @@ static int is_escape_use(zend_op_array *op_array, zend_ssa *ssa, int use, int va
                                if (opline->op1_type != IS_CV
                                 || (OP1_INFO() & MAY_BE_REF)
                                 || (op->op1_def >= 0 && ssa->vars[op->op1_def].alias)) {
-                                       /* asignment into escaping structure */
+                                       /* assignment into escaping structure */
                                        return 1;
                                }
                                /* reference dependencies processed separately */
@@ -354,7 +354,7 @@ static int is_escape_use(zend_op_array *op_array, zend_ssa *ssa, int use, int va
                                if (opline->op1_type != IS_CV
                                 || (OP1_INFO() & MAY_BE_REF)
                                 || (op->op1_def >= 0 && ssa->vars[op->op1_def].alias)) {
-                                       /* asignment into escaping variable */
+                                       /* assignment into escaping variable */
                                        return 1;
                                }
                                if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) {
index a4abe2f8d345542d305a14b03a440fba27b63a03..f98c41848c243551e93c2e3d53fd2d78b8965155 100644 (file)
@@ -262,7 +262,7 @@ void zend_optimizer_pass3(zend_op_array *op_array, zend_optimizer_ctx *ctx)
                                                /*       should be used once on the branch path.           */
                                                /*                                                         */
                                                /*       The pattern works well only if jums processed in  */
-                                               /*       direct order, otherwise it breakes JMPZ_EX        */
+                                               /*       direct order, otherwise it breaks JMPZ_EX         */
                                                /*       sequences too early.                              */
                                                opline->result.var = target->result.var;
                                                target = target + 1;
index ec7a10462c0fb52ac0e22ff0523d87905c07ebb6..51e2e63b4bcc6233b99463b0ea4caddb7c487cdf 100644 (file)
@@ -22,7 +22,7 @@
 /* zend_basic_bloc.flags */
 #define ZEND_BB_START            (1<<0)  /* fist block             */
 #define ZEND_BB_FOLLOW           (1<<1)  /* follows the next block */
-#define ZEND_BB_TARGET           (1<<2)  /* jump taget             */
+#define ZEND_BB_TARGET           (1<<2)  /* jump target            */
 #define ZEND_BB_EXIT             (1<<3)  /* without successors     */
 #define ZEND_BB_ENTRY            (1<<4)  /* stackless entry        */
 #define ZEND_BB_TRY              (1<<5)  /* start of try block     */
index 935a3cd9aabd5a3ee1a7ca9ff0dd82f0aa37a1af..799af21532b1b50b35a9382c9dd0d65503d979cc 100644 (file)
@@ -113,7 +113,7 @@ typedef struct _zend_ssa_var {
        int                    use_chain;      /* uses of this value, linked through opN_use_chain */
        zend_ssa_phi          *phi_use_chain;  /* uses of this value in Phi, linked through use_chain */
        zend_ssa_phi          *sym_use_chain;  /* uses of this value in Pi constraints */
-       unsigned int           no_val : 1;     /* value doesn't mater (used as op1 in ZEND_ASSIGN) */
+       unsigned int           no_val : 1;     /* value doesn't matter (used as op1 in ZEND_ASSIGN) */
        unsigned int           scc_entry : 1;
        unsigned int           alias : 2;  /* value may be changed indirectly */
        unsigned int           escape_state : 2;
index 1e5899a4bf093d9e443957beb243b08640b5a541..b7ac453cbd42b7d692e4899e59d1cdeaf76ba948 100644 (file)
@@ -75,7 +75,7 @@ local function wline(line, needindent)
   g_synclineno = g_synclineno + 1
 end
 
--- Write assembler line as a comment, if requestd.
+-- Write assembler line as a comment, if requested.
 local function wcomment(aline)
   if g_opt.comment then
     wline(g_opt.comment..aline..g_opt.endcomment, true)
index 79150286cfc3d29cb1d6c65858c2f36af0708a23..a8d7c305e109ee9def334fa80a1e4d3ae518b61c 100644 (file)
@@ -6863,13 +6863,13 @@ return g_read(L,tofile(L),2);
 }
 static int io_readline(lua_State*L){
 FILE*f=*(FILE**)lua_touserdata(L,lua_upvalueindex(1));
-int sucess;
+int success;
 if(f==NULL)
 luaL_error(L,"file is already closed");
-sucess=read_line(L,f);
+success=read_line(L,f);
 if(ferror(f))
 return luaL_error(L,"%s",strerror(errno));
-if(sucess)return 1;
+if(success)return 1;
 else{
 if(lua_toboolean(L,lua_upvalueindex(2))){
 lua_settop(L,0);
index fa65ed78408d785b944522d80f652170ad14f8eb..5234660398067370925c5f47f735182c3c4e577d 100644 (file)
 #define ZEND_JIT_LEVEL_INLINE      2     /* selective inline threading */
 #define ZEND_JIT_LEVEL_OPT_FUNC    3     /* optimized JIT based on Type-Inference */
 #define ZEND_JIT_LEVEL_OPT_FUNCS   4     /* optimized JIT based on Type-Inference and call-tree */
-#define ZEND_JIT_LEVEL_OPT_SCRIPT  5     /* optimized JIT based on Type-Inference and inner-procedure analises */
+#define ZEND_JIT_LEVEL_OPT_SCRIPT  5     /* optimized JIT based on Type-Inference and inner-procedure analysis */
 
 #define ZEND_JIT_LEVEL(n)          ((n) % 10)
 
 #define ZEND_JIT_ON_SCRIPT_LOAD    0
 #define ZEND_JIT_ON_FIRST_EXEC     1
-#define ZEND_JIT_ON_PROF_REQUEST   2     /* compile the most frequently caled on first requrest functions */
+#define ZEND_JIT_ON_PROF_REQUEST   2     /* compile the most frequently caled on first request functions */
 #define ZEND_JIT_ON_HOT_COUNTERS   3     /* compile functions after N calls or loop iterations */
 #define ZEND_JIT_ON_DOC_COMMENT    4     /* compile functions with "@jit" tag in doc-comments */
 
@@ -51,7 +51,7 @@
 
 
 /* Makes profile based JIT (opcache.jit=2*) to generate code only for most
- * offten called functions (above the threshold).
+ * often called functions (above the threshold).
  * TODO: this setting should be configurable
  */
 #define ZEND_JIT_PROF_THRESHOLD    0.005
index 2716434a04f7c211cf9e543d74b503649c4fa306..345da92a24870ab17854ff2a32ebc6378485989a 100644 (file)
@@ -7946,7 +7946,7 @@ static int zend_jit_free_compiled_variables(dasm_State **Dst, const zend_op *opl
 
 static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const zend_op_array *op_array, zend_ssa *ssa)
 {
-       // Avoid multiple leave sequnces
+       // Avoid multiple leave sequences
        if (jit_return_label >= 0) {
                | jmp =>jit_return_label
                return 1;
@@ -8847,7 +8847,7 @@ static uint32_t zend_get_known_property_offset(zend_class_entry *ce, zend_string
 
        if (ce->ce_flags & ZEND_ACC_INHERITED) {
                if (!ce->parent) {
-                       /* property offests may be changed by inheritance */
+                       /* property offets may be changed by inheritance */
                        return ZEND_WRONG_PROPERTY_OFFSET;
                } else {
                        zend_class_entry *parent = ce->parent;
@@ -8858,7 +8858,7 @@ static uint32_t zend_get_known_property_offset(zend_class_entry *ce, zend_string
                                } else if (parent->info.user.filename != filename) {
                                        /* some of parents class declarations might be changed infdependently */
                                        /* TODO: this check may be not enough, because even
-                                        * in the same it's possible to conditionnaly define
+                                        * in the same it's possible to conditionally define
                                         * few classes with the same name, and "parent" may
                                         * change from request to request.
                                         */
index e93c4f3d5b08fd18e5d1ec562f543e50905e4521..0a6d0a4bff57264ba385e056d8a09332d812663f 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Register Alloction 002: SEND_VAL_EX uses %r0 as a temporay register
+Register Alloction 002: SEND_VAL_EX uses %r0 as a temporary register
 --INI--
 opcache.enable=1
 opcache.enable_cli=1
index 21a7779c796a6693e2121be5e2600870ac981524..f1a90dcec4c23f3f372bc58b76c9c88526c77b82 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Register Alloction 003: Reuse temporay register
+Register Alloction 003: Reuse temporary register
 --INI--
 opcache.enable=1
 opcache.enable_cli=1
index 03a8d565f28b0b8fdb169c45b8178ed32967d9a1..40c9df5971b3b054a7baef222a7a021815db5522 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SCCP 022: Invailid types
+SCCP 022: Invalid types
 --INI--
 opcache.enable=1
 opcache.enable_cli=1
index 62613e6eee958e200216b21d11d8a2a49073fe84..06be60892c629f962700034055f1da278a2af347 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SSA constrution for CFG with unreachable basic blocks
+SSA construction for CFG with unreachable basic blocks
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 --FILE--
index cdf558e9a5c7f7f3e3fbb35df14e699b9aaa05bc..2d753e11be2416718f345793228e1d0f3ee402dc 100644 (file)
@@ -52,7 +52,7 @@ function dump_openssl_errors($name) {
 $output_file =  __DIR__ . "/openssl_error_string_basic_output.tmp";
 // invalid file for read is something that does not exist in current directory
 $invalid_file_for_read = __DIR__ . "/invalid_file_for_read_operation.txt";
-// invalid file for is the test dir as writting file to existing dir should alway fail
+// invalid file for is the test dir as writing file to existing dir should always fail
 $invalid_file_for_write = __DIR__;
 // crt file
 $crt_file = "file://" . __DIR__ . "/cert.crt";
index 370ce646eefdd9f52f123ad911ec4acc929977ad..84afe14b60235cd798903f58d3a86c2123a3412f 100644 (file)
@@ -799,7 +799,7 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_
 
                        case PDO_FETCH_KEY_PAIR:
                                if (stmt->column_count != 2) {
-                                       pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns.");
+                                       pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain exactly 2 columns.");
                                        return 0;
                                }
                                if (!return_all) {
index 0885a8264faab9f8ea8ec986348bea42e8a76959..2bd3b309731f2ea4ab2844e647451f784ce7caaf 100644 (file)
@@ -18,7 +18,7 @@ $db = PDOTest::factory();
 $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
 $stmt = $db->query("
     SELECT '
-        Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+        Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
         This is a debug function, which dump directly the data on the normal output.
         Tip:
         As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
@@ -28,9 +28,9 @@ $stmt = $db->query("
 var_dump($stmt->debugDumpParams());
 ?>
 --EXPECT--
-SQL: [835
+SQL: [834
     SELECT '
-        Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+        Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
         This is a debug function, which dump directly the data on the normal output.
         Tip:
         As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
index 8705717df1f2ed81b94fb1a12ee33cbe3e651222..64bdc199fec212a6a53a831837312841e5440c75 100644 (file)
@@ -22,7 +22,7 @@ $db->exec('INSERT INTO test VALUES(1)');
 
 // Comment without quotes or placeholders
 $stmt = $db->prepare("
-       SELECT -- Thats all folks!
+       SELECT -- That's all folks!
                '\"abc\":8000'
        FROM test
 ");
index dafcca1c716d35d1b8ff09e71b9b737c503f9d68..4f66356729fda62504aa487566e7182d9f194dff 100644 (file)
@@ -44,7 +44,7 @@ array(5) {
   string(1) "4"
 }
 
-Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns. in %spdo_034.php on line %d
+Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain exactly 2 columns. in %spdo_034.php on line %d
 
 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error%spdo_034.php on line %d
 bool(false)
index d01ef0a69a977b45899038e503f70cb84993d918..3d7e1d4396e08ab29b477735205d30fb2ea00372 100644 (file)
@@ -21,7 +21,7 @@ if (MySQLPDOTest::isPDOMySQLnd())
                try {
                        $db = new PDO($dsn, $user, $pass, array($option => $value));
                        if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option)))))
-                               printf("[%03d] Execting '%s'/%s got '%s'/%s' for options '%s'\n",
+                               printf("[%03d] Expecting '%s'/%s got '%s'/%s' for options '%s'\n",
                                        $offset,
                                        $value, gettype($value),
                                        $tmp, gettype($tmp),
@@ -79,5 +79,5 @@ if (MySQLPDOTest::isPDOMySQLnd())
 ?>
 --EXPECT--
 [001] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
-[026] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_READ_DEFAULT_FILE'
+[026] Expecting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_READ_DEFAULT_FILE'
 done!
index 6f743c20d4c3d46469f18533f0ad87720594d949..ad88b25ee0845e0ae43a99d8d8ffbaed21ba66f6 100644 (file)
@@ -14,7 +14,7 @@ $db = PDOTest::factory();
 $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
 $stmt = $db->query("
     SELECT '
-        Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+        Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
         This is a debug function, which dump directly the data on the normal output.
         Tip:
         As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
@@ -24,9 +24,9 @@ $stmt = $db->query("
 var_dump($stmt->debugDumpParams());
 ?>
 --EXPECT--
-SQL: [845
+SQL: [844
     SELECT '
-        Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+        Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
         This is a debug function, which dump directly the data on the normal output.
         Tip:
         As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
index 6327a7506756a6ef2aa9f4d464e5cbaf342e5df8..e630ea852e946f680dedd0f4ac5717d91aacc5fc 100644 (file)
@@ -6,7 +6,7 @@ Test posix_getgrgid() function : basic functionality
 ?>
 --FILE--
 <?php
-  echo "Basic test of POSIX getgid and getgrid fucntions\n";
+  echo "Basic test of POSIX getgid and getgrid functions\n";
 
   $gid = posix_getgid();
   $groupinfo = posix_getgrgid($gid);
@@ -15,7 +15,7 @@ Test posix_getgrgid() function : basic functionality
 
 ?>
 --EXPECTF--
-Basic test of POSIX getgid and getgrid fucntions
+Basic test of POSIX getgid and getgrid functions
 Array
 (
     [name] => %s
index efce02640b933803d9191087d9ab7df96c40d202..cd06b9646591c26d8ae480ded46824cdcdcd5cf6 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test ReflectionZendExtension class erros
+Test ReflectionZendExtension class errors
 --CREDITS--
 Gabriel Caruso (carusogabriel34@gmail.com)
 --SKIPIF--
index 0faa6e9d573e202cbba67fc34dd4c799ff930e40..4a7dc2ad801003e828af5a38c0518aee880629a3 100644 (file)
@@ -2717,7 +2717,7 @@ static zval *to_zval_map(zval *ret, encodeTypePtr type, xmlNodePtr data)
                        } else if (Z_TYPE(key) == IS_LONG) {
                                zend_hash_index_update(Z_ARRVAL_P(ret), Z_LVAL(key), &value);
                        } else {
-                               soap_error0(E_ERROR,  "Encoding: Can't decode apache map, only Strings or Longs are allowd as keys");
+                               soap_error0(E_ERROR,  "Encoding: Can't decode apache map, only Strings or Longs are allowed as keys");
                        }
                        zval_ptr_dtor(&key);
                }
index 2ee8bf58eed217113d5316137879feabc37d3d40..f92cc81b2e2212db9ea0a3b9eefda1182098936e 100644 (file)
@@ -11,7 +11,7 @@ echo get_class($fault) . "\n";
 $fault = new SoapFault(null, "message");
 echo get_class($fault) . "\n";
 $fault = new SoapFault(["more"], "message");  // two elements in array required
-$fault = new SoapFault(["m", "more", "superflous"], "message"); // two required
+$fault = new SoapFault(["m", "more", "superfluous"], "message"); // two required
 $fault = new SoapFault(["more-ns", "Sender"], "message");  // two given
 echo get_class($fault);
 ?>
index 454f879fd3c29cc6cc157acffec2a05b8c5a4602..908a49789e7a3172f94996a90f400c88e1da8b85 100644 (file)
     </operation>
   </binding>
   <service name="Round4XSDTest">
-    <documentation>These operations implement DOC/LIT SOAP operations, for interop testing. Please email johnko@microsoft.com with any questions/coments.</documentation>
+    <documentation>These operations implement DOC/LIT SOAP operations, for interop testing. Please email johnko@microsoft.com with any questions/comments.</documentation>
     <port name="Round4XSDTestSoap" binding="s0:Round4XSDTestSoap">
       <soap:address location="test://" />
     </port>
index 8098ef72e79d68c9a5cca12f62296cde6b95a22b..fe091323f131b7f7bbdde593e4799e966b484ed1 100644 (file)
@@ -10,7 +10,7 @@ $HTTP_RAW_POST_DATA = <<<EOF
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <env:Body>
-    <test:echoNestedArray xmlns:test="http://exaple.org/ts-tests"
+    <test:echoNestedArray xmlns:test="http://example.org/ts-tests"
           env:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
       <inputStruct xsi:type="ns1:SOAPArrayStruct"
                    xmlns:ns1="http://example.org/ts-tests/xsd">
index d63370cc31edcc797c4e06dd7e2f2c48c64d827a..49aff731f70ca67fb56b4bc875718ae161caa7c8 100644 (file)
@@ -12,7 +12,7 @@ if (!extension_loaded('sockets')) {
 <?php
 
 // This bug only occurs when a specific portion of memory is unclean.
-// Unforunately, looping around 10 times and using random paths is the
+// Unfortunately, looping around 10 times and using random paths is the
 // best way I could manage to reproduce this problem without modifying php itself :-/
 
 for ($i = 0; $i < 10; $i++) {
index 2750b320803b707944085c2b8088d4432d281f9e..8653fe1bab412de420d4acf13d6ab97609f1a14f 100644 (file)
@@ -34,7 +34,7 @@ if (!extension_loaded('sockets')) {
 
        var_dump($sock, $sock2);
 
-       /* Close duplicated socket, teh orig is still valid. */
+       /* Close duplicated socket, the original is still valid. */
        socket_close($sock2);
        var_dump($sock, $sock2);
 
index 28713700d1785a40ba0d886454b430c48b0acf98..6574b4165227d5edd21ff8ea045b8452fec62738 100644 (file)
@@ -5,7 +5,7 @@ Bug #55701 (GlobIterator throws LogicException with message 'The parent construc
 
 //
 // Some methods of GlobIterator do not throw a RuntimeException when the glob pattern doesn't match any file.
-// Most methods of GlobIterator throw a RuntimeException when the glob pattern does't match any file
+// Most methods of GlobIterator throw a RuntimeException when the glob pattern doesn't match any file
 // because they get the properties of the current file
 function testBaseClass($f) {
     // The tested iterator is in an invalid state; the behaviour of most of its methods is undefined
index c77ce07ff8e25c8f2daf138e0d8fd35c94708c4f..39d0a19f4be660fae9b1af515cb49ecd55ea34d1 100644 (file)
@@ -17,20 +17,20 @@ function testForException( $heap )
     }
 }
 
-// 1. SplMinHeap emtpy
+// 1. SplMinHeap empty
 $heap = new SplMinHeap;
 testForException( $heap );
 
-// 2. SplMinHeap non-emtpy
+// 2. SplMinHeap non-empty
 $heap = new SplMinHeap;
 $heap->insert( 1 );
 testForException( $heap );
 
-// 3. SplMaxHeap emtpy
+// 3. SplMaxHeap empty
 $heap = new SplMaxHeap;
 testForException( $heap );
 
-// 4. SplMaxHeap non-emtpy
+// 4. SplMaxHeap non-empty
 $heap = new SplMaxHeap;
 $heap->insert( 1 );
 testForException( $heap );
index ef2c8b17e1fc5e89bb17632424e526de7cef5acc..81b0894990ac8b09bce1611abacc48d23b9e6986 100644 (file)
@@ -8,7 +8,7 @@ $types = array('SplDoublyLinkedList', 'SplObjectStorage', 'ArrayObject');
 foreach ($types as $type) {
        // serialize an empty new object
        $exp = serialize(new $type());
-       // hack to instanciate an object without constructor
+       // hack to instantiate an object without constructor
        $str = sprintf('C:%d:"%s":0:{}', strlen($type), $type);
        $obj = unserialize($str);
        var_dump($obj);
index 70c24856898d8765981356547d9126a86f179c32..7a7d11039d5399328c25983d2d37a44a5c39fa82 100644 (file)
@@ -864,7 +864,7 @@ PHP_FUNCTION(dns_get_record)
         *   store_results is used to skip storing the results retrieved in step
         *   NUMTYPES+1 when results were already fetched.
         * - In case of PHP_DNS_ANY we use the directly fetch DNS_T_ANY. (step NUMTYPES+1 )
-        * - In case of raw mode, we query only the requestd type instead of looping type by type
+        * - In case of raw mode, we query only the requested type instead of looping type by type
         *   before going with the additional info stuff.
         */
 
index e85fd120f2c6c775284b60a14ed6fb4812993999..cdc524f4a2a94b6e8238f2f6e985fab42af52df7 100644 (file)
@@ -65,7 +65,7 @@ PHP_FUNCTION(rad2deg);
 PHP_FUNCTION(intdiv);
 
    /*
-   WARNING: these functions are expermental: they could change their names or
+   WARNING: these functions are experimental: they could change their names or
    disappear in the next version of PHP!
    */
 PHP_FUNCTION(hypot);
index e610ba0e98416b4bc883c683e46eab83a1778ff9..493862ccd41a6ef8352b0675f90bc9ebb68c4c32 100644 (file)
@@ -3,7 +3,7 @@ Test array_change_key_case() function : usage variations - Different strings as
 --FILE--
 <?php
 /* Prototype  : array array_change_key_case(array $input [, int $case])
- * Description: Retuns an array with all string keys lowercased [or uppercased]
+ * Description: Returns an array with all string keys lowercased [or uppercased]
  * Source code: ext/standard/array.c
  */
 
index 9d768fa7317c67e82b21c492487e895a27b8667a..db06ee647359e1747ddf201da65955ac2b027647 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test array_diff() function : usage variations - associative arrays contianing different data types
+Test array_diff() function : usage variations - associative arrays containing different data types
 --FILE--
 <?php
 /* Prototype  : array array_diff(array $arr1, array $arr2 [, array ...])
index cd06ea3096532160e167c16854b2842cb4024322..b352a070868657ab0125b7c63120bee19b2a95bf 100644 (file)
@@ -8,7 +8,7 @@ Test array_walk() function : object functionality
 */
 
 /*
-* Pasing object in place of 'input' argument to test object functionatlity
+* Passing object in place of 'input' argument to test object functionality
 */
 
 echo "*** Testing array_walk() : object functionality ***\n";
index cdb9f338a8a968183905dce1b947c923b33a82c8..f0afa642890c320bf52698eb2ae2c306fe156162 100644 (file)
@@ -261,14 +261,14 @@ $variations = array (
    non-scalar variables using print_r() */
 check_printr($variations);
 
-echo "\n*** Testing print_r() on miscelleneous input arguments ***\n";
+echo "\n*** Testing print_r() on miscellaneous input arguments ***\n";
 $misc_values = array (
   @$unset_var,
   NULL,  // NULL argument
   @$undef_variable,  //undefined variable
   null
 );
-/* calling check_printr() to display miscelleneous data using print_r() */
+/* calling check_printr() to display miscellaneous data using print_r() */
 check_printr($misc_values);
 
 /* closing resource handle used */
@@ -1679,7 +1679,7 @@ Array
     [3] => /00\7
 )
 
-*** Testing print_r() on miscelleneous input arguments ***
+*** Testing print_r() on miscellaneous input arguments ***
 
 -- Iteration 1 --
 
index 71f2b5d64cad389c472c644d649d807aacfb23f7..17b829231f6c8593b9803a1e6b924a7fdab8d843 100644 (file)
@@ -265,14 +265,14 @@ $variations = array (
    non-scalar variables using print_r() */
 check_printr($variations);
 
-echo "\n*** Testing print_r() on miscelleneous input arguments ***\n";
+echo "\n*** Testing print_r() on miscellaneous input arguments ***\n";
 $misc_values = array (
   @$unset_var,
   NULL,  // NULL argument
   @$undef_variable,  //undefined variable
   null
 );
-/* calling check_printr() to display miscelleneous data using print_r() */
+/* calling check_printr() to display miscellaneous data using print_r() */
 check_printr($misc_values);
 
 /* closing resource handle used */
@@ -1683,7 +1683,7 @@ Array
     [3] => /00\7
 )
 
-*** Testing print_r() on miscelleneous input arguments ***
+*** Testing print_r() on miscellaneous input arguments ***
 
 -- Iteration 1 --
 
index 336abbdf9f3643357fdb2a20faba6873cb824986..08807191cbb3fc5f004aad4d5ec0cb2add14372f 100644 (file)
@@ -260,14 +260,14 @@ $variations = array (
    non-scalar variables using var_dump() */
 check_vardump($variations);
 
-echo "\n*** Testing var_dump() on miscelleneous input arguments ***\n";
+echo "\n*** Testing var_dump() on miscellaneous input arguments ***\n";
 $misc_values = array (
   @$unset_var,
   NULL,  // NULL argument
   @$undef_variable,  //undefined variable
   null
 );
-/* calling check_vardump() to display miscelleneous data using var_dump() */
+/* calling check_vardump() to display miscellaneous data using var_dump() */
 check_vardump($misc_values);
 
 echo "\n*** Testing var_dump() on multiple arguments ***\n";
@@ -923,7 +923,7 @@ array(4) {
   string(5) "/00\7"
 }
 
-*** Testing var_dump() on miscelleneous input arguments ***
+*** Testing var_dump() on miscellaneous input arguments ***
 -- Iteration 1 --
 NULL
 -- Iteration 2 --
index cd74d585bcbc405c954849292c789ad9466d67e9..630b1ee8b316808e475b727a10ea8bd77fb08215 100644 (file)
@@ -260,14 +260,14 @@ $variations = array (
    non-scalar variables using var_dump() */
 check_vardump($variations);
 
-echo "\n*** Testing var_dump() on miscelleneous input arguments ***\n";
+echo "\n*** Testing var_dump() on miscellaneous input arguments ***\n";
 $misc_values = array (
   @$unset_var,
   NULL,  // NULL argument
   @$undef_variable,  //undefined variable
   null
 );
-/* calling check_vardump() to display miscelleneous data using var_dump() */
+/* calling check_vardump() to display miscellaneous data using var_dump() */
 check_vardump($misc_values);
 
 echo "\n*** Testing var_dump() on multiple arguments ***\n";
@@ -923,7 +923,7 @@ array(4) {
   string(5) "/00\7"
 }
 
-*** Testing var_dump() on miscelleneous input arguments ***
+*** Testing var_dump() on miscellaneous input arguments ***
 -- Iteration 1 --
 NULL
 -- Iteration 2 --
index ad0446cf62af10e928064adf15ba9ec0cadf276d..e0db48bcd5a4354f17cd0a2beda62df1523d0e16 100644 (file)
@@ -39,7 +39,7 @@ $base64_1x1_jpeg="/9j/4AAQSkZJRgABAQEAYABgAAD//gA8Q1JFQVRPUjogZ2QtanBlZyB2MS4wIC
 #write file
 $fd=fopen($file,"wb");
 if ($fd) { fputs($fd,base64_decode($base64_1x1_jpeg)); fclose($fd); }
-else { echo "error cant write $file".PHP_EOL;exit(1); }
+else { echo "error can't write $file".PHP_EOL;exit(1); }
 #check file md5
 $md5=md5_file($file);
 if ($md5!="07dd8594450e8c18ab8a79d7cb4573c7") { echo "md5 error".PHP_EOL;exit(1); }
@@ -70,7 +70,7 @@ $content = iptcembed($iptc, $file,0);
 if ($content === false) {echo "iptcembed error".PHP_EOL;exit(1); }
 $fd=fopen($file2,"wb");
 if ($fd) { fputs($fd,$content); fclose($fd); }
-else { echo "error cant write $file2".PHP_EOL;exit(1); }
+else { echo "error can't write $file2".PHP_EOL;exit(1); }
 
 
 #check jpeg properties for new image with iptc tags
index 8d7a8a9a1cc625726e21183980632059fd3cbc6c..ba7ee121b5fbed2836a1c5fb34cb4b1b89426a97 100644 (file)
@@ -31,7 +31,7 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul
        echo "Create a temporary mailbox and add " . $message_count .  " msgs\n";
        $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
        if ($new_mailbox === false) {
-          echo "Cant create a temporary mailbox: " . imap_last_error(). "\n";
+          echo "Can't create a temporary mailbox: " . imap_last_error(). "\n";
           return false;
        }
 
@@ -39,7 +39,7 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul
 
        // reopen stream to new mailbox
        if (imap_reopen($imap_stream, $new_mailbox) === false) {
-               echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
+               echo "can't re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
                return false;
        }
 
index 628980df278a6bce69f284984ac727178986391b..4de6c75697deb46bd3f2997be133268224841990 100644 (file)
@@ -8,7 +8,7 @@ Test addslashes() function : usage variations - strings with characters to be ba
 */
 
 /*
- * Test addslashes() with various strings containing characters thats can be backslashed
+ * Test addslashes() with various strings containing characters that can be backslashed
 */
 
 echo "*** Testing addslashes() : with various strings containing characters to be backslashed ***\n";
index 4cca47ac96f519cf7d04a9b00c2bbdca72bdebe9..7c4fe920adc05145607c209d9e55c98f648e115a 100644 (file)
Binary files a/ext/standard/tests/strings/strcasecmp.phpt and b/ext/standard/tests/strings/strcasecmp.phpt differ
index 1e0f5d18a262abec1372681f11948390dc2be8ee..e18a8542448cb35cb9576c77e73758e7f27e57f3 100644 (file)
Binary files a/ext/standard/tests/strings/strcmp.phpt and b/ext/standard/tests/strings/strcmp.phpt differ
index 98e2d25c44aa8d33509ea829a24daf02d5a0fcfe..f9b43e15ba19869a7c380c3b1ddc2eb009628363 100644 (file)
@@ -8,7 +8,7 @@ Test stripos() function : usage variations - heredoc string containing special c
 */
 
 /* Test stripos() function by passing heredoc string containing special chars for haystack
- *  and with various needles & offets
+ *  and with various needles & offsets
 */
 
 echo "*** Testing stripos() function: with heredoc strings ***\n";
index e8edf4cd4bd61efaf99aa0b24c2bd590387ad931..5bfe5ce1fdb321175bee67841b8bda7d14bb91d5 100644 (file)
Binary files a/ext/standard/tests/strings/stripslashes_variation2.phpt and b/ext/standard/tests/strings/stripslashes_variation2.phpt differ
index 0db36eea22aed10ea9af6dfb41a7173ec78239a3..14aa687a1ad644522252b0a0e1183cd15dcefdac 100644 (file)
Binary files a/ext/standard/tests/strings/strlen.phpt and b/ext/standard/tests/strings/strlen.phpt differ
index c9b1d0256dc1146f64c5dfc6bf1b08b32d41921b..4c8e6a44dc135c09ab7632ab7d3d27e1566e9d36 100644 (file)
@@ -8,7 +8,7 @@ Test strripos() function : usage variations - heredoc string containing special
 */
 
 /* Test strripos() function by passing heredoc string containing special chars for haystack
- *  and with various needles & offets
+ *  and with various needles & offsets
 */
 
 echo "*** Testing strripos() function: with heredoc strings ***\n";
index 1d9184d787cae96958b85e727a78fe511943ef56..e885c7dfaededd5c37d1081be064536baa895a0e 100644 (file)
@@ -8,7 +8,7 @@ Test strrpos() function : usage variations - heredoc string containing special c
 */
 
 /* Test strrpos() function by passing heredoc string containing special chars for haystack
- *  and with various needles & offets
+ *  and with various needles & offsets
 */
 
 echo "*** Testing strrpos() function: with heredoc strings ***\n";
index 22fe2d0da93be4edd8bdf85d35bdf27c5e521a7f..afe065ff60028735a28396aef6ccf6768fb34c90 100644 (file)
Binary files a/ext/standard/tests/strings/strstr.phpt and b/ext/standard/tests/strings/strstr.phpt differ
index 6d080632531a2908b79d9ea0fd53ffaee1b11b85..a47b0e96665185dcd027ae5aefe0bbca18bdf8f2 100644 (file)
@@ -3,7 +3,7 @@ Bug #47174 (base64_decode() interprets pad char in mid string as terminator)
 --FILE--
 <?php
 if (base64_decode("dGVzdA==") == base64_decode("dGVzdA==CRAP")) {
-    echo "Same octect data - Signature Valid\n";
+    echo "Same octet data - Signature Valid\n";
 } else {
     echo "Invalid Signature\n";
 }
index 76f966caa6c19e8af29de5d6dc30ca60f8caa391..7e20e8605662e8fe9334e54d08e3b1918315473a 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 msg_receive() should return false when unserialize() failed
 --SKIPIF--
-<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extenions is not available")?>
+<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extensions is not available")?>
 --FILE--
 <?php
 
index 2d4976033c3f919529a9ba08edd7cd4baabd86db..6982572640d0dbf85a5ce6ae072fea12ecc425cb 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 msg_send() data types when not serializing
 --SKIPIF--
-<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extenions is not available")?>
+<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extensions is not available")?>
 --FILE--
 <?php
 
index 7ff87af4452e1088201b0d95cda20138b2a46959..73ae029ffb3d4a5808c0c7a910df4ffc03dd14e3 100644 (file)
@@ -55,7 +55,7 @@ extern "C" {
 typedef enum _xml_elem_verbosity {
    xml_elem_no_white_space,    /* compact xml with no white space            */
    xml_elem_newlines_only,     /* add newlines for enhanced readability      */
-   xml_elem_pretty             /* add newlines and indent accordint to depth */
+   xml_elem_pretty             /* add newlines and indent accordind to depth */
 } XML_ELEM_VERBOSITY;
 /******/
 
index a2e9b9f99fd8651551555b795953caf83775342e..a8050c32a9f9d4ec7dcb57d0eb7a1b28386e5cd3 100644 (file)
@@ -396,7 +396,7 @@ static void set_output_options(php_output_options* options, zval* output_opts)
 /* php arrays have no distinction between array and struct types.
  * they even allow mixed.  Thus, we determine the type by iterating
  * through the entire array and figuring out each element.
- * room for some optimation here if we stop after a specific # of elements.
+ * room for some optimisation here if we stop after a specific # of elements.
  */
 static XMLRPC_VECTOR_TYPE determine_vector_type (HashTable *ht)
 {
index ba034824feadcc1a089bd3b9e2d9ab6383143734..efde4bb77da1c231f672baee89d001047f308054 100644 (file)
@@ -52,9 +52,9 @@ Warning: XSLTProcessor::transformToXml(): xmlXPathCompOpEval: function test not
 
 Warning: XSLTProcessor::transformToXml(): Unregistered function in %sbug71540.php on line %d
 
-Warning: XSLTProcessor::transformToXml(): Stack usage errror in %sbug71540.php on line %d
+Warning: XSLTProcessor::transformToXml(): Stack usage error in %sbug71540.php on line %d
 
-Warning: XSLTProcessor::transformToXml(): Stack usage errror in %sbug71540.php on line %d
+Warning: XSLTProcessor::transformToXml(): Stack usage error in %sbug71540.php on line %d
 
 Warning: XSLTProcessor::transformToXml(): Handler name must be a string in %sbug71540.php on line %d
 
index 381d3b39c4837998154946cfafaf90cf6ab2f700..815618c65d05693806dfaba85c3e4434fd416da1 100644 (file)
@@ -139,7 +139,7 @@ pm.max_spare_servers = 3
 ;pm.max_requests = 500
 
 ; The URI to view the FPM status page. If this value is not set, no URI will be
-; recognized as a status page. It shows the following informations:
+; recognized as a status page. It shows the following information:
 ;   pool                 - the name of the pool;
 ;   process manager      - static, dynamic or ondemand;
 ;   start time           - the date and time FPM has started;
index 86d7f94c513b0125f221479b9ebebcf66b36c63d..4b35517a4eb222f3c958b459d87dae6842173ac9 100644 (file)
@@ -2422,7 +2422,7 @@ function handle_analyzer_makefile_flags(fd, key, val)
 {
        var relevant = false;
 
-       /* VS integrates /analyze with the bulid process,
+       /* VS integrates /analyze with the build process,
                no further action is required. */
        if ("no" == PHP_ANALYZER || "vs" == PHP_ANALYZER) {
                return;
index b685ab262f2f2046fb130a61253292bddb249dcc..281c3435334df94e7dd6ca3ca0fc8eb867fcb15f 100644 (file)
@@ -91,7 +91,7 @@ static char *ErrorMessages[] =
 };
 
 /* This pattern converts all single occurrences of \n (Unix)
- * withour a leading \r to \r\n and all occurrences of \r (Mac)
+ * without a leading \r to \r\n and all occurrences of \r (Mac)
  * without a trailing \n to \r\n
  * Thx to Nibbler from ircnet/#linuxger
  */