]> granicus.if.org Git - php/commitdiff
typo fixes
authorVeres Lajos <vlajos@gmail.com>
Sat, 13 Jul 2013 12:37:04 +0000 (13:37 +0100)
committerStanislav Malyshev <stas@php.net>
Mon, 15 Jul 2013 07:18:57 +0000 (00:18 -0700)
101 files changed:
Zend/README.ZEND_VM
Zend/tests/closure_044.phpt
Zend/zend_compile.c
Zend/zend_vm_gen.php
build/libtool.m4
config.guess
ext/date/tests/bug55397.phpt
ext/dba/dba.c
ext/dba/tests/dba_gdbm.phpt
ext/dom/tests/DOMDocument_schemaValidate_error5.phpt
ext/enchant/enchant.c
ext/exif/exif.c
ext/fileinfo/libmagic/softmagic.c
ext/fileinfo/tests/magic
ext/ftp/tests/ftp_fget_basic.phpt
ext/ftp/tests/ftp_get_basic.phpt
ext/gd/gd.c
ext/gd/libgd/gd_crop.c
ext/gd/libgd/webpimg.h
ext/hash/tests/hash_file_error.phpt
ext/intl/tests/transliterator_create_error.phpt
ext/intl/tests/transliterator_transliterate_variant1.phpt
ext/ldap/tests/ldap_get_values_len_error.phpt
ext/ldap/tests/ldap_set_rebind_proc_error.phpt
ext/mysqli/tests/mysqli_driver.phpt
ext/mysqli/tests/mysqli_fetch_assoc_no_alias_utf8.phpt
ext/mysqli/tests/mysqli_options.phpt
ext/oci8/tests/bug43492_2.phpt
ext/odbc/php_odbc.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/pcntl/php_signal.c
ext/pcre/tests/preg_grep_error1.phpt
ext/pcre/tests/preg_match_all_error1.phpt
ext/pcre/tests/preg_match_error1.phpt
ext/pcre/tests/preg_replace_error1.phpt
ext/pdo/pdo_dbh.c
ext/pdo_oci/tests/pdo_oci_attr_autocommit_3.phpt
ext/pgsql/mysql_users.php
ext/reflection/tests/ReflectionExtension_getClassNames_basic.phpt
ext/session/tests/session_status_disabled.phpt
ext/soap/interop/client_round2_interop.php
ext/soap/interop/index.php
ext/soap/php_http.c
ext/soap/soap.c
ext/soap/tests/bugs/bug28985.phpt
ext/soap/tests/bugs/bug28985.wsdl
ext/spl/internal/iteratoriterator.inc
ext/spl/tests/SplFileObject_fgetcsv_delimiter_basic.phpt
ext/spl/tests/SplFileObject_fgetcsv_delimiter_error.phpt
ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt
ext/spl/tests/SplFileObject_fgetcsv_enclosure_error.phpt
ext/spl/tests/SplFileObject_fgetcsv_escape_basic.phpt
ext/spl/tests/SplFileObject_fgetcsv_escape_error.phpt
ext/sqlite3/libsqlite/sqlite3.c
ext/standard/array.c
ext/standard/image.c
ext/standard/mail.c
ext/standard/pack.c
ext/standard/string.c
ext/standard/tests/array/array_key_exists_variation2.phpt
ext/standard/tests/array/array_search_variation4.phpt
ext/standard/tests/array/array_values_variation7.phpt
ext/standard/tests/array/bug34066.phpt
ext/standard/tests/array/bug34066_1.phpt
ext/standard/tests/array/in_array_variation4.phpt
ext/standard/tests/array/uasort_object2.phpt
ext/standard/tests/array/uasort_variation10.phpt
ext/standard/tests/array/uasort_variation4.phpt
ext/standard/tests/file/bug41874.phpt
ext/standard/tests/file/bug41874_2.phpt
ext/standard/tests/file/bug41874_3.phpt
ext/standard/tests/file/file.inc
ext/standard/tests/file/lchown_error.phpt
ext/standard/tests/file/symlink_to_symlink.phpt
ext/standard/tests/file/userstreams.phpt
ext/standard/tests/general_functions/003.phpt
ext/standard/tests/mail/ezmlm_hash_variation1.phpt
ext/standard/tests/strings/bug38322.phpt
ext/standard/tests/strings/bug47322.phpt
ext/standard/tests/strings/explode_error.phpt
ext/standard/tests/strings/explode_variation1.phpt
ext/standard/tests/strings/explode_variation2.phpt
ext/standard/tests/strings/explode_variation3.phpt
ext/standard/tests/strings/implode1.phpt
ext/standard/tests/strings/strrchr_basic.phpt
ext/standard/tests/strings/substr_replace_error.phpt
ext/sybase_ct/php_sybase_ct.c
ext/sybase_ct/tests/bug26407.phpt
ext/sybase_ct/tests/bug43578.phpt
ext/sybase_ct/tests/test_fetch_object.phpt
ext/sybase_ct/tests/test_msghandler.phpt
ext/xmlwriter/tests/bug41287.phpt
main/snprintf.h
main/spprintf.h
sapi/fpm/php-fpm.conf.in
sapi/litespeed/README
scripts/dev/generate-phpt.phar
scripts/dev/generate-phpt/src/testcase/gtVariationContainerFunction.php
tests/basic/bug45986.phpt
win32/sendmail.c

index 15ff6fd86f4bd9295ae1074ddeb7cd1599014446..de66110d648326a62be66e213c40ee4c92fcecdb 100644 (file)
@@ -6,7 +6,7 @@ fields and using different execution methods (call threading, switch threading
 and direct threading). As a result ZE2 got more than 20% speedup on raw PHP
 code execution (with specialized executor and direct threading execution
 method). As in most PHP applications raw execution speed isn't the limiting
-factor but system calls and database callls are, your mileage with this patch
+factor but system calls and database calls are, your mileage with this patch
 will vary.
 
 Most parts of the old zend_execute.c go into zend_vm_def.h. Here you can
index d2644c0401f5b5d27c2d37e44c78fde7e42e523a..8fdef135dc08e76ace18bd1f15ef0c40c08b9da3 100644 (file)
@@ -3,7 +3,7 @@ Closure 044: Scope/bounding combination invariants; non static closures
 --FILE--
 <?php
 /* A non-static closure has a bound instance if it has a scope
- * and does't have an instance if it has no scope */
+ * and doesn't have an instance if it has no scope */
 
 $nonstaticUnscoped = function () { var_dump(isset(A::$priv)); var_dump(isset($this)); };
 
index faef3a9197d0b529f9347b703684e1c67373ae13..196688e46e093b53dfb48537e25edbe8c7b07e8f 100644 (file)
@@ -4108,7 +4108,7 @@ static void zend_traits_init_trait_structures(zend_class_entry *ce TSRMLS_DC) /*
                                /** With the other traits, we are more permissive.
                                        We do not give errors for those. This allows to be more
                                        defensive in such definitions.
-                                       However, we want to make sure that the insteadof declartion
+                                       However, we want to make sure that the insteadof declaration
                                        is consistent in itself.
                                 */
                                j = 0;
index 63d0cf73f0d521eb7a00f00e8810cc7b7734f578..9a757114780b5eb6e6893f0dd10957f17eee3d58 100644 (file)
@@ -1381,7 +1381,7 @@ for ($i = 1;  $i < $argc; $i++) {
          // Disabling code for old-style executor
                define("ZEND_VM_OLD_EXECUTOR", 1);
        } else if ($argv[$i] == "--with-lines") {
-               // Enabling debuging using original zend_vm_def.h
+               // Enabling debugging using original zend_vm_def.h
                define("ZEND_VM_LINES", 1);
        } else if ($argv[$i] == "--help") {
                usage();
index 268cad9d3e5c4bbdd577874ee98059e15dca9ca2..77735d36b3e8bd2bfc92f1f0c6e7cfca63d3446e 100644 (file)
@@ -1230,7 +1230,7 @@ if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
    test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
    test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
-  # We can hardcode non-existant directories.
+  # We can hardcode non-existent directories.
   if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
      # If the only mechanism to avoid hardcoding is shlibpath_var, we
      # have to relink, otherwise we might link with an installed library
index b94cde8ef2e0f19f748b6f488a8f84c1409c3e00..1578aa1736a322efd3c0aa99a8617a0a65de1175 100644 (file)
@@ -1080,7 +1080,7 @@ EOF
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
        # the processor, so we play safe by assuming i586.
        # Note: whatever this is, it MUST be the same as what config.sub
-       # prints for the "djgpp" host, or else GDB configury will decide that
+       # prints for the "djgpp" host, or else GDB configure will decide that
        # this is a cross-build.
        echo i586-pc-msdosdjgpp
        exit ;;
index 13778a00b2c98ca09d3f2d84b45a55b684757ae0..7c9bbb01c1f382c697d4abb963b0d6a624c68d48 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #55397 (comparsion of incomplete DateTime causes SIGSEGV)
+Bug #55397 (comparison of incomplete DateTime causes SIGSEGV)
 --INI--
 --FILE--
 <?php
index 5273c05fabba1084d3f1a5676d22c500b97e8a97..8005101de34b122b8f4d13199628712f1649578b 100644 (file)
@@ -888,7 +888,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
                        RETURN_FALSE;
                }
                if (hptr->flags & (DBA_NO_APPEND|DBA_CAST_AS_FD)) {
-                       /* Needed becasue some systems do not allow to write to the original 
+                       /* Needed because some systems do not allow to write to the original 
                         * file contents with O_APPEND being set.
                         */
                        if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) {
index e68e8b74090245f4b094e6fbbf5b7daa44d9ce32..d8fde4b6284b141c6076712258f3bbef5a21cd71 100644 (file)
@@ -12,7 +12,7 @@ DBA GDBM handler test
        $lock_flag = ''; // lock in library
        require_once dirname(__FILE__) .'/dba_handler.inc';
        
-       // Read during write is system dependant. Important is that there is no deadlock
+       // Read during write is system dependent. Important is that there is no deadlock
 ?>
 ===DONE===
 --EXPECTF--
index d3f0658c1f9f1961fcf331f62f904c181045807f..d5743bc6cf5c750b7fc7a654e133fa0b3535128f 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-DomDocument::schemaValidate() - non-existant schema file
+DomDocument::schemaValidate() - non-existent schema file
 --CREDITS--
 Daniel Convissor <danielc@php.net>
 # TestFest 2009 NYPHP
@@ -12,14 +12,14 @@ $doc = new DOMDocument;
 
 $doc->load(dirname(__FILE__)."/book.xml");
 
-$result = $doc->schemaValidate(dirname(__FILE__)."/non-existant-file");
+$result = $doc->schemaValidate(dirname(__FILE__)."/non-existent-file");
 var_dump($result);
 
 ?>
 --EXPECTF--
-Warning: DOMDocument::schemaValidate(): I/O warning : failed to load external entity "%snon-existant-file" in %s.php on line %d
+Warning: DOMDocument::schemaValidate(): I/O warning : failed to load external entity "%snon-existent-file" in %s.php on line %d
 
-Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%s/non-existant-file'. in %s.php on line %d
+Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%s/non-existent-file'. in %s.php on line %d
 
 Warning: DOMDocument::schemaValidate(): Invalid Schema in %s.php on line %d
 bool(false)
index 141192c67fbee89bd525c4a2e6ffe28e88c7acee..98b5c9fd87904d87d07aee85da366d256a2bac4b 100644 (file)
@@ -674,7 +674,7 @@ PHP_FUNCTION(enchant_broker_dict_exists)
        described/referred to by 'tag'. The ordering is a comma delimited
        list of provider names. As a special exception, the "*" tag can
        be used as a language tag to declare a default ordering for any
-       language that does not explictly declare an ordering. */
+       language that does not explicitly declare an ordering. */
 
 PHP_FUNCTION(enchant_broker_set_ordering)
 {
index c69107589835d81f04bc1d36e5db1a5c6d08ef50..bd646d9adf15a7eb925496d6d50215e2477ca654 100644 (file)
@@ -2595,7 +2595,7 @@ static int exif_process_string_raw(char **result, char *value, size_t byte_count
 
 /* {{{ exif_process_string
  * Copy a string in Exif header to a character string and return length of allocated buffer if any.
- * In contrast to exif_process_string this function does allways return a string buffer */
+ * In contrast to exif_process_string this function does always return a string buffer */
 static int exif_process_string(char **result, char *value, size_t byte_count TSRMLS_DC) {
        /* we cannot use strlcpy - here the problem is that we cannot use strlen to
         * determin length of string and we cannot use strlcpy with len=byte_count+1
index 1e7dbf7449ae9ed2d066215cf76da4465902a6bc..0671fa99f9fac015beef9da0413d22c2f12908b3 100644 (file)
@@ -1630,7 +1630,7 @@ mget(struct magic_set *ms, const unsigned char *s, struct magic *m,
        /* Verify we have enough data to match magic type */
        switch (m->type) {
        case FILE_BYTE:
-               if (nbytes < (offset + 1)) /* should alway be true */
+               if (nbytes < (offset + 1)) /* should always be true */
                        return 0;
                break;
 
index 27bde927e670935fc8e47e3e92da1f534f8db2d4..374734d57a4de7267e8a8240f032aeb727aba95b 100644 (file)
 >>>0x44                string  =GLOB           \b.
 >>>>0x60       beshort x               \b%.4d
 
-# Scripts that run in the embeded Python interpreter
+# Scripts that run in the embedded Python interpreter
 0              string  #!BPY           Blender3D BPython script
 
 #------------------------------------------------------------------------------
index d736f8c45e8da520b6846043788cd250269c8732..355b8b846914054a8b9efe9acb5b1b183810d4d9 100644 (file)
@@ -27,7 +27,7 @@ var_dump(ftp_fget($ftp, $fp, 'binary data.bin', FTP_BINARY));
 fseek($fp, $postition);
 var_dump(urlencode(fgets($fp)));
 
-//test non-existant file request 
+//test non-existent file request 
 ftp_fget($ftp, $fp ,'a warning.txt', FTP_ASCII);
 
 //remove file
index 23fd8d07f3f6262fe3b92d4a9a622d0ff482bc4d..2fd8c7914919febb06804ef725e6f4b6bb8d28d9 100644 (file)
@@ -27,7 +27,7 @@ var_dump(ftp_get($ftp, $tmpfname, 'binary data.bin', FTP_BINARY));
 var_dump(urlencode(file_get_contents($tmpfname)));
 unlink($tmpfname);
 
-//test non-existant file request 
+//test non-existent file request 
 ftp_get($ftp, $tmpfname ,'a warning.txt', FTP_ASCII);
 ?>
 --EXPECTF--
index 7fef56ed74175a1e0f17b96aa9ca9ae0a94bc9b2..8f32ad5067eb02c296bb63f28ff022ab61486a9e 100644 (file)
@@ -96,7 +96,7 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int, int);
 /* IMPORTANT NOTE FOR NEW FILTER
  * Do not forget to update:
  * IMAGE_FILTER_MAX: define the last filter index
- * IMAGE_FILTER_MAX_ARGS: define the biggest amout of arguments
+ * IMAGE_FILTER_MAX_ARGS: define the biggest amount of arguments
  * image_filter array in PHP_FUNCTION(imagefilter)
  * */
 #define IMAGE_FILTER_NEGATE         0
index 9ce48273b640bf5af8753173a183faeb9f66fde9..f0b888a4f1c69ed4b6dcc563153ea8ec7152b64d 100644 (file)
@@ -69,7 +69,7 @@ printf("rect->x: %i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x,
                if (src->trueColor) {
                        unsigned int dst_y = 0;
                        while (y < (crop->y + (crop->height - 1))) {
-                               /* TODO: replace 4 w/byte per channel||pitch once avaiable */
+                               /* TODO: replace 4 w/byte per channel||pitch once available */
                                memcpy(dst->tpixels[dst_y++], src->tpixels[y++] + crop->x, crop->width * 4);
                        }
                } else {
index 8a05429a73c49beb928a69cf33918e3ce99fefcc..db23de5bb24abb14e41ef44706f08152721c82b5 100644 (file)
@@ -84,7 +84,7 @@ WebPResult WebPDecode(const uint8* data,
  *                               height.
  *      6. y_stride: The width (in bytes) of one row of Y data. This may not
  *                   match width if there is end of row padding (e.g., for 32
- *                   bit row aligment).
+ *                   bit row alignment).
  *      7. QP: the quantization parameter. This parameter controls the
  *             compression vs quality tradeoff. Use smaller numbers for better
  *             quality (compression will be lesser) and vice versa. 20 is a
index 326fbd51a5c9bdcff3f71b21a95e80bb675980cd..de7ce55b10570dfff95da273eb76c9848fdfd846 100644 (file)
@@ -23,8 +23,8 @@ file_put_contents( $filename, 'The quick brown fox jumped over the lazy dog.' );
 echo "\n-- Testing hash_file() function with an unknown algorithm --\n";
 var_dump( hash_file( 'foobar', $filename ) );
 
-echo "\n-- Testing hash_file() function with a non-existant file --\n";
-var_dump( hash_file( 'md5', 'nonexistant.txt' ) );
+echo "\n-- Testing hash_file() function with a non-existent file --\n";
+var_dump( hash_file( 'md5', 'nonexistent.txt' ) );
 
 echo "\n-- Testing hash_file() function with less than expected no. of arguments --\n";
 var_dump( hash_file( 'md5' ) );
@@ -50,7 +50,7 @@ unlink( $filename );
 Warning: hash_file(): Unknown hashing algorithm: %s in %s on line %d
 bool(false)
 
--- Testing hash_file() function with a non-existant file --
+-- Testing hash_file() function with a non-existent file --
 
 Warning: hash_file(%s): failed to open stream: No such file or directory in %s on line %d
 bool(false)
index 31aef68feb98bad1b0fa171b69fb7147ad351220..4f2d04ae7825539e69e311578fe3c49f2bbbc528 100644 (file)
@@ -6,15 +6,15 @@ Transliterator::create (error)
 <?php
 
 ini_set("intl.error_level", E_WARNING);
-Transliterator::create("inexistant id");
+Transliterator::create("inexistent id");
 echo intl_get_error_message(), "\n";
 Transliterator::create("bad UTF-8 \x8F");
 echo intl_get_error_message(), "\n";
 
 echo "Done.\n";
 --EXPECTF--
-Warning: Transliterator::create(): transliterator_create: unable to open ICU transliterator with id "inexistant id" in %s on line %d
-transliterator_create: unable to open ICU transliterator with id "inexistant id": U_INVALID_ID
+Warning: Transliterator::create(): transliterator_create: unable to open ICU transliterator with id "inexistent id" in %s on line %d
+transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID
 
 Warning: Transliterator::create(): String conversion of id to UTF-16 failed in %s on line %d
 String conversion of id to UTF-16 failed: U_INVALID_CHAR_FOUND
index fc77a4e3acf9cc809f098a320f8009280f3f869d..dcd01efd40834f8acbf6d1a9336cb9b3d65358b6 100644 (file)
@@ -13,7 +13,7 @@ echo transliterator_transliterate("\x8F", $str), "\n";
 echo intl_get_error_message(), "\n";
 
 class A {
-function __toString() { return "inexistant id"; }
+function __toString() { return "inexistent id"; }
 }
 
 echo transliterator_transliterate(new A(), $str), "\n";
@@ -29,9 +29,9 @@ Warning: transliterator_transliterate(): Could not create transliterator with ID
 
 String conversion of id to UTF-16 failed: U_INVALID_CHAR_FOUND
 
-Warning: transliterator_transliterate(): transliterator_create: unable to open ICU transliterator with id "inexistant id" in %s on line %d
+Warning: transliterator_transliterate(): transliterator_create: unable to open ICU transliterator with id "inexistent id" in %s on line %d
 
-Warning: transliterator_transliterate(): Could not create transliterator with ID "inexistant id" (transliterator_create: unable to open ICU transliterator with id "inexistant id": U_INVALID_ID) in %s on line %d
+Warning: transliterator_transliterate(): Could not create transliterator with ID "inexistent id" (transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID) in %s on line %d
 
-transliterator_create: unable to open ICU transliterator with id "inexistant id": U_INVALID_ID
+transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID
 Done.
index 8caea1479abcc37358427a4ded12742d84af609f..45f9031df48f73f774b82d55083ece6b4a421445 100644 (file)
@@ -20,7 +20,7 @@ var_dump(ldap_get_values_len($link));
 var_dump(ldap_get_values_len($link, $entry));
 var_dump(ldap_get_values_len($link, $entry, "weirdAttribute", "Additional data"));
 
-var_dump(ldap_get_values_len($link, $entry, "inexistantAttribute"));
+var_dump(ldap_get_values_len($link, $entry, "inexistentAttribute"));
 ?>
 ===DONE===
 --CLEAN--
index 966612f6528119f5e6aa7eeec4906b8c58602cb5..c8c7985826cd5a9cbcf0a3579ceab87cfd9a814f 100644 (file)
@@ -35,7 +35,7 @@ function rebind_proc ($ds, $ldap_url) {
 $link = ldap_connect($host, $port);
 var_dump(ldap_set_rebind_proc($link));
 var_dump(ldap_set_rebind_proc($link, "rebind_proc", "Additional data"));
-var_dump(ldap_set_rebind_proc($link, "rebind_proc_inexistant"));
+var_dump(ldap_set_rebind_proc($link, "rebind_proc_inexistent"));
 ?>
 ===DONE===
 --EXPECTF--
@@ -45,6 +45,6 @@ bool(false)
 Warning: ldap_set_rebind_proc() expects exactly 2 parameters, 3 given in %s on line %d
 bool(false)
 
-Warning: ldap_set_rebind_proc(): Two arguments expected for 'rebind_proc_inexistant' to be a valid callback in %s on line %d
+Warning: ldap_set_rebind_proc(): Two arguments expected for 'rebind_proc_inexistent' to be a valid callback in %s on line %d
 bool(false)
 ===DONE===
index 4e266a0533e0f17f8bb9d6522e094b3df237b159..023e4d229995405faebaef2f8b3dd111cfd772cf 100644 (file)
@@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
        } catch (mysqli_sql_exception $e) {
                $ok = true;
                if ('' == $e->getMessage())
-                       printf("[008] getMessage() has returned an emptry string.\n");
+                       printf("[008] getMessage() has returned an empty string.\n");
                if ('' == $e->getCode())
                        printf("[009] getCode() has returned an empty string.\n");
                if ('' == $e->getFile())
index fa00ecda15d2350b2950b473e42dcf9b209ece10..ac2e7c00015ac5d3654904c9a2e3aefbc50d7033 100644 (file)
@@ -17,7 +17,7 @@ mysqli_fetch_assoc() - utf8
                die("skip Looks like UTF8 is not available on the server");
 
        if (strtolower($tmp['Charset']) !== 'utf8')
-               die("skip Not sure if UTF8 is available, cancelling the test");
+               die("skip Not sure if UTF8 is available, canceling the test");
 
        mysqli_free_result($res);
 
@@ -28,7 +28,7 @@ mysqli_fetch_assoc() - utf8
                die("skip Looks like UCS2 is not available on the server");
 
        if (strtolower($tmp['Charset']) !== 'ucs2')
-               die("skip Not sure if UCS2 is available, cancelling the test");
+               die("skip Not sure if UCS2 is available, canceling the test");
 
        mysqli_free_result($res);
        mysqli_close($link);
index 2f7986d3fe44613a6be34aae3a597533afad57aa..5daaa597fabb459dff5402afa521678f5eca12e1 100644 (file)
@@ -12,7 +12,7 @@ require_once('skipifconnectfailure.inc');
 
        $valid_options = array(
                MYSQLI_READ_DEFAULT_GROUP                       => "MYSQLI_READ_DEFAULT_GROUP",
-               MYSQLI_READ_DEFAULT_FILE                        => "MYSQLI_READ_DEFAUTL_FILE",
+               MYSQLI_READ_DEFAULT_FILE                        => "MYSQLI_READ_DEFAULT_FILE",
                MYSQLI_OPT_CONNECT_TIMEOUT                      => "MYSQLI_OPT_CONNECT_TIMEOUT",
                MYSQLI_OPT_LOCAL_INFILE                         => "MYSQLI_OPT_LOCAL_INFILE",
                MYSQLI_INIT_COMMAND                                     => "MYSQLI_INIT_COMMAND",
index 61511cf6d2f452977092b416b261420929b07469..d735f6429947616e70f27717ad164be16632038d 100644 (file)
@@ -8,7 +8,7 @@ require(dirname(__FILE__).'/skipif.inc');
 --FILE--
 <?php
 
-// This test is similar to bug43492.phpt without the explict free.
+// This test is similar to bug43492.phpt without the explicit free.
 // Now that bug 44206 is fixed an automatic clean up will occur -
 // though it is still recommended in practice.
 
index 1e7166a5ec527cf3cc76c8e1178315a5b97041be..c84a4ecc60913b3525e16f41319ccd9bf7b7031e 100644 (file)
@@ -2704,7 +2704,7 @@ PHP_FUNCTION(odbc_num_rows)
 
 #if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30)
 /* {{{ proto bool odbc_next_result(resource result_id)
-   Checks if multiple results are avaiable */
+   Checks if multiple results are available */
 PHP_FUNCTION(odbc_next_result)
 {
        odbc_result *result;
index efd902f431816041c2903508658ce2c258e78fd9..f05798e044443a27adf7db4c18a208dcfe95dcab 100644 (file)
@@ -138,7 +138,7 @@ static inline int is_stream_path(const char *filename)
        return ((*p == ':') && (p - filename > 1) && (p[1] == '/') && (p[2] == '/'));
 }
 
-static inline int is_cachable_stream_path(const char *filename)
+static inline int is_cacheable_stream_path(const char *filename)
 {
        return memcmp(filename, "file://", sizeof("file://") - 1) == 0 ||
               memcmp(filename, "phar://", sizeof("phar://") - 1) == 0;
@@ -1455,7 +1455,7 @@ static zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int
            CG(interactive) ||
            (ZCSG(restart_in_progress) && accel_restart_is_active(TSRMLS_C)) ||
            (is_stream_path(file_handle->filename) && 
-            !is_cachable_stream_path(file_handle->filename))) {
+            !is_cacheable_stream_path(file_handle->filename))) {
                /* The Accelerator is disabled, act as if without the Accelerator */
                return accelerator_orig_compile_file(file_handle, type TSRMLS_CC);
        }
index c24d9f1304517a0018d2c6286a4b25ca15ba0ae2..39b4c1fc2558b52c58d33c69ca6445feaf0e0f7e 100644 (file)
@@ -936,7 +936,7 @@ zend_op_array* zend_accel_load_script(zend_persistent_script *persistent_script,
                        zend_hash_destroy(&ZCG(bind_hash));
                }
                /* we must first to copy all classes and then prepare functions, since functions may try to bind
-                  classes - which depend on pre-bind class entries existant in the class table */
+                  classes - which depend on pre-bind class entries existent in the class table */
                if (zend_hash_num_elements(&persistent_script->function_table) > 0) {
                        zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, (unique_copy_ctor_func_t)zend_prepare_function_for_execution);
                }
index abdee832235c9ca936749c3a79e884c99454f4b3..574276b7ce2c2c51b4d074557214a8d31259eb5f 100644 (file)
@@ -23,7 +23,7 @@
 #include "Zend/zend.h"
 #include "Zend/zend_signal.h"
 
-/* php_signal using sigaction is derrived from Advanced Programing
+/* php_signal using sigaction is derived from Advanced Programing
  * in the Unix Environment by W. Richard Stevens p 298. */
 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all)
 {
index 29dfc5af1e4fb78fb02af4d14f37cc2750a96daf..ae2eb128ba09b625244ba6d1b79867ec16bb3d1f 100644 (file)
@@ -11,9 +11,9 @@ error_reporting(E_ALL&~E_NOTICE);
 * Testing how preg_grep reacts to being passed bad regexes
 */
 echo "*** Testing preg_grep() : error conditions ***\n";
-$values = array('abcdef', //Regex without delimeter
-'/[a-zA-Z]', //Regex without closing delimeter
-'[a-zA-Z]/', //Regex without opening delimeter
+$values = array('abcdef', //Regex without delimiter
+'/[a-zA-Z]', //Regex without closing delimiter
+'[a-zA-Z]/', //Regex without opening delimiter
 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
 );
index a3cb684044d388830de6050561dbd900daae7c3e..95ab905d7d4cb10ef353d688550c7e7fd288e181 100644 (file)
@@ -11,9 +11,9 @@ error_reporting(E_ALL&~E_NOTICE);
 * Testing how preg_match_all reacts to being passed the wrong type of regex argument
 */
 echo "*** Testing preg_match_all() : error conditions ***\n";
-$regex_array = array('abcdef', //Regex without delimeter
-'/[a-zA-Z]', //Regex without closing delimeter
-'[a-zA-Z]/', //Regex without opening delimeter
+$regex_array = array('abcdef', //Regex without delimiter
+'/[a-zA-Z]', //Regex without closing delimiter
+'[a-zA-Z]/', //Regex without opening delimiter
 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
 );
index 7630481517a1728c231348a20fb96cb1722b0a84..ec9cf8cec8cdb23af0774e79cd6d82a9ad3008ef 100644 (file)
@@ -11,9 +11,9 @@ error_reporting(E_ALL&~E_NOTICE);
 * Testing how preg_match reacts to being passed the wrong type of regex argument
 */
 echo "*** Testing preg_match() : error conditions ***\n";
-$regex_array = array('abcdef', //Regex without delimeter
-'/[a-zA-Z]', //Regex without closing delimeter
-'[a-zA-Z]/', //Regex without opening delimeter
+$regex_array = array('abcdef', //Regex without delimiter
+'/[a-zA-Z]', //Regex without closing delimiter
+'[a-zA-Z]/', //Regex without opening delimiter
 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
 );
index 7ddfcfdef862830be843c2e91f9fa1e72d3f0262..ec573c77bfa1340f7ca7dc9fe3eb44e19a1ae283 100644 (file)
@@ -11,9 +11,9 @@ error_reporting(E_ALL&~E_NOTICE);
 * Testing how preg_replace reacts to being passed the wrong type of regex argument
 */
 echo "*** Testing preg_replace() : error conditions***\n";
-$regex_array = array('abcdef', //Regex without delimeter
-'/[a-zA-Z]', //Regex without closing delimeter
-'[a-zA-Z]/', //Regex without opening delimeter
+$regex_array = array('abcdef', //Regex without delimiter
+'/[a-zA-Z]', //Regex without closing delimiter
+'[a-zA-Z]/', //Regex without opening delimiter
 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
 );
index 25db6842f623538a0f568139d34bdb1afe8a3055..ee763571c07307eee20182cd647348127a2f18f9 100644 (file)
@@ -899,7 +899,7 @@ static PHP_METHOD(PDO, getAttribute)
        PDO_DBH_CLEAR_ERR();
        PDO_CONSTRUCT_CHECK;
 
-       /* handle generic PDO-level atributes */
+       /* handle generic PDO-level attributes */
        switch (attr) {
                case PDO_ATTR_PERSISTENT:
                        RETURN_BOOL(dbh->is_persistent);
index 81e9b74ff9274df5100993e3255a7e36782ed580..ab9b99fc6c91635e9ab62dba4175488e283f67eb 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-PDO_OCI: Atrribute: closing a connection in non-autocommit mode commits data
+PDO_OCI: Attribute: closing a connection in non-autocommit mode commits data
 --SKIPIF--
 <?php
 if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded');
index 65a2c339675396b7bf8dde40cffbbed19a46b283..edfaa1cddcce34c9051081eef5efa47a00d40d9e 100644 (file)
@@ -56,7 +56,7 @@ ORDER BY 1;
 /*
  * mysql_list_fields()
  *
- * See also pg_meta_data(). It returns field defintion as array.
+ * See also pg_meta_data(). It returns field definition as array.
  */
 function pg_list_fields($db, $table) 
 {
index 465e868cfa5f1168209ff5eccd88235be28e171a..dfec951f799033e4b4e182eefbbd20f816e4fa65 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-ReflectionExtension::getClassNames() method on an extension which acually returns some information
+ReflectionExtension::getClassNames() method on an extension which actually returns some information
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 --FILE--
index 24e0ecd7bf76d092bbfef519a9c398dec6b7b675..c4d1f2192db1e98a52fa113f965c206240a01600 100644 (file)
@@ -3,7 +3,7 @@ Test session_status() function : disabled
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
-session.save_handler=non-existant
+session.save_handler=non-existent
 --FILE--
 <?php
 
index 5b978734e8eaca3d7b5e9b653d4587c5fdc1d1a7..b8ee893d8daede50e1ad44b40b82765153c3ad8b 100644 (file)
@@ -300,7 +300,7 @@ class Interop_Client
 
     /**
     *  decodeSoapval
-    * decodes a soap value to php type, used for test result comparisions
+    * decodes a soap value to php type, used for test result comparisons
     *
     * @param SOAP_Value soapval
     * @return mixed result
@@ -398,7 +398,7 @@ class Interop_Client
             $namespace = $soapaction = 'http://soapinterop.org/';
             // hack to make tests work with MS SoapToolkit
             // it's the only one that uses this soapaction, and breaks if
-            // it isn't right.  Can't wait for soapaction to be fully depricated
+            // it isn't right.  Can't wait for soapaction to be fully deprecated
             if ($this->currentTest == 'base' &&
                 strstr($endpoint_info['endpointName'],'MS SOAP ToolKit 2.0')) {
                 $soapaction = 'urn:soapinterop';
index 1ae25d92f02efbef8e58646676694fdc526b8d24..fc12bc8cb724be253c4fbbb68273083b50b49883 100644 (file)
@@ -35,7 +35,7 @@ classes to define what the type of the value is.</p>
 
 <h3>Client Test Interface</h3>
 <p>The <a href="client_round2.php">client interface</a> allows you to run the PHP SOAP
-Client against a choosen interop server.  Each run updates the results database below.</p>
+Client against a chosen interop server.  Each run updates the results database below.</p>
 
 <h3>Interop Client Test Results</h3>
 <p>This is a database of the current test results using PHP SOAP Clients against interop servers.</p>
index 5af308c18023973d8913caef142f7bd0f5718db0..86ab03d9c80c7e1e8196e16e52bc267bddba6f09 100644 (file)
@@ -194,7 +194,7 @@ static php_stream* http_connect(zval* this_ptr, php_url *phpurl, int use_ssl, ph
        if (use_ssl && !*use_proxy) {
                if (zend_hash_find(Z_OBJPROP_P(this_ptr), "_ssl_method", sizeof("_ssl_method"), (void **) &tmp) == SUCCESS &&
                        Z_TYPE_PP(tmp) == IS_LONG) {
-                       /* uses contants declared in soap.c to determine ssl uri protocol */
+                       /* uses constants declared in soap.c to determine ssl uri protocol */
                        switch (Z_LVAL_PP(tmp)) {
                                case SOAP_SSL_METHOD_TLS:
                                        protocol = "tls";
index 8a41ff4e4fdac0213dd287c9947e3895c5ed1c40..88aec53f451635989114784cfe8113cbbf20a80b 100644 (file)
@@ -1290,7 +1290,7 @@ PHP_METHOD(SoapServer, setClass)
                        }
                }
        } else {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set a non existant class (%s)", classname);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set a non existent class (%s)", classname);
                return;
        }
 
@@ -1421,7 +1421,7 @@ PHP_METHOD(SoapServer, addFunction)
                                zend_str_tolower_copy(key, Z_STRVAL_PP(tmp_function), key_len);
 
                                if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) {
-                                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function '%s'", Z_STRVAL_PP(tmp_function));
+                                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existent function '%s'", Z_STRVAL_PP(tmp_function));
                                        return;
                                }
 
@@ -1443,7 +1443,7 @@ PHP_METHOD(SoapServer, addFunction)
                zend_str_tolower_copy(key, Z_STRVAL_P(function_name), key_len);
 
                if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function '%s'", Z_STRVAL_P(function_name));
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existent function '%s'", Z_STRVAL_P(function_name));
                        return;
                }
                if (service->soap_functions.ft == NULL) {
index 59d96e2c77ce1d9ee925c769e0a71b65ba08cd64..5134cbf099581c3718ed7044515f52abc5daa388 100644 (file)
@@ -47,7 +47,7 @@ array(42) {
   string(86) "struct MGCodeLibelle {
  string Code;
  string Libelle;
- boolean Defaut;
+ boolean Default;
  anyType Tag;
 }"
   [9]=>
index ee528818bbe2c11282267e410d23cfb78c9b3038..50c2fcda849ee1955cf79faacbcdd240bc1d440c 100644 (file)
@@ -67,7 +67,7 @@ type="s:string" />
 type="s:string" />\r
           <s:element minOccurs="0" maxOccurs="1" name="Libelle"\r
 type="s:string" />\r
-          <s:element minOccurs="1" maxOccurs="1" name="Defaut"\r
+          <s:element minOccurs="1" maxOccurs="1" name="Default"\r
 type="s:boolean" />\r
           <s:element minOccurs="0" maxOccurs="1" name="Tag" />\r
         </s:sequence>\r
index 37676e0537c12abce6fe42f4125f2de726909bd9..451d05da32014c2a186082c3bca1697b42857121 100644 (file)
@@ -17,7 +17,7 @@
  * an Iterator. It is very important to understand that most classes that do 
  * not implement Iterator have their reasone to. Most likely they do not allow
  * the full Iterator feature set. If so you need to provide techniques to
- * prevent missuse. If you do not you must expect exceptions or fatal erros.
+ * prevent missuse. If you do not you must expect exceptions or fatal errors.
  *
  * It is also possible to derive the class and implement IteratorAggregate by
  * downcasting the instances returned in getIterator. See the following
index 32705f0919b7ba5c7862c4a9034e39e3af0170e8..4402d6ca4c32e80be488c5311d95aa0f69172735 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index 942c7619d940a97b8af513724d3324382637451b..64d6514a29a4ae4571eda00cfb3c9ef9592d7e54 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index ee2497252d5c3f5b97bdf41e481d1627bcde1937..efbb5fb68559f441ce1df8c96c0aee81e6877adb 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index 5430e53758dad4e8c0e0b6dcfbad4089533b8d1c..7487b8353c96a53e38afce011d51dce83383734e 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index 96c02909537a438063cc6f3c7090301aff03ee74..1a94532b2b6b5978c543b6757377e240155d1b68 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index a570318999d7975acd2c9b69158dc788ed2d6a3e..fd90103bfa7eff6f83e4ce8b14f0da0fe94f0d7e 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SplFileObject::fgetcsv with alternative delimeter
+SplFileObject::fgetcsv with alternative delimiter
 --FILE--
 <?php
 $fp = fopen('SplFileObject__fgetcsv.csv', 'w+');
index 9c882c98c48120a661d6c281f8d45a9549f0bed1..ccd12771edf79e68ef18dcfe190448ebf1e67c34 100644 (file)
@@ -11864,7 +11864,7 @@ SQLITE_PRIVATE   int sqlite3MemdebugNoType(void*,u8);
 **
 *************************************************************************
 **
-** This file contains definitions of global variables and contants.
+** This file contains definitions of global variables and constants.
 */
 
 /* An array to map all upper-case characters into their corresponding
@@ -16130,7 +16130,7 @@ SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys3(void){
 **   1.  All memory allocations sizes are rounded up to a power of 2.
 **
 **   2.  If two adjacent free blocks are the halves of a larger block,
-**       then the two blocks are coalesed into the single larger block.
+**       then the two blocks are coalesced into the single larger block.
 **
 **   3.  New memory is allocated from the first available free block.
 **
@@ -20926,7 +20926,7 @@ do_atof_calc:
   /* store the result */
   *pResult = result;
 
-  /* return true if number and no extra non-whitespace chracters after */
+  /* return true if number and no extra non-whitespace characters after */
   return z>=zEnd && nDigits>0 && eValid;
 #else
   return !sqlite3Atoi64(z, pResult, length, enc);
@@ -30074,7 +30074,7 @@ static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3){
 ** setting the environment variable SQLITE_FORCE_PROXY_LOCKING to 1 will
 ** force proxy locking to be used for every database file opened, and 0
 ** will force automatic proxy locking to be disabled for all database
-** files (explicity calling the SQLITE_SET_LOCKPROXYFILE pragma or
+** files (explicitly calling the SQLITE_SET_LOCKPROXYFILE pragma or
 ** sqlite_file_control API is not affected by SQLITE_FORCE_PROXY_LOCKING).
 */
 
@@ -69899,7 +69899,7 @@ SQLITE_PRIVATE int sqlite3MemJournalSize(void){
 
 /*
 ** Walk an expression tree.  Invoke the callback once for each node
-** of the expression, while decending.  (In other words, the callback
+** of the expression, while descending.  (In other words, the callback
 ** is invoked before visiting children.)
 **
 ** The return value from the callback should be one of the WRC_*
@@ -70936,7 +70936,7 @@ static int resolveOrderGroupBy(
 }
 
 /*
-** Resolve names in the SELECT statement p and all of its descendents.
+** Resolve names in the SELECT statement p and all of its descendants.
 */
 static int resolveSelectStep(Walker *pWalker, Select *p){
   NameContext *pOuterNC;  /* Context that contains this SELECT */
@@ -71244,7 +71244,7 @@ SQLITE_PRIVATE void sqlite3ResolveSelectNames(
 ** affinity of that column is returned. Otherwise, 0x00 is returned,
 ** indicating no affinity for the expression.
 **
-** i.e. the WHERE clause expresssions in the following statements all
+** i.e. the WHERE clause expressions in the following statements all
 ** have an affinity:
 **
 ** CREATE TABLE t1(a);
@@ -74260,13 +74260,13 @@ static int evalConstExpr(Walker *pWalker, Expr *pExpr){
 
 /*
 ** Preevaluate constant subexpressions within pExpr and store the
-** results in registers.  Modify pExpr so that the constant subexpresions
+** results in registers.  Modify pExpr so that the constant subexpressions
 ** are TK_REGISTER opcodes that refer to the precomputed values.
 **
 ** This routine is a no-op if the jump to the cookie-check code has
 ** already occur.  Since the cookie-check jump is generated prior to
 ** any other serious processing, this check ensures that there is no
-** way to accidently bypass the constant initializations.
+** way to accidentally bypass the constant initializations.
 **
 ** This routine is also a no-op if the SQLITE_FactorOutConst optimization
 ** is disabled via the sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS)
@@ -75132,7 +75132,7 @@ static void renameParentFunc(
 ** ALTER TABLE command. The first argument is the text of a CREATE TRIGGER 
 ** statement. The second is a table name. The table name in the CREATE 
 ** TRIGGER statement is replaced with the third argument and the result 
-** returned. This is analagous to renameTableFunc() above, except for CREATE
+** returned. This is analogous to renameTableFunc() above, except for CREATE
 ** TRIGGER, not CREATE INDEX and CREATE TABLE.
 */
 static void renameTriggerFunc(
@@ -86752,7 +86752,7 @@ static int xferOptimization(
   }
 #endif
 #ifndef SQLITE_OMIT_FOREIGN_KEY
-  /* Disallow the transfer optimization if the destination table constains
+  /* Disallow the transfer optimization if the destination table constrains
   ** any foreign key constraints.  This is more restrictive than necessary.
   ** But the main beneficiary of the transfer optimization is the VACUUM 
   ** command, and the VACUUM command disables foreign key constraints.  So
@@ -93175,7 +93175,7 @@ static int flattenSubquery(
   pSubSrc = pSub->pSrc;
   assert( pSubSrc );
   /* Prior to version 3.1.2, when LIMIT and OFFSET had to be simple constants,
-  ** not arbitrary expresssions, we allowed some combining of LIMIT and OFFSET
+  ** not arbitrary expressions, we allowed some combining of LIMIT and OFFSET
   ** because they could be computed at compile-time.  But when LIMIT and OFFSET
   ** became arbitrary expressions, we were forced to add restrictions (13)
   ** and (14). */
@@ -94472,7 +94472,7 @@ SQLITE_PRIVATE int sqlite3Select(
     */
     if( pGroupBy ){
       KeyInfo *pKeyInfo;  /* Keying information for the group by clause */
-      int j1;             /* A-vs-B comparision jump */
+      int j1;             /* A-vs-B comparison jump */
       int addrOutputRow;  /* Start of subroutine that outputs a result row */
       int regOutputRow;   /* Return address register for output subroutine */
       int addrSetAbort;   /* Set the abort flag and return */
index e281690ecd6fd02915caba58da5cbf9f9a593bba..4f5209e2f70fe346105482ef492444776d0b33b0 100644 (file)
@@ -352,7 +352,7 @@ PHP_FUNCTION(count)
 
 /* Numbers are always smaller than strings int this function as it
  * anyway doesn't make much sense to compare two different data types.
- * This keeps it consistant and simple.
+ * This keeps it consistent and simple.
  *
  * This is not correct any more, depends on what compare_func is set to.
  */
index b3dade4a75609b8d1e19d2ec65cd00ddc417a6bb..bd80f11dec9746d1f595f250e177b6a9977c80b1 100644 (file)
@@ -112,7 +112,7 @@ static struct gfxinfo *php_handle_gif (php_stream * stream TSRMLS_DC)
        result->width    = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8);
        result->height   = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8);
        result->bits     = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0;
-       result->channels = 3; /* allways */
+       result->channels = 3; /* always */
 
        return result;
 }
index 4c243f778f17f1271be6d5ce128fa72b5282bf78..9499981f272611e2ec5e4e5290a22311db1a7123 100644 (file)
@@ -328,7 +328,7 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
        sendmail = popen_ex(sendmail_cmd, "wb", NULL, NULL TSRMLS_CC);
 #else
        /* Since popen() doesn't indicate if the internal fork() doesn't work
-        * (e.g. the shell can't be executed) we explicitely set it to 0 to be
+        * (e.g. the shell can't be executed) we explicitly set it to 0 to be
         * sure we don't catch any older errno value. */
        errno = 0;
        sendmail = popen(sendmail_cmd, "w");
index 672c0652219b0418d6a673094c4276219a8658d0..6e9489318775900ffff86352310f1ebde158c524 100644 (file)
@@ -69,7 +69,7 @@ char machine_little_endian;
 /* Mapping of byte from char (8bit) to long for machine endian */
 static int byte_map[1];
 
-/* Mappings of bytes from int (machine dependant) to int for machine endian */
+/* Mappings of bytes from int (machine dependent) to int for machine endian */
 static int int_map[sizeof(int)];
 
 /* Mappings of bytes from shorts (16bit) for all endian environments */
index bc610659e5ac1d6f8ca249a0934d412d2248767a..6a67efbd7ebfa531d0b2f0cb575f1813c2c2b684 100644 (file)
@@ -1582,7 +1582,7 @@ PHP_FUNCTION(pathinfo)
                const char *p;
                int idx;
 
-               /* Have we alrady looked up the basename? */
+               /* Have we already looked up the basename? */
                if (!have_basename && !ret) {
                        php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC);
                }
index a6e9cd2bbff566665b17de77f0bfbfa31fd55007..69a1f0a6d1ba4b61b4159786ad70d013ca3e651b 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test array_key_exists() function : usage variations - Pass differnt data types to $search arg
+Test array_key_exists() function : usage variations - Pass different data types to $search arg
 --FILE--
 <?php
 /* Prototype  : bool array_key_exists(mixed $key, array $search)
index 04f3b91388e3dfe14be470171ef187e18612b807..c247879ccc7b3d2ab60bb89bb36fcc1c58b495ae 100644 (file)
@@ -16,7 +16,7 @@ $file_handle = fopen(__FILE__, "r");
 //directory type resource
 $dir_handle = opendir( dirname(__FILE__) );
 
-//store resources in array for comparision.
+//store resources in array for comparison.
 $resources = array($file_handle, $dir_handle);
 
 // search for resouce type in the resource array
index b713064569b61b0ab61cd3ffd05b8013c947d243..660809357d91e4d2bb968320422c6dc39a936f33 100644 (file)
@@ -9,7 +9,7 @@ Test array_values() function : usage variations - Internal order check
 
 /*
  * Check that array_values is re-assigning keys according to the internal order of the array,
- * and is not dependant on the \$input argument's keys
+ * and is not dependent on the \$input argument's keys
  */
 
 echo "*** Testing array_values() : usage variations ***\n";
index 31f6b4c1db66eda19146ec7fc9651048e39a07fe..023f4176fc1e8224f74b62b706fef525bae294f4 100644 (file)
@@ -123,7 +123,7 @@ Bug #34066 (recursive array_walk causes segfault)
                 "ProceedKeyArticle"    =>      "01",
                 "ActionKey"            =>      "00",
                 "ContactCommissionArticle"=>   "0,00",
-                "QuantDependantPriceKey"=>     "",
+                "QuantdependentPriceKey"=>     "",
                 "Quant"                        =>      "1",
                 "QuantUnit"            =>      "",
                 "Meas" => array(
@@ -584,7 +584,7 @@ gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
 /Docs/Doc/DocItems/DocItem/ContactCommissionArticle=0,00
 gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
 gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
-/Docs/Doc/DocItems/DocItem/QuantDependantPriceKey
+/Docs/Doc/DocItems/DocItem/QuantdependentPriceKey
 gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
 gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
 /Docs/Doc/DocItems/DocItem/Quant=1
index edc16efd05d8a37cf7906c7570232afb1d89049f..6d0f7f84e933da2a4b026c8e4c194ffa079239b3 100644 (file)
@@ -123,7 +123,7 @@ Bug #34066 (recursive array_walk causes segfault)
                 "ProceedKeyArticle"    =>      "01",
                 "ActionKey"            =>      "00",
                 "ContactCommissionArticle"=>   "0,00",
-                "QuantDependantPriceKey"=>     "",
+                "QuantdependentPriceKey"=>     "",
                 "Quant"                        =>      "1",
                 "QuantUnit"            =>      "",
                 "Meas" => array(
@@ -543,7 +543,7 @@ gen_xml(prefix=/Docs/)
 /Docs/ContactCommissionArticle=0,00
 gen_xml(prefix=/Docs/) end
 gen_xml(prefix=/Docs/)
-/Docs/QuantDependantPriceKey
+/Docs/QuantdependentPriceKey
 gen_xml(prefix=/Docs/) end
 gen_xml(prefix=/Docs/)
 /Docs/Quant=1
index b88a5a2d628c040485ffeaf674c65f86ebd41e98..a27bb196b460f56d0435663476a7800672bd8456 100644 (file)
@@ -19,7 +19,7 @@ $file_handle = fopen(__FILE__, "r");
 //directory type resource
 $dir_handle = opendir( dirname(__FILE__) );
 
-//store resources in array for comparision.
+//store resources in array for comparison.
 $resources = array($file_handle, $dir_handle);
 
 // search for resouce type in the resource array
index cd32d8d947d427c06a613684a5fa9b25d9af6f70..889db9886aef8e375eae98f0ebf0f7a3e5d1e063 100644 (file)
@@ -8,7 +8,7 @@ Test uasort() function : object functionality - sort diff. objects
 *
 
 /*
- * This testcase tests uasort() functionality with differnt objects
+ * This testcase tests uasort() functionality with different objects
  * Objects of different classes: 
  *  simple class,
  *  child class,
index 809cb78f565d82e9f97afbe973782dfbec077abd..e0c5e72f7e13b069ab6349da857da3dce27e3af6 100644 (file)
@@ -11,7 +11,7 @@ Test uasort() function : usage variations - sort array with reference variables
 * Testing uasort() with 'array_arg' containing different reference variables
 */
 
-// comparision function
+// comparison function
 /* Prototype : int cmp_function(mixed $value1, mixed $value2)
  * Parameters : $value1 and $value2 - values to be compared
  * Return value : 0 - if both values are same
index c2844bfd2416900b6424da4f2ea3ac518c7c0fc3..0ed797fb872069065bb51341a45a15b2165d686a 100644 (file)
@@ -12,7 +12,7 @@ Test uasort() function : usage variations - sort different numeric values
 *  integer, octal, hexadecimal & float
 */
 
-// comparision function
+// comparison function
 /* Prototype : int cmp_function(mixed $value1, mixed $value2)
  * Parameters : $value1 and $value2 - values to be compared
  * Return value : 0 - if both values are same
index 827f486d4ded84b84bf7ecc8e6c666c06c9c3ff7..8cc1ce2e6e8ec39ddd83b86ebf13d8fff185ab10 100644 (file)
@@ -6,9 +6,9 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) die('skip windows only test');
 ?>
 --FILE--
 <?php
-$result = exec('cd 1:\non_existant; dir nonexistant');
+$result = exec('cd 1:\non_existent; dir nonexistent');
 echo "$result";
-system('cd 1:\non_existant; dir nonexistant');
+system('cd 1:\non_existent; dir nonexistent');
 ?>
 --EXPECT--
 The system cannot find the drive specified.
index 5d7b7cad8df752e6ac0418f780637be952a22495..bf76a749fd82bcfd7981df4f5fd1d92522316b20 100644 (file)
@@ -10,7 +10,7 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) {
 ?>
 --FILE--
 <?php
-$result = exec('cd 1:\\non_existant; dir nonexistant');
+$result = exec('cd 1:\\non_existent; dir nonexistent');
 echo "$result";
 ?>
 --EXPECT--
index 4d7b139ad78c4cee952679a2ab6b102ff32bc66d..05095c6f10c78418b7526a77072b02cfd471c721 100644 (file)
@@ -10,7 +10,7 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) {
 ?>
 --FILE--
 <?php
-system('cd 1:\\non_existant; dir nonexistant');
+system('cd 1:\\non_existent; dir nonexistent');
 ?>
 --EXPECT--
 The system cannot find the drive specified.
\ No newline at end of file
index c0f86e7c3fa1d439c0470d5c38387983c93ae3f4..b3cd99e1c1926fe5bafd855b2a6e5f9997232937 100644 (file)
@@ -575,13 +575,13 @@ Description:
   Compares two stat values, stat value should be obtained by stat/lstat
   $stat1 = first stat array
   $stat2 = second stat array
-  $op = type of the comparision to be perform between elements of stat1 and stat2
+  $op = type of the comparison to be perform between elements of stat1 and stat2
     "!=" compare for not equal
     "==" compare for equality
     ">"  if each element of stat1 is > than stat2
     "<"  if each element of stat1 is < than stat2
   $fields = contains the key of the elements that needs to be compared. 
-            type of the comparision is based on $op argument value
+            type of the comparison is based on $op argument value
   $flag = specify true to dump the stat1 and stat2 
 */
 
index 979959e280040127ba3477a35541b035e20b8e06..bacbd93c82656ab0aa7f691801f6d23d58f5f327 100644 (file)
@@ -36,7 +36,7 @@ var_dump( lchown( $filename ) );
 // More than expected arguments
 var_dump( lchown( $filename, $uid, 'foobar' ) );
 
-// Non-existant filename
+// Non-existent filename
 var_dump( lchown( 'foobar_lchown.txt', $uid ) );
 
 // Wrong argument types
index b7554f9bd07c2d25bebece7749a08c22ba831f7a..8b7ff65cf0d31cb3aaa5b22503402e1893cfe465 100644 (file)
@@ -19,8 +19,8 @@ symlink(basename($prefix . "_file"), $prefix . "_link1");
 symlink(basename($prefix . "_link1"), $prefix . "_link2");
 
 // symlink to a non-existent path
-@unlink($prefix . "_nonexistant");
-symlink(basename($prefix . "_nonexistant"), $prefix . "_link3");
+@unlink($prefix . "_nonexistent");
+symlink(basename($prefix . "_nonexistent"), $prefix . "_link3");
 
 // symlink to a regular file using an absolute path
 symlink($prefix . "_file", $prefix . "_link4");
@@ -45,6 +45,6 @@ unlink($prefix . "_file");
 --EXPECTF--
 %unicode|string%(%d) "symlink_to_symlink.php_file"
 %unicode|string%(%d) "symlink_to_symlink.php_link1"
-%unicode|string%(%d) "symlink_to_symlink.php_nonexistant"
+%unicode|string%(%d) "symlink_to_symlink.php_nonexistent"
 %unicode|string%(%d) "%s/symlink_to_symlink.php_file"
 %unicode|string%(%d) "%s/symlink_to_symlink.php_link4"
index b5a9707e95d14a601e5183ab5ce4521a23bf32e7..d39898bbe2aa40c8b7edb70cac9a5b04df43019d 100644 (file)
@@ -158,7 +158,7 @@ class mystream
 }
 
 if (@stream_wrapper_register("bogus", "class_not_exist")) {
-       die("Registered a non-existant class!!!???");
+       die("Registered a non-existent class!!!???");
 }
 echo "Not Registered\n";
 
index 7ad90c8b5adbcd644c51c6b181876b87a875ab20..08e53b234400c56ca529177ef375380f4d72491b 100644 (file)
@@ -43,7 +43,7 @@ $n += test_me("bug #7368", 2,      "1345",     "1234");
 $n += test_me("bug #6562", 1,    "debugg",    "debug");
 $n += test_me("bug #6562", 1,    "ddebug",    "debug");
 $n += test_me("bug #6562", 2,   "debbbug",    "debug");
-$n += test_me("bug #6562", 1, "debugging", "debuging");
+$n += test_me("bug #6562", 1, "debugging", "debugging");
 
 $n += test_me("bug #16473", 2, "a", "bc");
 $n += test_me("bug #16473", 2, "xa", "xbc");
index aa1e521e9232f65680713d184bf8befeffd08bae..58957c84a98ca256dad49ae3bfef2c35581a52a0 100644 (file)
@@ -24,8 +24,8 @@ class sample  {
 //getting the resource
 $file_handle = fopen(__FILE__, "r");
 
-// array with different values for $delimeter
-$delimeters =  array (
+// array with different values for $delimiter
+$delimiters =  array (
 
   // integer values
   0,
@@ -68,13 +68,13 @@ $delimeters =  array (
   @$unset_var
 );
 
-// loop through with each element of the $delimeters array to test explode() function
+// loop through with each element of the $delimiters array to test explode() function
 $count = 1;
 $string = "piece1 piece2 piece3 piece4 piece5 piece6";
 $limit = 5;
-foreach($delimeters as $delimeter) {
+foreach($delimiters as $delimiter) {
   echo "-- Iteration $count --\n";
-  var_dump( explode($delimeter, $string, $limit) );
+  var_dump( explode($delimiter, $string, $limit) );
   $count ++;
 }
 
index 37f5a93f66ed67c0ee9be79189e7534a8287f1d2..79f66f1fa0cf13d90a3af2b16d7e8c812ed88a6e 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #38322 (reading past array in sscanf() leads to segfault/arbitary code execution)
+Bug #38322 (reading past array in sscanf() leads to segfault/arbitrary code execution)
 --FILE--
 <?php
 
index e04b230bab1b4a2d51640f69b4b09c8325ebde00..1fedc2937fc120eda05c8635b1044be25551ed9b 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #47322 (sscanf %d does't work)
+Bug #47322 (sscanf %d doesn't work)
 --FILE--
 <?php
 
index f7342e7ad347c4c87575ba26c83fecb99bb7a5fd..e88b1b0c6bf592460bd9d26f14537b1fb2ca9ec5 100644 (file)
@@ -14,11 +14,11 @@ echo "\n-- Testing explode() function with no arguments --\n";
 var_dump( explode() );
 
 echo "\n-- Testing explode() function with more than expected no. of arguments --\n";
-$delimeter = " ";
+$delimiter = " ";
 $string = "piece1 piece2 piece3 piece4 piece5 piece6";
 $limit = 5;
 $extra_arg = 10;
-var_dump( explode($delimeter, $string, $limit, $extra_arg) );
+var_dump( explode($delimiter, $string, $limit, $extra_arg) );
 
 ?>
 ===Done===
index 9c9ce116959b04b94feca95f3e934a29cfee4966..f16f69bece13cddd2980af13fad4446cd099dc03 100644 (file)
@@ -24,8 +24,8 @@ class sample  {
 //getting the resource
 $file_handle = fopen(__FILE__, "r");
 
-// array with different values for $delimeter
-$delimeters =  array (
+// array with different values for $delimiter
+$delimiters =  array (
 
                  // integer values
 /*1*/    0,
@@ -68,13 +68,13 @@ $delimeters =  array (
 /*22*/   @$unset_var
 );
 
-// loop through with each element of the $delimeters array to test explode() function
+// loop through with each element of the $delimiters array to test explode() function
 $count = 1;
 $string = "piece1 piece2 piece3 piece4 piece5 piece6";
 $limit = 5;
-foreach($delimeters as $delimeter) {
+foreach($delimiters as $delimiter) {
   echo "-- Iteration $count --\n";
-  var_dump( explode($delimeter, $string, $limit) );
+  var_dump( explode($delimiter, $string, $limit) );
   $count ++;
 }
 
index 9e1f72c5ac9b7ba85d70bd0eebe9043bd9335170..4de4637ac14bf2b963fae74853dfaaf06f05c062 100644 (file)
@@ -70,11 +70,11 @@ $strings =  array (
 
 // loop through with each element of the $strings array to test explode() function
 $count = 1;
-$delimeter = " ";
+$delimiter = " ";
 $limit = 5;
 foreach($strings as $string) {
   echo "-- Iteration $count --\n";
-  var_dump( explode($delimeter, $string, $limit) );
+  var_dump( explode($delimiter, $string, $limit) );
   $count ++;
 }
 
index 54d5222caa97be496ec5d3130983f4ed6ad38b0a..2e878931076e73e62ee91a9d5285b5eee66fc997 100644 (file)
@@ -24,7 +24,7 @@ class sample  {
 //getting the resource
 $file_handle = fopen(__FILE__, "r");
 
-// array with different values for $delimeter
+// array with different values for $delimiter
 $limits =  array (
 
                  // integer values
@@ -70,11 +70,11 @@ $limits =  array (
 
 // loop through with each element of the $limits array to test explode() function
 $count = 1;
-$delimeter = " ";
+$delimiter = " ";
 $string = "piece1 piece2 piece3 piece4 piece5 piece6";
 foreach($limits as $limit) {
   echo "-- Iteration $count --\n";
-  var_dump( explode($delimeter, $string, $limit) );
+  var_dump( explode($delimiter, $string, $limit) );
   $count ++;
 }
 
index 4d3502f18ab135a9c6811b0c529aaaebdefa6f91..3997c54b59eb3b86777b64b58f7ce67f25acac55 100644 (file)
Binary files a/ext/standard/tests/strings/implode1.phpt and b/ext/standard/tests/strings/implode1.phpt differ
index 1d4e50efdfe64a0d857da593784bd325e266074a..b5bfe2d9c257780fe1e32c5ba289eb0922debb3d 100644 (file)
@@ -34,7 +34,7 @@ var_dump( strrchr("Hello, World", "Hi") );
 var_dump( strrchr("Hello, World", "o") );
 var_dump( strrchr("Hello, World", "ooo") );
 
-var_dump( strrchr("Hello, World", "Zzzz") ); //non-existant needle in haystack
+var_dump( strrchr("Hello, World", "Zzzz") ); //non-existent needle in haystack
 echo "*** Done ***";
 ?>
 --EXPECTF--
index 7d3a695d4ebf746b84d5136a9a67ea2f68abe4a1..fd314cbd9d275640703a0e3ab8d3cf362459ccce 100644 (file)
@@ -26,7 +26,7 @@ echo "\n-- Testing substr_replace() function with start and length different typ
 var_dump(substr_replace($s1, "evening", array(5))); 
 var_dump(substr_replace($s1, "evening", 5, array(8))); 
   
-echo "\n-- Testing substr_replace() function with start and length with a different number of elments --\n";
+echo "\n-- Testing substr_replace() function with start and length with a different number of elements --\n";
 var_dump(substr_replace($s1, "evening", array(5, 1), array(8))); 
 
 echo "\n-- Testing substr_replace() function with start and length as arrays but string not--\n";
@@ -58,7 +58,7 @@ string(12) "Good morning"
 Warning: substr_replace(): 'from' and 'len' should be of same type - numerical or array  in %s on line %d
 string(12) "Good morning"
 
--- Testing substr_replace() function with start and length with a different number of elments --
+-- Testing substr_replace() function with start and length with a different number of elements --
 
 Warning: substr_replace(): 'from' and 'len' should have the same number of elements in %s on line %d
 string(12) "Good morning"
index bd4cf1429cb3ecac418fdbf24134c1c7adae846d..ee53d484cfb9baba2cb85714e7084aa5c17c111a 100644 (file)
@@ -1121,7 +1121,7 @@ static int php_sybase_finish_results(sybase_result *result TSRMLS_DC)
                                break;
 
                        case CS_CMD_FAIL:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Command failed, cancelling rest");
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Command failed, canceling rest");
                                ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL);
                                fail = 1;
                                break;
@@ -1131,7 +1131,7 @@ static int php_sybase_finish_results(sybase_result *result TSRMLS_DC)
                        case CS_PARAM_RESULT:
                        case CS_ROW_RESULT:
                                /* Unexpected results, cancel them. */
-                               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase:  Unexpected results, cancelling current");
+                               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase:  Unexpected results, canceling current");
                                ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_CURRENT);
                                break;
 
@@ -1141,7 +1141,7 @@ static int php_sybase_finish_results(sybase_result *result TSRMLS_DC)
                                break;
 
                        default:
-                               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase:  Unexpected results, cancelling all");
+                               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase:  Unexpected results, canceling all");
                                ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL);
                                break;
                }
@@ -1696,7 +1696,7 @@ PHP_FUNCTION(sybase_free_result)
        
        /* Did we fetch up until the end? */
        if (result->last_retcode != CS_END_DATA && result->last_retcode != CS_END_RESULTS) {
-               /* php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Cancelling the rest of the results"); */
+               /* php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  canceling the rest of the results"); */
                ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL);
                php_sybase_finish_results(result TSRMLS_CC);
        }
index 35bf6df7ada3a70c727ec6d597ac20e07f0c8bda..27f5f99b9d1fff2cf8c77180356fddee81f8699c 100644 (file)
@@ -80,7 +80,7 @@ bool(true)
     select "bar"   
   
 
-Notice: sybase_query(): Sybase:  Unexpected results, cancelling current in %stest.inc on line %d
+Notice: sybase_query(): Sybase:  Unexpected results, canceling current in %stest.inc on line %d
 <<< Return: resource
 array(1) {
   [0]=>
index e840402edc2ff39afc561a4883748b59b147e2a9..9f75b9c0ea06d043330c05426c9e6daa0aa01032 100644 (file)
@@ -23,7 +23,7 @@ Sybase-CT bug #43578 (Incurred fault #6 - if returned textfield ist empty)
   var_dump(sybase_query('insert into #Resource values (123, NULL)', $db));
   var_dump(sybase_query('insert into #Resource values (124, "")', $db));
 
-  // Select non-existant
+  // Select non-existent
   var_dump(sybase_select_ex($db, 'select DC_Rights from #Resource where Resource_ID = 122'));
 
   // Select null
index c23658fa35d37a5ee94e0942b836dfa8a2ba7882..2d225cd9cf445f4ed17632e0d4895a197cbd39c7 100644 (file)
@@ -40,7 +40,7 @@ Sybase-CT sybase_fetch_object
   // Test with object
   var_export(fetch_object($db, new article())); echo "\n";
 
-  // Test with non-existant class
+  // Test with non-existent class
   var_export(fetch_object($db, '***')); echo "\n";
     
   sybase_close($db);
index afe97cbef359efc6f844bc248aadd64d58eb89f2..3189aaac210bb8681ca3fec8d1e09c6c99551763 100644 (file)
@@ -13,7 +13,7 @@ Sybase-CT server message handler
   
   $db= sybase_connect_ex();
 
-  echo 'Nonexistant:     '; sybase_set_messagehandler_ex('function_does_not_exist');
+  echo 'Nonexistent:     '; sybase_set_messagehandler_ex('function_does_not_exist');
   echo 'Static method:   '; sybase_set_messagehandler_ex(array('sybase', 'static_handler'));
   echo 'Instance method: '; sybase_set_messagehandler_ex(array(new sybase(), 'handler'));
   echo 'Lambda function: '; sybase_set_messagehandler_ex(create_function('', 'return FALSE;'));
@@ -25,7 +25,7 @@ Sybase-CT server message handler
   sybase_close($db);
 ?>
 --EXPECTF--
-Nonexistant:     
+Nonexistent:     
 Warning: sybase_set_message_handler() expects parameter 1 to be a valid callback, function 'function_does_not_exist' not found or invalid function name in %stest.inc on line %d
 NULL
 Static method:   bool(true)
index 0612b21f15c54c310d9fdb5fcd74cae107651416..72b6720f1d4c63145f22b127bac6466ccf014e0d 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #41287 (Namespace functions don't allow xmlns defintion to be optional)
+Bug #41287 (Namespace functions don't allow xmlns definition to be optional)
 --SKIPIF--
 <?php 
 if (!extension_loaded("xmlwriter")) die("skip"); 
index de03542cad225130191f254e1e5ffc7fb1abb92f..f4ed4d234de14ab8644b811818e0eed220f742c1 100644 (file)
@@ -27,7 +27,7 @@ sprintf  offers the ability to make a lot of failures since it does not know
          the size of the buffer it uses. Therefore usage of sprintf often
          results in possible entries for buffer overrun attacks. So please
          use this version only if you are sure the call is safe. sprintf
-         allways terminstes the buffer it writes to.
+         always terminstes the buffer it writes to.
 
 snprintf knows the buffers size and will not write behind it. But you will
          have to use either a static buffer or allocate a dynamic buffer
@@ -48,7 +48,7 @@ spprintf is the dynamical version of snprintf. It allocates the buffer in size
          snprintf and offers possible memory leakes if you miss freeing the
          buffer allocated by the function. Therfore this function should be
          used where either no maximum is known or the maximum is much bigger
-         than normal size required. spprintf allways terminates the buffer.
+         than normal size required. spprintf always terminates the buffer.
 
 Example:
 
@@ -60,7 +60,7 @@ Example:
  sprintf(buffer, "test");      | snprintf(buffer, MAX, "test"); | spprintf(&buffer, MAX, "text");
                                |                                | if (!buffer)
                                |                                |   return OUT_OF_MEMORY
- // sprintf allways terminates | // manual termination of       | // spprintf allays terminates buffer
+ // sprintf always terminates | // manual termination of       | // spprintf allays terminates buffer
  // buffer                     | // buffer *IS* required        |
                                | buffer[MAX-1] = 0;             |
  action_with_buffer(buffer);   | action_with_buffer(buffer);    | action_with_buffer(buffer);
index 397928a7945016fb8621037944a16c4272805935..d9aa9533e5c459508dc590283dcb9ad5862c1e52 100644 (file)
@@ -22,7 +22,7 @@
 
 The pbuf parameter of all spprintf version receives a pointer to the allocated
 buffer. This buffer must be freed manually after usage using efree() function.
-The buffer will allways be terminated by a zero character. When pbuf is NULL
+The buffer will always be terminated by a zero character. When pbuf is NULL
 the function can be used to calculate the required size of the buffer but for
 that purpose snprintf is faster. When both pbuf and the return value are 0
 than you are out of memory.
index e0d80970af8b6c7d028a412a69ec79ed0a80be64..6912477b859c9ef27a36da7ef7f8f80793ccd010 100644 (file)
@@ -3,7 +3,7 @@
 ;;;;;;;;;;;;;;;;;;;;;
 
 ; All relative paths in this configuration file are relative to PHP's install
-; prefix (@prefix@). This prefix can be dynamicaly changed by using the
+; prefix (@prefix@). This prefix can be dynamically changed by using the
 ; '-p' argument from the command line.
 
 ; Include one or more files. If glob(3) exists, it is used to include a bunch of
index e548ec97db850e01c300e5f7fd28db8dca8b9550..b5cec05aa607fed36ce6f17a9a9e04b29fceecc5 100644 (file)
@@ -195,7 +195,7 @@ process.
 
 By default a LSAPI application check the existence of its parent process
 and exits automatically if the parent process died. This is to reduce 
-orphan process when web server is restarted. However, it is desireable 
+orphan process when web server is restarted. However, it is desirable 
 to disable this feature, such as when a LSAPI process was started 
 manually from command line. LSAPI_PPID_NO_CHECK should be set when 
 you want to disable the checking of existence of parent process.
index a12c040f9c93c2123c22bfdba6fef3a6df6f19c7..0112d87a9719a9aa2ad822b24bbda31373722e58 100644 (file)
Binary files a/scripts/dev/generate-phpt.phar and b/scripts/dev/generate-phpt.phar differ
index dfee4ea75ee75c252b6790ac7e25a03a81d17d6b..a62882a81a047e94cfc0aa5e35a1fb71f826c9ae 100644 (file)
@@ -23,7 +23,7 @@ class gtVariationContainerFunction extends gtVariationContainer {
   
   
   /**
-   * Constucts all possible variation testcases in array $this->variationTests
+   * constructs all possible variation testcases in array $this->variationTests
    *
    */
   public function constructAll() {
index 1c30f10403dc0a46f218a793d9e651a19f48dead..33c3f27eac8164658231ca4474053f2dcb3b4857 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #45986 (wrong error message for a non existant file on rename)
+Bug #45986 (wrong error message for a non existent file on rename)
 --CREDITS--
 Sebastian Schürmann
 sebs@php.net
index 3078307263601f0656cb0776b7c92874620114a2..93e68f4b1a421e277aefaedbcd1c51950795f5db 100644 (file)
@@ -409,7 +409,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
 
        snprintf(Buffer, sizeof(Buffer), "HELO %s\r\n", LocalHost);
 
-       /* in the beggining of the dialog */
+       /* in the beginning of the dialog */
        /* attempt reconnect if the first Post fail */
        if ((res = Post(Buffer)) != SUCCESS) {
                MailConnect();