]> granicus.if.org Git - php/commitdiff
Fix #78880: Spelling error report
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 21 Dec 2019 10:58:00 +0000 (11:58 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 21 Dec 2019 10:58:00 +0000 (11:58 +0100)
We fix the most often occuring typos according to a recent codespell
report[1] in tests, code comments and documentation.

[1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.

168 files changed:
EXTENSIONS
Zend/tests/try/try_catch_finally_006.phpt
Zend/tests/try/try_catch_finally_007.phpt
ext/date/tests/DateTimeZone_clone_basic2.phpt
ext/date/tests/DateTime_clone_basic2.phpt
ext/opcache/Optimizer/zend_ssa.c
ext/opcache/jit/libudis86/decode.c
ext/opcache/jit/zend_jit_x86.dasc
ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
ext/pdo_oci/tests/bug_33707.phpt
ext/pgsql/tests/bug71998.phpt
ext/reflection/tests/010.phpt
ext/reflection/tests/ReflectionClass_getConstant_basic.phpt
ext/reflection/tests/ReflectionClass_getMethod_001.phpt
ext/reflection/tests/ReflectionClass_getProperty_001.phpt
ext/reflection/tests/ReflectionClass_getProperty_003.phpt
ext/reflection/tests/ReflectionClass_getProperty_004.phpt
ext/reflection/tests/ReflectionClass_hasConstant_001.phpt
ext/reflection/tests/ReflectionClass_hasMethod_001.phpt
ext/reflection/tests/ReflectionClass_hasProperty_001.phpt
ext/reflection/tests/ReflectionObject_getConstant_basic.phpt
ext/reflection/tests/bug53366.phpt
ext/simplexml/tests/036.phpt
ext/simplexml/tests/sxe_005.phpt
ext/soap/tests/bugs/bug50698_1.phpt
ext/soap/tests/bugs/bug50698_2.phpt
ext/soap/tests/bugs/bug50698_3.phpt
ext/soap/tests/bugs/bug50698_4.phpt
ext/soap/tests/bugs/bug70469.phpt
ext/spl/tests/array_024.phpt
ext/spl/tests/dllist_008.phpt
ext/spl/tests/fixedarray_018.phpt
ext/spl/tests/fixedarray_019.phpt
ext/spl/tests/heap_010.phpt
ext/spl/tests/heap_011.phpt
ext/spl/tests/iterator_070.phpt
ext/standard/tests/array/array_chunk_basic1.phpt
ext/standard/tests/array/array_chunk_variation4.phpt
ext/standard/tests/array/array_combine_variation3.phpt
ext/standard/tests/array/array_diff_assoc_variation6.phpt
ext/standard/tests/array/array_intersect_assoc_variation1.phpt
ext/standard/tests/array/array_intersect_assoc_variation2.phpt
ext/standard/tests/array/array_intersect_assoc_variation3.phpt
ext/standard/tests/array/array_intersect_assoc_variation4.phpt
ext/standard/tests/array/array_intersect_assoc_variation5.phpt
ext/standard/tests/array/array_intersect_assoc_variation6.phpt
ext/standard/tests/array/array_intersect_assoc_variation7.phpt
ext/standard/tests/array/array_intersect_assoc_variation8.phpt
ext/standard/tests/array/array_intersect_variation1.phpt
ext/standard/tests/array/array_intersect_variation2.phpt
ext/standard/tests/array/array_intersect_variation3.phpt
ext/standard/tests/array/array_intersect_variation4.phpt
ext/standard/tests/array/array_intersect_variation5.phpt
ext/standard/tests/array/array_intersect_variation6.phpt
ext/standard/tests/array/array_intersect_variation7.phpt
ext/standard/tests/array/array_intersect_variation8.phpt
ext/standard/tests/array/array_map_variation3.phpt
ext/standard/tests/array/array_pad_variation6.phpt
ext/standard/tests/array/array_reverse_variation3.phpt
ext/standard/tests/array/array_unshift_variation3.phpt
ext/standard/tests/array/arsort_object1.phpt
ext/standard/tests/array/arsort_object2.phpt
ext/standard/tests/array/arsort_variation10.phpt
ext/standard/tests/array/arsort_variation3.phpt
ext/standard/tests/array/arsort_variation4.phpt
ext/standard/tests/array/arsort_variation5.phpt
ext/standard/tests/array/arsort_variation6.phpt
ext/standard/tests/array/arsort_variation7.phpt
ext/standard/tests/array/asort_object1.phpt
ext/standard/tests/array/asort_object2.phpt
ext/standard/tests/array/asort_variation10.phpt
ext/standard/tests/array/asort_variation3.phpt
ext/standard/tests/array/asort_variation4.phpt
ext/standard/tests/array/asort_variation5.phpt
ext/standard/tests/array/asort_variation6.phpt
ext/standard/tests/array/asort_variation7.phpt
ext/standard/tests/array/krsort_basic.phpt
ext/standard/tests/array/krsort_object.phpt
ext/standard/tests/array/krsort_variation10.phpt
ext/standard/tests/array/krsort_variation11.phpt
ext/standard/tests/array/krsort_variation3.phpt
ext/standard/tests/array/krsort_variation4.phpt
ext/standard/tests/array/krsort_variation5.phpt
ext/standard/tests/array/krsort_variation6.phpt
ext/standard/tests/array/krsort_variation7.phpt
ext/standard/tests/array/krsort_variation9.phpt
ext/standard/tests/array/ksort_basic.phpt
ext/standard/tests/array/ksort_object.phpt
ext/standard/tests/array/ksort_variation10.phpt
ext/standard/tests/array/ksort_variation11.phpt
ext/standard/tests/array/ksort_variation3.phpt
ext/standard/tests/array/ksort_variation4.phpt
ext/standard/tests/array/ksort_variation5.phpt
ext/standard/tests/array/ksort_variation6.phpt
ext/standard/tests/array/ksort_variation7.phpt
ext/standard/tests/array/ksort_variation9.phpt
ext/standard/tests/array/rsort_basic.phpt
ext/standard/tests/array/rsort_object1.phpt
ext/standard/tests/array/rsort_object2.phpt
ext/standard/tests/array/rsort_variation3.phpt
ext/standard/tests/array/rsort_variation4.phpt
ext/standard/tests/array/rsort_variation6.phpt
ext/standard/tests/array/rsort_variation7.phpt
ext/standard/tests/array/sort_basic.phpt
ext/standard/tests/array/sort_object1.phpt
ext/standard/tests/array/sort_object2.phpt
ext/standard/tests/array/sort_variation10.phpt
ext/standard/tests/array/sort_variation3.phpt
ext/standard/tests/array/sort_variation4.phpt
ext/standard/tests/array/sort_variation5.phpt
ext/standard/tests/array/sort_variation6.phpt
ext/standard/tests/array/sort_variation7.phpt
ext/standard/tests/array/sort_variation8.phpt
ext/standard/tests/array/sort_variation9.phpt
ext/standard/tests/dir/dir_variation3.phpt
ext/standard/tests/dir/opendir_variation7.phpt
ext/standard/tests/dir/readdir_variation5.phpt
ext/standard/tests/dir/scandir_variation7.phpt
ext/standard/tests/file/bug68335.phpt
ext/standard/tests/file/fgets_basic.phpt
ext/standard/tests/file/fgets_variation3.phpt
ext/standard/tests/file/fgets_variation4-win32-mb.phpt
ext/standard/tests/file/fgets_variation4-win32.phpt
ext/standard/tests/file/fgets_variation4.phpt
ext/standard/tests/file/fgets_variation5.phpt
ext/standard/tests/file/fgets_variation6-win32.phpt
ext/standard/tests/file/fgets_variation6.phpt
ext/standard/tests/file/fread_variation1.phpt
ext/standard/tests/file/fread_variation2.phpt
ext/standard/tests/file/fread_variation3-win32-mb.phpt
ext/standard/tests/file/fread_variation3-win32.phpt
ext/standard/tests/file/fread_variation3.phpt
ext/standard/tests/file/fread_variation4.phpt
ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt
ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt
ext/standard/tests/file/pathinfo_variaton.phpt
ext/standard/tests/file/stat_variation6-win32.phpt
ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt
ext/standard/tests/file/unlink_basic.phpt
ext/standard/tests/file/unlink_error-win32-mb.phpt
ext/standard/tests/file/unlink_error-win32.phpt
ext/standard/tests/file/unlink_error.phpt
ext/standard/tests/general_functions/debug_zval_dump_v.phpt
ext/standard/tests/general_functions/var_export-locale_32.phpt
ext/standard/tests/general_functions/var_export_basic1_32.phpt
ext/standard/tests/strings/bug70720.phpt
ext/standard/tests/strings/explode1.phpt
ext/standard/tests/strings/join_variation3.phpt
ext/standard/tests/strings/str_replace_variation3.phpt
ext/tokenizer/tests/token_get_all_basic.phpt
ext/tokenizer/tests/token_get_all_variation10.phpt
ext/tokenizer/tests/token_get_all_variation11.phpt
ext/tokenizer/tests/token_get_all_variation13.phpt
ext/tokenizer/tests/token_get_all_variation14.phpt
ext/tokenizer/tests/token_get_all_variation15.phpt
ext/tokenizer/tests/token_get_all_variation16.phpt
ext/tokenizer/tests/token_get_all_variation17.phpt
ext/tokenizer/tests/token_get_all_variation18.phpt
ext/tokenizer/tests/token_get_all_variation2.phpt
ext/tokenizer/tests/token_get_all_variation3.phpt
ext/tokenizer/tests/token_get_all_variation4.phpt
ext/tokenizer/tests/token_get_all_variation5.phpt
ext/tokenizer/tests/token_get_all_variation6.phpt
ext/tokenizer/tests/token_get_all_variation7.phpt
ext/tokenizer/tests/token_get_all_variation8.phpt
ext/tokenizer/tests/token_get_all_variation9.phpt
sapi/fuzzer/fuzzer-sapi.c
tests/output/ob_017.phpt

index 3edbff504c33370d96af05083b51836008b68769..82ef4d5d54f1a327dbc9fae764c8ca628771a495 100644 (file)
@@ -60,7 +60,7 @@ SINCE:               5.3
 -------------------------------------------------------------------------------
 EXTENSION:           phpdbg
 PRIMARY MAINTAINER:  Joe Watkins <krakjoe@php.net>, Bob Weinand <bwoebi@php.net>
-MAINTENANCE:         Unkown
+MAINTENANCE:         Unknown
 STATUS:              5.6
 -------------------------------------------------------------------------------
 
@@ -431,7 +431,7 @@ STATUS:              Working
 SINCE:               4.0.2
 -------------------------------------------------------------------------------
 EXTENSION:           readline
-PRIMARY MAINTAINER:  Unkown
+PRIMARY MAINTAINER:  Unknown
 MAINTENANCE:         Unknown
 STATUS:              Working
 -------------------------------------------------------------------------------
@@ -480,17 +480,17 @@ STATUS:              Working
 SINCE:               5.0.0
 -------------------------------------------------------------------------------
 EXTENSION:           sysvmsg
-PRIMARY MAINTAINER:  Unkown
+PRIMARY MAINTAINER:  Unknown
 MAINTENANCE:         Unknown
 STATUS:              Working
 -------------------------------------------------------------------------------
 EXTENSION:           sysvsem
-PRIMARY MAINTAINER:  Unkown
+PRIMARY MAINTAINER:  Unknown
 MAINTENANCE:         Unknown
 STATUS:              Working
 -------------------------------------------------------------------------------
 EXTENSION:           sysvshm
-PRIMARY MAINTAINER:  Unkown
+PRIMARY MAINTAINER:  Unknown
 MAINTENANCE:         Unknown
 STATUS:              Working
 -------------------------------------------------------------------------------
index d6466ab5a7188200dcd074425522efeced3c26c6..d8516028ec9bf7cc2357daa745df56136aea3e4f 100644 (file)
@@ -13,7 +13,7 @@ function foo($ex = NULL) {
             if ($ex) throw $ex;
         }
     } catch (Exception $e) {
-       var_dump("catched");
+       var_dump("caught");
        if ($ex) return "return1";
     } finally {
        var_dump("finally2");
@@ -34,6 +34,6 @@ string(8) "finally2"
 string(5) "label"
 string(7) "return2"
 string(8) "finally1"
-string(7) "catched"
+string(6) "caught"
 string(8) "finally2"
 string(7) "return1"
index 7c2d5ea1257b2d056e519bf946db5dfd8afbe511..1885f845e9c0b05268b3cb83f5356b2fe9d88d15 100644 (file)
@@ -20,7 +20,7 @@ function foo($ret = FALSE) {
     } catch (Exception $e) {
         goto local;
 local:
-        var_dump("catched");
+        var_dump("caught");
         if ($ret) return "return";
     } finally {
        var_dump("finally2");
@@ -36,11 +36,11 @@ var_dump(foo(true));
 ?>
 --EXPECT--
 string(8) "finally1"
-string(7) "catched"
+string(6) "caught"
 string(8) "finally2"
 string(5) "label"
 NULL
 string(8) "finally1"
-string(7) "catched"
+string(6) "caught"
 string(8) "finally2"
 string(6) "return"
index 050777d87c382e227c3390e3745182ba82c85c4b..bbda5fb4a22a8cbdce8c5b73cf7367800fb269af 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Testing clone on objects whoose class derived from DateTimeZone class
+Testing clone on objects whose class derived from DateTimeZone class
 --FILE--
 <?php
 //Set the default time zone
@@ -15,7 +15,7 @@ class DateTimeZoneExt2 extends DateTimeZoneExt1 {
        public $property4 = 10.5;
 }
 
-echo "*** Testing clone on objects whoose class derived from DateTimeZone class ***\n";
+echo "*** Testing clone on objects whose class derived from DateTimeZone class ***\n";
 
 $d1 = new DateTimeZoneExt1("Europe/London");
 var_dump($d1);
@@ -29,7 +29,7 @@ var_dump($d2_clone);
 
 ?>
 --EXPECTF--
-*** Testing clone on objects whoose class derived from DateTimeZone class ***
+*** Testing clone on objects whose class derived from DateTimeZone class ***
 object(DateTimeZoneExt1)#%d (4) {
   ["property1"]=>
   int(99)
index e0abaa21f5d61d9accf39ab315d81209109127a4..944b74abcba7de5dca674f53e774135c358094c7 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test clone of objects whoose class derived from DateTime class
+Test clone of objects whose class derived from DateTime class
 --FILE--
 <?php
 //Set the default time zone
@@ -16,7 +16,7 @@ class DateTimeExt2 extends DateTimeExt1 {
        public $property4 = 10.5;
 }
 
-echo "*** Testing clone on objects whoose class derived from DateTime class ***\n";
+echo "*** Testing clone on objects whose class derived from DateTime class ***\n";
 
 $d1 = new DateTimeExt1("2009-02-03 12:34:41 GMT");
 var_dump($d1);
@@ -29,7 +29,7 @@ $d2_clone = clone $d2;
 var_dump($d2_clone);
 ?>
 --EXPECTF--
-*** Testing clone on objects whoose class derived from DateTime class ***
+*** Testing clone on objects whose class derived from DateTime class ***
 object(DateTimeExt1)#%d (5) {
   ["property1"]=>
   int(99)
index 14d88bc39b04f37090f493e2e4908b1b98161449..ea04a422bcd3e5ba53d28124708538ef7b650e4a 100644 (file)
@@ -54,7 +54,7 @@ static zend_bool needs_pi(const zend_op_array *op_array, zend_dfg *dfg, zend_ssa
                return 0;
        }
 
-       /* Make sure that both sucessors of the from block aren't the same. Pi nodes are associated
+       /* Make sure that both successors of the from block aren't the same. Pi nodes are associated
         * with predecessor blocks, so we can't distinguish which edge the pi belongs to. */
        from_block = &ssa->cfg.blocks[from];
        ZEND_ASSERT(from_block->successors_count == 2);
index 036b9ed01291dad0737f5d96b04700c24b9af9c8..1c97d280d98e54eac09bd1a335fb1711f0e60a3c 100644 (file)
@@ -889,7 +889,7 @@ decode_operand(struct ud           *u,
 /* 
  * decode_operands
  *
- *    Disassemble upto 3 operands of the current instruction being
+ *    Disassemble up to 3 operands of the current instruction being
  *    disassembled. By the end of the function, the operand fields
  *    of the ud structure will have been filled.
  */
index 003c326ff62307d511597c1c5a71fc9e511b2e71..0c2ba37a23eb78c6e140bfad073ad3f0807e2351 100644 (file)
@@ -8852,7 +8852,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) {
-                       /* propery offests may be changed by inheritance */
+                       /* property offests may be changed by inheritance */
                        return ZEND_WRONG_PROPERTY_OFFSET;
                } else {
                        zend_class_entry *parent = ce->parent;
index 37dda2c0f52a1e28ad543cd07770162e5ca5c2dc..d0a889a6d4dfd4e507435621a16b59b5fdb5ef7c 100644 (file)
@@ -16,7 +16,7 @@ MySQLPDOTest::skip();
                class myclass implements Serializable {
 
                        private static $instance = null;
-                       protected $myprotected = 'a protected propery';
+                       protected $myprotected = 'a protected property';
 
                        // Good old magic stuff
                        private function __construct($caller = NULL) {
@@ -129,14 +129,14 @@ Unserializing the previously serialized object...
 myclass::unserialize('Data from serialize')
 object(myclass)#4 (1) {
   ["myprotected":protected]=>
-  string(19) "a protected propery"
+  string(20) "a protected property"
 }
 
 Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it...
 myclass::unserialize('C:7:"myclass":19:{Data from serialize}')
 object(myclass)#%d (1) {
   ["myprotected":protected]=>
-  string(19) "a protected propery"
+  string(20) "a protected property"
 }
 
 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
@@ -144,7 +144,7 @@ myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
 myclass::__construct(PDO shall call __construct())
 object(myclass)#%d (2) {
   ["myprotected":protected]=>
-  string(19) "a protected propery"
+  string(20) "a protected property"
   ["myobj"]=>
   string(38) "C:7:"myclass":19:{Data from serialize}"
 }
index 9b682cac95c687eeb93f9b4fa0cf0afafe69ea4d..7765d36343a64b1190b7738f8fec0007fff60bb0 100644 (file)
@@ -12,7 +12,7 @@ require 'ext/pdo/tests/pdo_test.inc';
 $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
 
-$rs = $db->query('select blah from a_table_that_doesnt_exist');
+$rs = $db->query('select blah from a_table_that_does_not_exist');
 var_dump($rs);
 var_dump($db->errorInfo());
 --EXPECTF--
index 0aed3afa0ecb5604e4d1ece47b5f4b240822ccd8..01d295e3e8c7a7264f23155370969f7b4fec86a9 100644 (file)
@@ -70,7 +70,7 @@ $r = pg_query($db, "SELECT * FROM tmp_statistics");
 while (false != ($row = pg_fetch_row($r))) {
        var_dump($row);
 }
-echo $errors, " errors catched\n";
+echo $errors, " errors caught\n";
 
 pg_query($db, "DROP TABLE tmp_statistics");
 pg_close($db);
@@ -191,4 +191,4 @@ array(2) {
   [1]=>
   string(19) "2001:4f8:3:ba::/112"
 }
-7 errors catched
+7 errors caught
index 8345dc35bf9035f8afc1c05875634fc40a93ffdc..ae667b65ab911ecbcad85398e8f12751864e9b2b 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-ReflectionMethod::__toString() tests (overriden method)
+ReflectionMethod::__toString() tests (overridden method)
 --FILE--
 <?php
 class Foo {
index cbed1252fa2bc72e14e39ac828235f865bdc2217..59031a26ee7957e54d66220a856553dc7b5fb84a 100644 (file)
@@ -20,7 +20,7 @@ foreach($classes as $class) {
        echo "Reflecting on class $class: \n";
        $rc = new ReflectionClass($class);
        var_dump($rc->getConstant('a'));
-       var_dump($rc->getConstant('doesntexist'));
+       var_dump($rc->getConstant('doesnotexist'));
 }
 ?>
 --EXPECT--
index 59887991ecf3e0c493b67abff3e0744c99cb6508..e2a4eb9903ca6687b209073e01d996b990d6ea8f 100644 (file)
@@ -37,9 +37,9 @@ foreach($classes as $class) {
        var_dump($rc->getMethod("s"));
        echo "  --> Check for F(): ";
        var_dump($rc->getMethod("F"));
-       echo "  --> Check for doesntExist(): ";
+       echo "  --> Check for doesNotExist(): ";
        try {
-               var_dump($rc->getMethod("doesntExist"));
+               var_dump($rc->getMethod("doesNotExist"));
        } catch (Exception $e) {
                echo $e->getMessage() . "\n";
        }
@@ -65,7 +65,7 @@ Reflecting on class pubf:
   ["class"]=>
   string(4) "pubf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
 Reflecting on class subpubf: 
   --> Check for f(): object(ReflectionMethod)#%d (2) {
   ["name"]=>
@@ -85,7 +85,7 @@ Reflecting on class subpubf:
   ["class"]=>
   string(4) "pubf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
 Reflecting on class protf: 
   --> Check for f(): object(ReflectionMethod)#%d (2) {
   ["name"]=>
@@ -105,7 +105,7 @@ Reflecting on class protf:
   ["class"]=>
   string(5) "protf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
 Reflecting on class subprotf: 
   --> Check for f(): object(ReflectionMethod)#%d (2) {
   ["name"]=>
@@ -125,7 +125,7 @@ Reflecting on class subprotf:
   ["class"]=>
   string(5) "protf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
 Reflecting on class privf: 
   --> Check for f(): object(ReflectionMethod)#%d (2) {
   ["name"]=>
@@ -145,7 +145,7 @@ Reflecting on class privf:
   ["class"]=>
   string(5) "privf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
 Reflecting on class subprivf: 
   --> Check for f(): object(ReflectionMethod)#%d (2) {
   ["name"]=>
@@ -165,4 +165,4 @@ Reflecting on class subprivf:
   ["class"]=>
   string(5) "privf"
 }
-  --> Check for doesntExist(): Method doesntExist does not exist
+  --> Check for doesNotExist(): Method doesNotExist does not exist
index 830608e0ca47c2de421af771c4ad5fa9365caa6c..b69d51eb00b5126350bf0179abba0006fbbc6305 100644 (file)
@@ -50,8 +50,8 @@ foreach($classes as $class) {
                echo $e->getMessage() . "\n";
        }
        try {
-               echo "  --> Check for doesntExist: ";
-               var_dump($rc->getProperty("doesntExist"));
+               echo "  --> Check for doesNotExist: ";
+               var_dump($rc->getProperty("doesNotExist"));
        } catch (exception $e) {
                echo $e->getMessage() . "\n";
        }
@@ -73,7 +73,7 @@ Reflecting on class pubf:
   string(4) "pubf"
 }
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
 Reflecting on class subpubf: 
   --> Check for s: object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -88,7 +88,7 @@ Reflecting on class subpubf:
   string(4) "pubf"
 }
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
 Reflecting on class protf: 
   --> Check for s: object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -103,7 +103,7 @@ Reflecting on class protf:
   string(5) "protf"
 }
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
 Reflecting on class subprotf: 
   --> Check for s: object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -118,7 +118,7 @@ Reflecting on class subprotf:
   string(5) "protf"
 }
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
 Reflecting on class privf: 
   --> Check for s: object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -133,7 +133,7 @@ Reflecting on class privf:
   string(5) "privf"
 }
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
 Reflecting on class subprivf: 
   --> Check for s: object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -143,4 +143,4 @@ Reflecting on class subprivf:
 }
   --> Check for a: Property a does not exist
   --> Check for A: Property A does not exist
-  --> Check for doesntExist: Property doesntExist does not exist
+  --> Check for doesNotExist: Property doesNotExist does not exist
index 61d63362dc7abb7887efa9668b76afc4d491300c..7011a0912cf736e543448676824882e7b0fdb740 100644 (file)
@@ -70,7 +70,7 @@ showInfo("privB");
 showInfo("pubC");
 showInfo("protC");
 showInfo("privC");
-showInfo("doesntExist");
+showInfo("doesNotExist");
 
 showInfo("A::pubC");
 showInfo("A::protC");
@@ -89,9 +89,9 @@ showInfo("C::privC");
 showInfo("X::pubC");
 showInfo("X::protC");
 showInfo("X::privC");
-showInfo("X::doesntExist");
+showInfo("X::doesNotExist");
 
-showInfo("doesntexist::doesntExist");
+showInfo("doesNotexist::doesNotExist");
 
 ?>
 --EXPECTF--
@@ -155,8 +155,8 @@ object(ReflectionProperty)#%d (2) {
   string(1) "C"
 }
 Cannot access non-public member C::$privC
---- (Reflecting on doesntExist) ---
-Property doesntExist does not exist
+--- (Reflecting on doesNotExist) ---
+Property doesNotExist does not exist
 --- (Reflecting on A::pubC) ---
 object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -245,7 +245,7 @@ Fully qualified property name X::pubC does not specify a base class of C
 Fully qualified property name X::protC does not specify a base class of C
 --- (Reflecting on X::privC) ---
 Fully qualified property name X::privC does not specify a base class of C
---- (Reflecting on X::doesntExist) ---
-Fully qualified property name X::doesntExist does not specify a base class of C
---- (Reflecting on doesntexist::doesntExist) ---
-Class doesntexist does not exist
+--- (Reflecting on X::doesNotExist) ---
+Fully qualified property name X::doesNotExist does not specify a base class of C
+--- (Reflecting on doesNotexist::doesNotExist) ---
+Class doesnotexist does not exist
index ce2aa57871d3e806ac89320a98d529b8f645e837..95f821e4726dadd80df16cd8ef631569b161e1b0 100644 (file)
@@ -70,7 +70,7 @@ showInfo("privB");
 showInfo("pubC");
 showInfo("protC");
 showInfo("privC");
-showInfo("doesntExist");
+showInfo("doesNotExist");
 
 showInfo("A::pubC");
 showInfo("A::protC");
@@ -89,9 +89,9 @@ showInfo("C::privC");
 showInfo("X::pubC");
 showInfo("X::protC");
 showInfo("X::privC");
-showInfo("X::doesntExist");
+showInfo("X::doesNotExist");
 
-showInfo("doesntexist::doesntExist");
+showInfo("doesNotexist::doesNotExist");
 
 ?>
 --EXPECTF--
@@ -155,8 +155,8 @@ object(ReflectionProperty)#%d (2) {
   string(1) "C"
 }
 Cannot access non-public member C::$privC
---- (Reflecting on doesntExist) ---
-Property doesntExist does not exist
+--- (Reflecting on doesNotExist) ---
+Property doesNotExist does not exist
 --- (Reflecting on A::pubC) ---
 object(ReflectionProperty)#%d (2) {
   ["name"]=>
@@ -245,7 +245,7 @@ Fully qualified property name X::pubC does not specify a base class of C
 Fully qualified property name X::protC does not specify a base class of C
 --- (Reflecting on X::privC) ---
 Fully qualified property name X::privC does not specify a base class of C
---- (Reflecting on X::doesntExist) ---
-Fully qualified property name X::doesntExist does not specify a base class of C
---- (Reflecting on doesntexist::doesntExist) ---
-Class doesntexist does not exist
+--- (Reflecting on X::doesNotExist) ---
+Fully qualified property name X::doesNotExist does not specify a base class of C
+--- (Reflecting on doesNotexist::doesNotExist) ---
+Class doesnotexist does not exist
index 84e334ba19ea2dd115ca8222d4914568165ee89c..22ef1f50c5f3da91ec1545c63adef671b30b8ba2 100644 (file)
@@ -19,14 +19,14 @@ var_dump($rc->hasConstant("myConst"));
 echo "Check existing constant, different case: ";
 var_dump($rc->hasConstant("MyCoNsT"));
 echo "Check absent constant: ";
-var_dump($rc->hasConstant("doesntExist"));
+var_dump($rc->hasConstant("doesNotExist"));
 
 
 $rd = new ReflectionClass("D");
 echo "Check inherited constant: ";
 var_dump($rd->hasConstant("myConst"));
 echo "Check absent constant: ";
-var_dump($rd->hasConstant("doesntExist"));
+var_dump($rd->hasConstant("doesNotExist"));
 ?>
 --EXPECT--
 Check existing constant: bool(true)
index dec76febe16a3344f5d67aa8ec10d18d95d2ef5b..bf2a3c9bb51b1399988a327c3cafd01b54754fb5 100644 (file)
@@ -37,8 +37,8 @@ foreach($classes as $class) {
        var_dump($rc->hasMethod("s"));
        echo "  --> Check for F(): ";
        var_dump($rc->hasMethod("F"));
-       echo "  --> Check for doesntExist(): ";
-       var_dump($rc->hasMethod("doesntExist"));
+       echo "  --> Check for doesNotExist(): ";
+       var_dump($rc->hasMethod("doesNotExist"));
 }
 ?>
 --EXPECT--
@@ -46,30 +46,30 @@ Reflecting on class pubf:
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
 Reflecting on class subpubf: 
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
 Reflecting on class protf: 
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
 Reflecting on class subprotf: 
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
 Reflecting on class privf: 
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
 Reflecting on class subprivf: 
   --> Check for f(): bool(true)
   --> Check for s(): bool(true)
   --> Check for F(): bool(true)
-  --> Check for doesntExist(): bool(false)
+  --> Check for doesNotExist(): bool(false)
   
index a6c3753a78ec4d5d9b81772a1786c8bd8eb59173..6abf392eae80ff43dbb5f2e88dbd21bc639d115a 100644 (file)
@@ -37,8 +37,8 @@ foreach($classes as $class) {
        var_dump($rc->hasProperty("a"));
        echo "  --> Check for A: ";
        var_dump($rc->hasProperty("A"));
-       echo "  --> Check for doesntExist: ";
-       var_dump($rc->hasProperty("doesntExist"));
+       echo "  --> Check for doesNotExist: ";
+       var_dump($rc->hasProperty("doesNotExist"));
 }
 ?>
 --EXPECT--
@@ -46,29 +46,29 @@ Reflecting on class pubf:
   --> Check for s: bool(true)
   --> Check for a: bool(true)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
 Reflecting on class subpubf: 
   --> Check for s: bool(true)
   --> Check for a: bool(true)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
 Reflecting on class protf: 
   --> Check for s: bool(true)
   --> Check for a: bool(true)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
 Reflecting on class subprotf: 
   --> Check for s: bool(true)
   --> Check for a: bool(true)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
 Reflecting on class privf: 
   --> Check for s: bool(true)
   --> Check for a: bool(true)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
 Reflecting on class subprivf: 
   --> Check for s: bool(true)
   --> Check for a: bool(false)
   --> Check for A: bool(false)
-  --> Check for doesntExist: bool(false)
+  --> Check for doesNotExist: bool(false)
index 7f9bc1f35c95494f0a3ec2c3c570decb85504494..9e61ee90da84caa2b5849e026b8d01b9870b2a88 100644 (file)
@@ -20,7 +20,7 @@ foreach($classes as $class) {
        echo "Reflecting on instance of class $class: \n";
        $rc = new ReflectionObject(new $class);
        var_dump($rc->getConstant('a'));
-       var_dump($rc->getConstant('doesntexist'));
+       var_dump($rc->getConstant('doesNotexist'));
 }
 ?>
 --EXPECT--
index 5fb119d82030b29ebfc401810efc2b02eba67129..61493d53020a5bf534b9eea605eafe2759b55f49 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #53366 (Reflection doesnt get dynamic property value from getProperty())
+Bug #53366 (Reflection doesn't get dynamic property value from getProperty())
 --FILE--
 <?php
 
index 5c2d688defdffb61317f22cd39dc745c3550df21..acd67c01c61e83bb9745c361aec823d5db894050 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SimpleXML: overriden count() method
+SimpleXML: overridden count() method
 --SKIPIF--
 <?php if (!extension_loaded("simplexml")) print "skip"; ?>
 --FILE--
index 2c7aedf4d16e648dbef25f65bc447cfa964330d5..e1714489d3435f08a0febd7d4bbc9dbf062d1fa1 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: SimpleXMLIterator and overriden count()
+SPL: SimpleXMLIterator and overridden count()
 --SKIPIF--
 <?php
 if (!extension_loaded('simplexml')) print 'skip';
index 6f97b62e06130f65662617bbb359e9a2e2ad2804..064ef1eea8858002b9d1432b89bd2a4c46b96eb8 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Request #50698_1 (SoapClient should handle wsdls with some incompatiable endpoints)
+Request #50698_1 (SoapClient should handle wsdls with some incompatible endpoints)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 --INI--
index 994d78dce93dee31297dad436375716346dea7ee..ac2214e8306d34e27869f688f67d34b29faab4e1 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Request #50698_2 (SoapClient should handle wsdls with some incompatiable endpoints -- EDGECASE: Large mix of compatible and incompatiable endpoints.)
+Request #50698_2 (SoapClient should handle wsdls with some incompatible endpoints -- EDGECASE: Large mix of compatible and incompatible endpoints.)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 --INI--
index c2f66a16184ff890c2991ce16b1c80dfcc2af9d0..b29ab2b9c8e17a02b15c314453e64d3f88719031 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Request #50698_3 (SoapClient should handle wsdls with some incompatiable endpoints -- EDGECASE: Large set of endpoints all incompatiable.)
+Request #50698_3 (SoapClient should handle wsdls with some incompatible endpoints -- EDGECASE: Large set of endpoints all incompatible.)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 --INI--
index 6240d118924fdef10005426516d20cd484da8960..aea3204661cda2c559e8a7ae38bddb39feee31a6 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Request #50698_4 (SoapClient should handle wsdls with some incompatiable endpoints)
+Request #50698_4 (SoapClient should handle wsdls with some incompatible endpoints)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 --INI--
index 1186cc003f4f33eeee255c8883f244d765b31dd3..b3f4ba01a79eea4b5ee467222a97eca29fa58135 100644 (file)
@@ -7,7 +7,7 @@ Bug #70469 (SoapClient should not generate E_ERROR if exceptions enabled)
 try {
     $x = new SoapClient('http://i_dont_exist.com/some.wsdl');
 } catch (SoapFault $e) {
-    echo "catched\n";
+    echo "caught\n";
 }
 
 $error = error_get_last();
@@ -16,5 +16,5 @@ if ($error === null) {
 }
 ?>
 --EXPECT--
-catched
+caught
 ok
index 0c073bfe7831a4ef71eb2c3e2c167453f77657cb..6223b8072eec546186761c7f8f0e13644b89e3ac 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: ArrayObject with overriden count()
+SPL: ArrayObject with overridden count()
 --FILE--
 <?php
 $obj = new ArrayObject(array(1,2));
index ab37d83afa244a890864414f385af90ab1e27c4e..114b50c4f5c28167e0b60d108cd6bd8e08c9502d 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: SplDoublyLinkedList with overriden count()
+SPL: SplDoublyLinkedList with overridden count()
 --FILE--
 <?php
 $obj = new SplDoublyLinkedList();
index 84ab1091953b9372fdc3533eac0dd5c1529b5b1f..aa02fb5de15096f968562f305d5f675b2b0c434c 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: FixedArray: overriden count()
+SPL: FixedArray: overridden count()
 --FILE--
 <?php
 $obj = new SplFixedArray(2);
index f28edfda413b396e4b39191ca6a59f60a1fc73a5..9414e97304505be8779a3014272020c06a660e62 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: FixedArray: overriden iterator methods
+SPL: FixedArray: overridden iterator methods
 --FILE--
 <?php
 class SplFixedArray2 extends SplFixedArray {
index 8c7d8d5c96ca2790123b0d5bc7f8500b29b3132d..81e71c239852dab089d2cad17f99fece210c7a28 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: SplHeap with overriden count()
+SPL: SplHeap with overridden count()
 --FILE--
 <?php
 $obj = new SplMaxHeap();
index 1689abfae1a34ba17697c34ec818044dec2834bb..fae62585b0ebe7f33223d317aaf9ac1c4f8a9d2a 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: SplHeap with overriden compare()
+SPL: SplHeap with overridden compare()
 --FILE--
 <?php
 class SplMinHeap2 extends SplMinHeap {
index 681e327523509ccb7de39aca458d6e1cde7583ea..94dea30db56990c512171243bf322223b943e46a 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-SPL: RecursiveIteratorIterator - Ensure that non-overriden methods execute problem free.
+SPL: RecursiveIteratorIterator - Ensure that non-overridden methods execute problem free.
 --FILE--
 <?php
 
index b84b0871f42d8bc73b7a32252ba27279bec5e9c1..63236b2dfec2353f8c4246450db6b5063abb8d00 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test array_chunk() function : basic functionality - defualt 'preserve_keys'
+Test array_chunk() function : basic functionality - default 'preserve_keys'
 --FILE--
 <?php
 /* Prototype  : array array_chunk(array $array, int $size [, bool $preserve_keys])
index d82f9fcc5f2270d222f5a1e1ba868f8aa534d956..2396e022f4416b2fa902aae08c365e25a3639ea2 100644 (file)
@@ -23,7 +23,7 @@ $input_array = array (
   "array3" =>  array(1)
 );
 
-echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as defualt --\n";
+echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as default --\n";
 var_dump( array_chunk($input_array, $size) );
 
 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = true --\n";
@@ -37,7 +37,7 @@ echo "Done";
 --EXPECT--
 *** Testing array_chunk() : usage variations ***
 
--- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as defualt --
+-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as default --
 array(2) {
   [0]=>
   array(2) {
index ba349c392176b2bb6180a5308441f3cd996e8f5d..23b5017570c9582677c76b2adbc2c2ad37b084df 100644 (file)
@@ -69,7 +69,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index 2ea2c461c621e0907b9b7e066b88d885449220d2..bfbb0582ea2266ac68362d71f95b02f189af7816 100644 (file)
@@ -51,7 +51,7 @@ $inputs = array (
                  '1' => 1,
                  '0' => 0),
 
-//defualt keys => float values
+//default keys => float values
 /*7*/  array(2.00000000000001, 1.00, 0.01E-9),
 
 //numeric keys => float values
index 3490c4f25cdc2f9d4877c4136752e12bec78b932..f4de4c68e71befccadc1d9856d055bec0e11cf21 100644 (file)
@@ -90,7 +90,7 @@ $arrays = array(
 /*24*/ $fp
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $unexpected_value) {
     echo "\n-- Iteration $iterator --";
index 12cf4d73079c3575c7ef4dfe05ff2d84f8dd2019..e3d12cd90d8241768e34f9e4ae9738f76dbef9b7 100644 (file)
@@ -90,7 +90,7 @@ $arrays = array(
 /*24*/ $fp
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $unexpected_value) {
     echo "\n-- Iteration $iterator --";
index 44eaf4d4103cdc0b6320f47fa362b5cbf4453abe..5b3578430d9c6d0d1bfd187b7e96371e255e46ca 100644 (file)
@@ -71,7 +71,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
@@ -85,7 +85,7 @@ $arr2 = array (
   '', null => "null", '' => 'emptys', "emptyd" => "",
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iteration $iterator --\n";
index df3cbfbcd7813fbf0fbb1052124dff6535ce153b..17654feb75e74e8d59fe32c57364df4c5dbdc94a 100644 (file)
@@ -80,11 +80,11 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iteration $iterator --\n";
index 3a86aa9466c595ee5caee663e8745750217696ab..104e6e7f2651317f286d6b75d5f3d40fb7f50eed 100644 (file)
@@ -63,7 +63,7 @@ $arr2 = array(0 => 0, 2 => "float", 4 => "f3", 33333333 => "f4",
               "\tHello" => 111, 2.2, 'color', "Hello world" => "string",
               "pen\n" => 33,  133 => "int");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iteration $iterator --\n";
index e40f56bed002957895bd4469373be2411a7d8f89..fcbdd70a3c805244cc206fef96b61090b8f813a2 100644 (file)
@@ -63,7 +63,7 @@ $arr1 = array(0 => 0, 2 => "float", 4 => "f3", 33333333 => "f4",
               "\tHello" => 111, 2.2, 'color', "Hello world" => "string",
               "pen\n" => 33, 133 => "int");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iteration $iterator --\n";
index ca803e50a962b516e3dc42b3703a87b5285d2fa3..a77a59c04bb3fb5b0bfc20ba36132ad557555781 100644 (file)
@@ -71,7 +71,7 @@ $arr2 = array(0 => "0", 1, "two" => 2, "float" => 2.3333, "f1" => 1.2,
               "heredoc" => "Hello world", 11 => new classA(), "resource" => $fp,
               "int" => 133, 222 => "fruit");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iteration $iterator --\n";
index a287f4742ff3c1753739fe975f429b8c11602d74..68868c44cfe72799610edbd28eb6361eb551a2ec 100644 (file)
@@ -71,7 +71,7 @@ $arr1 = array(0 => "0", 1, "two" => 2, "float" => 2.3333, "f1" => 1.2,
               "heredoc" => "Hello world", 11 => new classA(), "resource" => $fp,
               "int" => 133, 222 => "fruit");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc()
+// loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iteration $iterator --\n";
index d38a284496d89af13b3411d87d451f0d2c38076d..f0b1144ed3cf396926e62038987832a41c31f8ba 100644 (file)
@@ -89,7 +89,7 @@ $arrays = array(
 /*24*/ $fp
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $unexpected_value) {
     echo "\n-- Iterator $iterator --";
index 08f6c9bb4894228171b0443297b52a49f77e81e7..dae028898c2c25cd731a072792e7fce16e126450 100644 (file)
@@ -89,7 +89,7 @@ $arrays = array(
 /*24*/ $fp
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $unexpected_value) {
     echo "\n-- Iterator $iterator --";
index e6d22405ba8bef355618fc87eff5d7c6a521b35a..de831a903e7d9eb4aedf1c37c83332a6ef6ed13d 100644 (file)
@@ -70,7 +70,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
@@ -84,7 +84,7 @@ $arr2 = array (
   '', null => "null", '' => 'emptys'
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iterator $iterator --\n";
index e019e4ef3ef9a197daa245edc6eef236c247a5c8..dfbfdbe2f905e2dcbcfc81655c426f8a8159a400 100644 (file)
@@ -79,11 +79,11 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iteration $iterator --\n";
index 6626c68de28e3e068e44682d4f2457159bd01e1b..a500498394f3749ddfa8545d9ff75d55fa42aaf7 100644 (file)
@@ -60,7 +60,7 @@ $arrays = array (
 // array to be passsed to $arr2 argument
 $arr2 = array(1, "float", "f4", "hello", 2.2, 'color', "string", "pen\n", 11);
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iterator $iterator --\n";
index e605b86bd13710cb072d2d557804a5e8fbd7347c..faa66fe1ee03f8b48fea26d563f86065068f1b99 100644 (file)
@@ -60,7 +60,7 @@ $arrays = array (
 // array to be passsed to $arr1 argument
 $arr1 = array(1, "float", "f4", "hello", 2.2, 'color', "string", "pen\n", 11);
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iterator $iterator --\n";
index 4da1b9b7aca4fce74a3caa4d418006faee217ee2..818bc1daf9dbe9786b2f0b823015367b39243701 100644 (file)
@@ -68,7 +68,7 @@ $arrays = array (
 $arr2 = array(1, 2, 1.2, 2.3333, "col\tor", '\v\fworld', $fp,
               "Hello world", $heredoc, new classA(), 444.432, "fruit");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr1) {
   echo "-- Iterator $iterator --\n";
index 2934fe09a4e8b9fb58ddb0ec7f17e9fb8a47be8b..6144cfde299588c7bbd1c12799d8eed05542a47b 100644 (file)
@@ -68,7 +68,7 @@ $arrays = array (
 $arr1 = array(1, 2, 1.2, 2.3333, "col\tor", '\v\fworld', $fp,
               "Hello world", $heredoc, new classA(), 444.432, "fruit");
 
-// loop through each sub-array within $arrrays to check the behavior of array_intersect()
+// loop through each sub-array within $arrays to check the behavior of array_intersect()
 $iterator = 1;
 foreach($arrays as $arr2) {
   echo "-- Iterator $iterator --\n";
index 3e8bfea962972d40fad95297632368a99728a6b6..c37925c05e52c9af2b3d62672d9f2b2df75dff73 100644 (file)
@@ -42,7 +42,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*18*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index 1ef1ef067c6b83172f1558ea70c82bf074da7849..f4d92abcfce20ce718fbf1d09e3e8a162a958544 100644 (file)
@@ -71,7 +71,7 @@ $inputs = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*19*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index a5ef1e0d2bd9482d2417e17a86dbea29cbe400c7..750071969333616fa00947362b976bdf2faa1eb3 100644 (file)
@@ -57,7 +57,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*18*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index 3c0e0a34000fbee6d4e4c08cadcbcfe61049f30d..0138e0bf704b4033a7aa590102cf55e7820601e7 100644 (file)
@@ -41,7 +41,7 @@ $arrays = array (
        array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
        array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-       // array with repetative keys
+       // array with repetitive keys
 /*18*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index 6a1edfd8b56aaaf8b3e41c00b61dd559cdc39e2d..bdbec46179aa18c4a081d492ba9502cf6d46960a 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : object functionality - sort objects
 
 /*
  * testing arsort() by providing integer/string object arrays with following flag values
- * 1. Defualt flag value
+ * 1. Default flag value
  * 2. SORT_REGULAR - compare items normally
 */
 
@@ -59,14 +59,14 @@ $unsorted_str_obj = array (
 );
 
 
-echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing arsort() function by supplying integer object array, flag value is defualt
+// testing arsort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(arsort($temp_array) );
 var_dump($temp_array);
 
-// testing arsort() function by supplying string object array, flag value is defualt
+// testing arsort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(arsort($temp_array) );
 var_dump($temp_array);
index 6e252bc88bd4a42ca8332ab5fdc2d80b482d4a1a..5ad85571fd117fc1c54d0731ad6a33b2c63ff767 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : object functionality - sorting objects with diff. acces
 
 /*
  * testing arsort() by providing integer/string object arrays with following flag values
- * 1. Defualt flag value
+ * 1. Default flag value
    2. SORT_REGULAR - compare items normally
 */
 
index 67a0499aa34fc51613d1553c3c9ba961dc2849fc..058b3310108e7396194b0ec8d0e01e50348bc882 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort octal values
 
 /*
  * testing arsort() by providing different octal array for $array argument with following flag values
- * 1.flag value as defualt
+ * 1.flag value as default
  * 2.SORT_REGULAR - compare items normally
  * 3.SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_oct_array = array (
    077 => 077, -066 => -066, -0345 => -0345, 0 => 0
 );
 
-echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_oct_array;
 var_dump( arsort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing arsort() : usage variations ***
 
--- Testing arsort() by supplying octal value array, 'flag' value is defualt  --
+-- Testing arsort() by supplying octal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [669]=>
index 9f8d47f47cace3ef3bf92ebc6e42724f69033755..9981f7a984d17eb30429c4e9e6ae8938a39d33bd 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort integer/float values
 
 /*
  * Testing arsort() by providing different integer/float value arrays for $array argument with following values
- * 1. flag value as defualt
+ * 1. flag value as default
  * 2. SORT_REGULAR - compare items normally
  * 3. SORT_NUMERIC - compare items numerically
 */
index fa939472b934788cb6ea527f855a34895259d373..3852989bb5c3d7c0b69bed57178742f166a99da0 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort reference variables
 
 /*
  * Testing arsort() by providing reference variable array with following flag values
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_NUMERIC - compare items numerically
 */
@@ -24,7 +24,7 @@ $value3 = 555;
 // an array containing integer references
 $unsorted_numerics =  array( 1 => &$value1 , 2 => &$value2, 3 => &$value3);
 
-echo "\n-- Testing arsort() by supplying reference variable array, 'flag' value is defualt --\n";
+echo "\n-- Testing arsort() by supplying reference variable array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( arsort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing arsort() :usage variations  ***
 
--- Testing arsort() by supplying reference variable array, 'flag' value is defualt --
+-- Testing arsort() by supplying reference variable array, 'flag' value is default --
 bool(true)
 array(3) {
   [3]=>
index 15a83954812497925bf339c642ae2b5d5dc14c45..42062e937dbd9a9b18d5c6fe4e18116db1ebd7cb 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort strings
 
 /*
  * testing arsort() by providing different string arrays for $array argument with following flag values
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_STRING  - compare items as strings
 */
index 058a5077b1b04e4129f80071f2f001bec170f65f..10825d1f081916e5e115ad4dae0c47975ae92a58 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort hexadecimal values
 
 /*
  * testing arsort() by providing different hexa-decimal array for $array argument with following flag values
- * flag value as defualt
+ * flag value as default
  * SORT_REGULAR - compare items normally
  * SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_hex_array = array ( 0x1AB => 0x1AB, 0xFFF => 0xFFF, 0xF => 0xF, 0xFF =
                               0x1ab => 0x1ab, 0xff => 0xff, -0xff => -0xFF, 0 => 0, -0x2aa => -0x2aa
                             );
 
-echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(arsort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing arsort() : usage variations ***
 
--- Testing arsort() by supplying hexadecimal value array, 'flag' value is defualt  --
+-- Testing arsort() by supplying hexadecimal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [4095]=>
index 3c8b6206c2c30abae9c3615e296fbc69be20ef52..929b441d1526002f4ceb454e9de26fd942e2a765 100644 (file)
@@ -10,7 +10,7 @@ Test arsort() function : usage variations - sort bool values
 
 /*
  * testing arsort() by providing bool value array for $array argument with following flag values.
- * flag value as defualt
+ * flag value as default
  * SORT_REGULAR - compare items normally
 */
 
@@ -19,7 +19,7 @@ echo "*** Testing arsort() : usage variations ***\n";
 // bool value array
 $bool_values = array (1 => true, 2 => false, 3 => TRUE, 4 => FALSE);
 
-echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is defualt --\n";
+echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(arsort($temp_array) );
 var_dump($temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing arsort() : usage variations ***
 
--- Testing arsort() by supplying bool value array, 'flag' value is defualt --
+-- Testing arsort() by supplying bool value array, 'flag' value is default --
 bool(true)
 array(4) {
   [1]=>
index 21984de67e606a8e85f89660b790245a428df2d1..e2fa42993e4a9f72e3f74bf7d7db95cfee9e829a 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : object functionality - sort objects
 
 /*
  * testing asort() by providing integer/string object arrays with following flag values
- * 1. Defualt flag value
+ * 1. Default flag value
  * 2. SORT_REGULAR - compare items normally
 */
 
@@ -59,14 +59,14 @@ $unsorted_str_obj = array (
 );
 
 
-echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing asort() function by supplying integer object array, flag value is defualt
+// testing asort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(asort($temp_array) );
 var_dump($temp_array);
 
-// testing asort() function by supplying string object array, flag value is defualt
+// testing asort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(asort($temp_array) );
 var_dump($temp_array);
@@ -87,7 +87,7 @@ echo "Done\n";
 --EXPECTF--
 *** Testing asort() : object functionality ***
 
--- Testing asort() by supplying various object arrays, 'flag' value is defualt --
+-- Testing asort() by supplying various object arrays, 'flag' value is default --
 bool(true)
 array(6) {
   [4]=>
index 8f2a6661462ef37fddec331ca873667667050243..1de4f35fae728d13eee7523300b35c09b5d539fa 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : object functionality - sorting objects with diff. access
 
 /*
  * testing asort() by providing integer/string object arrays with following flag values
- * 1. Defualt flag value
+ * 1. Default flag value
    2. SORT_REGULAR - compare items normally
 */
 
index 4b9ccd2f5164acce29e18eac4d3bff1ae57cea45..0ead69d27ec5b049cef0d7f9ac07a51138c31af3 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort octal values
 
 /*
  * testing asort() by providing different octal array for $array argument with following flag values
- * 1.flag value as defualt
+ * 1.flag value as default
  * 2.SORT_REGULAR - compare items normally
  * 3.SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_oct_array = array (
    077 => 077, -066 => -066, -0345 => -0345, 0 => 0
 );
 
-echo "\n-- Testing asort() by supplying octal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing asort() by supplying octal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_oct_array;
 var_dump( asort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing asort() : usage variations ***
 
--- Testing asort() by supplying octal value array, 'flag' value is defualt  --
+-- Testing asort() by supplying octal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [-229]=>
index 4ad106b6583da415231a944809949eb0f67ef076..a1435ecd9ca031da92ef8fccdb9cf8f47a1f52ba 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort integer/float values
 
 /*
  * Testing asort() by providing different integer/float value arrays for $array argument with following values
- * 1. flag value as defualt
+ * 1. flag value as default
  * 2. SORT_REGULAR - compare items normally
  * 3. SORT_NUMERIC - compare items numerically
 */
index 6dd60e3e7e5d9b6f96c9ca359821922cea39b950..09933dba157b174f041b1a058087fee2d156b4c2 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort reference variables
 
 /*
  * Testing asort() by providing reference variable array with following flag values
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_NUMERIC - compare items numerically
 */
@@ -24,7 +24,7 @@ $value3 = 555;
 // an array containing integer references
 $unsorted_numerics =  array( 1 => &$value1 , 2 => &$value2, 3 => &$value3);
 
-echo "\n-- Testing asort() by supplying reference variable array, 'flag' value is defualt --\n";
+echo "\n-- Testing asort() by supplying reference variable array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( asort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing asort() :usage variations  ***
 
--- Testing asort() by supplying reference variable array, 'flag' value is defualt --
+-- Testing asort() by supplying reference variable array, 'flag' value is default --
 bool(true)
 array(3) {
   [2]=>
index dfb690ee563f8e8eee65320f7af5d4ec8bf69062..7ae231b3610961cd1b9f5f455750393bc4f1a295 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort strings
 
 /*
  * testing asort() by providing different string arrays for $array argument with following flag values
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_STRING  - compare items as strings
 */
index 3d879c1b3b915048ea046351a320b91d021d58c1..aa5b4edd3d3d50f3062672b135981b443901ceb3 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort hexadecimal values
 
 /*
  * testing asort() by providing different hexa-decimal array for $array argument with following flag values
- * flag value as defualt
+ * flag value as default
  * SORT_REGULAR - compare items normally
  * SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_hex_array = array ( 0x1AB => 0x1AB, 0xFFF => 0xFFF, 0xF => 0xF, 0xFF =
                               0x1ab => 0x1ab, 0xff => 0xff, -0xff => -0xFF, 0 => 0, -0x2aa => -0x2aa
                             );
 
-echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(asort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing asort() : usage variations ***
 
--- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt  --
+-- Testing asort() by supplying hexadecimal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [-682]=>
index 892dd82238166f0894a21e26eb35185f8e9118f6..97718ed43e36036b258d0c909fc34374561a4a03 100644 (file)
@@ -10,7 +10,7 @@ Test asort() function : usage variations - sort bool values
 
 /*
  * testing asort() by providing bool value array for $array argument with following flag values.
- * flag value as defualt
+ * flag value as default
  * SORT_REGULAR - compare items normally
 */
 
@@ -19,7 +19,7 @@ echo "*** Testing asort() : usage variations ***\n";
 // bool value array
 $bool_values = array (1 => true, 2 => false, 3 => TRUE, 4 => FALSE);
 
-echo "\n-- Testing asort() by supplying bool value array, 'flag' value is defualt --\n";
+echo "\n-- Testing asort() by supplying bool value array, 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(asort($temp_array) );
 var_dump($temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing asort() : usage variations ***
 
--- Testing asort() by supplying bool value array, 'flag' value is defualt --
+-- Testing asort() by supplying bool value array, 'flag' value is default --
 bool(true)
 array(4) {
   [2]=>
index f65fa0a5531d3bca6931c5ef7de4a09ef53948b1..642dfc2070bacbaf416e3a7442706644bfbfdf8f 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : basic functionality
 /*
  * Testing krsort() by providing array of integer/string values to check the basic functionality
  * with following flag values :
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
  *  4.SORT_STRING - compare items as strings
@@ -28,12 +28,12 @@ $unsorted_strings = array(
 // an array containing unsorted numeric values with indices
 $unsorted_numerics =  array( 100 => 4, 33 => 3, 555 => 2, 22 => 1 );
 
-echo "\n-- Testing krsort() by supplying string array, 'flag' value is defualt --\n";
+echo "\n-- Testing krsort() by supplying string array, 'flag' value is default --\n";
 $temp_array = $unsorted_strings;
 var_dump( krsort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
 
-echo "\n-- Testing krsort() by supplying numeric array, 'flag' value is defualt --\n";
+echo "\n-- Testing krsort() by supplying numeric array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( krsort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -78,7 +78,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing krsort() : basic functionality ***
 
--- Testing krsort() by supplying string array, 'flag' value is defualt --
+-- Testing krsort() by supplying string array, 'flag' value is default --
 bool(true)
 array(8) {
   ["o20"]=>
@@ -99,7 +99,7 @@ array(8) {
   string(6) "Orange"
 }
 
--- Testing krsort() by supplying numeric array, 'flag' value is defualt --
+-- Testing krsort() by supplying numeric array, 'flag' value is default --
 bool(true)
 array(4) {
   [555]=>
index 308be2cc2611c2f86038a969bd252bc5c090ca3e..482dacc50a9a405178a5fd3b34ef91756944bfc9 100644 (file)
@@ -8,7 +8,7 @@ Test krsort() function : object functionality - sort objects
 */
 /*
  * testing krsort() by providing array of integer/string objects with following flag values:
- *  1.Defualt flag value
+ *  1.Default flag value
  *  2.SORT_REGULAR - compare items normally
 */
 
@@ -56,14 +56,14 @@ $unsorted_str_obj = array (
 );
 
 
-echo "\n-- Testing krsort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing krsort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing krsort() function by supplying integer object array, flag value is defualt
+// testing krsort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(krsort($temp_array) );
 var_dump($temp_array);
 
-// testing krsort() function by supplying string object array, flag value is defualt
+// testing krsort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(krsort($temp_array) );
 var_dump($temp_array);
@@ -84,7 +84,7 @@ echo "Done\n";
 --EXPECTF--
 *** Testing krsort() : object functionality ***
 
--- Testing krsort() by supplying various object arrays, 'flag' value is defualt --
+-- Testing krsort() by supplying various object arrays, 'flag' value is default --
 bool(true)
 array(6) {
   [50]=>
index c22656d1735fa90a3d67ccd7584df0be4cee4e78..aa614a5b50d5d309e9029832c39bab250e02cd16 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort heredoc strings
 /*
  * testing krsort() by providing array of heredoc strings for $array argument with
  * following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_STRING  - compare items as strings
 */
@@ -37,7 +37,7 @@ $array = array (
   $multiline_heredoc => "heredoc string\twith!@# and 123\nTest this!!!"
 );
 
-echo "\n-- Testing krsort() by supplying heredoc string array, 'flag' value is defualt --\n";
+echo "\n-- Testing krsort() by supplying heredoc string array, 'flag' value is default --\n";
 $temp_array = $array;
 var_dump(krsort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -57,7 +57,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing krsort() : usage variations ***
 
--- Testing krsort() by supplying heredoc string array, 'flag' value is defualt --
+-- Testing krsort() by supplying heredoc string array, 'flag' value is default --
 bool(true)
 array(3) {
   ["heredoc string     with!@# and 123
index 32ca85c6ec50e6e166ed73bd2bed9e91c12a0bbb..271559c3e5c314a5e627a7d91c5641d1c8b9899e 100644 (file)
@@ -9,7 +9,7 @@ Test krsort() function : usage variations - sort bool values
 
 /*
  * testing krsort() by providing array of boolean values for $array argument with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
 */
 
@@ -18,7 +18,7 @@ echo "*** Testing krsort() : usage variations ***\n";
 // bool value array
 $bool_values = array (true => true, false => false, TRUE => TRUE, FALSE => FALSE);
 
-echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is defualt --\n";
+echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(krsort($temp_array) );
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing krsort() : usage variations ***
 
--- Testing krsort() by supplying boolean value array, 'flag' value is defualt --
+-- Testing krsort() by supplying boolean value array, 'flag' value is default --
 bool(true)
 array(2) {
   [1]=>
index 506b0cfa570d671cf33640f35b2b162cf4f7da28..c94dc4981e36680e9dac0006e0d7377332bfb343 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort integer/float values
 /*
  * Testing krsort() by providing array of integer/float/mixed values for $array argument
  * with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
 */
@@ -40,7 +40,7 @@ echo "\n-- Testing krsort() by supplying various integer/float arrays --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump(krsort($temp_array) );
   var_dump($temp_array);
@@ -63,7 +63,7 @@ echo "Done\n";
 -- Testing krsort() by supplying various integer/float arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(9) {
   [8]=>
@@ -131,7 +131,7 @@ array(9) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [6]=>
@@ -181,7 +181,7 @@ array(6) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   [11]=>
index dbbac1e85afc71fc825a9ad388bf23c901c48daa..f17be973e4090d9166189ca3a9cf52fe6892ba80 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort octal values
 /*
  * testing krsort() by providing array of octal values for $array argument
  * with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_oct_array = array (
   077 => 06, -066 => -01, -0345 => -02, 0 => 0
 );
 
-echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing krsort() by supplying octal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_oct_array;
 var_dump( krsort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing krsort() : usage variations ***
 
--- Testing krsort() by supplying octal value array, 'flag' value is defualt  --
+-- Testing krsort() by supplying octal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [669]=>
index 75986690e5d47049d66df3b016fa2717577ea696..e8f5404f9f902ac412ab9a86cef0819d15e4fa58 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort strings
 /*
  * testing krsort() by providing array of string values for $array argument with
  * following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_STRING  - compare items as strings
 */
@@ -40,7 +40,7 @@ echo "\n-- Testing krsort() by supplying various string arrays --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump(krsort($temp_array) ); // expecting : bool(true)
   var_dump($temp_array);
@@ -63,7 +63,7 @@ echo "Done\n";
 -- Testing krsort() by supplying various string arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   ["\xhh"]=>
@@ -149,7 +149,7 @@ array(11) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   ["x"]=>
index 357fb5c1a00877c3348406397c25461245533872..8807653cefaf887acc0502d4e7809d7f1777c41d 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort hexadecimal values
 /*
  * testing krsort() by providing array of hexa-decimal values for $array argument
  * with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_hex_array = array (
   0x1ab => 0x1ab, 0xff => 0xff, -0xff => -0xFF, 0 => 0, -0x2aa => -0x2aa
 );
 
-echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing krsort() by supplying hexadecimal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(krsort( $temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing krsort() : usage variations ***
 
--- Testing krsort() by supplying hexadecimal value array, 'flag' value is defualt  --
+-- Testing krsort() by supplying hexadecimal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [4095]=>
index 14a3310a652d1296b4069dfbc100d1af86a5efcf..0315e9d10fc6d55a2a3a7b4a6bd0af383bd6a160 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort array with diff. sub arrays
 /*
  * testing krsort() by providing arrays contains sub arrays for $array argument
  * with flowing flag values
- *  1.flag  value as defualt
+ *  1.flag  value as default
  *  2.SORT_REGULAR - compare items normally
 */
 
@@ -40,7 +40,7 @@ echo "\n-- Testing krsort() by supplying various arrays containing sub arrays --
 foreach ($various_arrays as $array) {
 
   echo "\n-- Iteration $count --\n";
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump( krsort($temp_array) );
   var_dump($temp_array);
@@ -60,7 +60,7 @@ echo "Done\n";
 -- Testing krsort() by supplying various arrays containing sub arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(0) {
 }
@@ -70,7 +70,7 @@ array(0) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(1) {
   [1]=>
@@ -86,7 +86,7 @@ array(1) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   [4]=>
@@ -118,7 +118,7 @@ array(3) {
 }
 
 -- Iteration 4 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(4) {
   [3]=>
index 53172289318cd009859e42cf343f3c4d1cb21206..d961ff1837f1c4275182ed13d81bd28d1d583e5f 100644 (file)
@@ -10,7 +10,7 @@ Test krsort() function : usage variations - sort array with/without key values
 /*
  * Testing krsort() by providing arrays  with/without key values for $array argument
  * with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  */
 
@@ -34,7 +34,7 @@ echo "\n-- Testing krsort() by supplying various arrays with/without key values
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump( krsort($temp_array) );
   var_dump($temp_array);
@@ -54,7 +54,7 @@ echo "Done\n";
 -- Testing krsort() by supplying various arrays with/without key values --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(5) {
   [9]=>
@@ -84,7 +84,7 @@ array(5) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   ["a"]=>
@@ -106,7 +106,7 @@ array(3) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [5]=>
@@ -140,7 +140,7 @@ array(6) {
 }
 
 -- Iteration 4 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   [5]=>
@@ -162,7 +162,7 @@ array(3) {
 }
 
 -- Iteration 5 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [9]=>
@@ -196,7 +196,7 @@ array(6) {
 }
 
 -- Iteration 6 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(2) {
   ["foo"]=>
@@ -214,7 +214,7 @@ array(2) {
 }
 
 -- Iteration 7 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(4) {
   ["d"]=>
index ff0469e7a338eaece438dbe913bbd55d77f3ef56..a24674ff338004e59152cf4389c918e34ebeaaf6 100644 (file)
@@ -9,7 +9,7 @@ Test ksort() function : basic functionality
 
 /*
  * Testing ksort() by providing  array of integer/string values to check the basic functionality with following flag values :
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
  *  4.SORT_STRING - compare items as strings
@@ -26,12 +26,12 @@ $unsorted_strings =   array(
 // an array containing unsorted numeric values with indices
 $unsorted_numerics =  array( 100 => 4, 33 => 3, 555 => 2, 22 => 1 );
 
-echo "\n-- Testing ksort() by supplying string array, 'flag' value is defualt --\n";
+echo "\n-- Testing ksort() by supplying string array, 'flag' value is default --\n";
 $temp_array = $unsorted_strings;
 var_dump( ksort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
 
-echo "\n-- Testing ksort() by supplying numeric array, 'flag' value is defualt --\n";
+echo "\n-- Testing ksort() by supplying numeric array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( ksort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -76,7 +76,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing ksort() : basic functionality ***
 
--- Testing ksort() by supplying string array, 'flag' value is defualt --
+-- Testing ksort() by supplying string array, 'flag' value is default --
 bool(true)
 array(8) {
   ["O"]=>
@@ -97,7 +97,7 @@ array(8) {
   string(8) "orange20"
 }
 
--- Testing ksort() by supplying numeric array, 'flag' value is defualt --
+-- Testing ksort() by supplying numeric array, 'flag' value is default --
 bool(true)
 array(4) {
   [22]=>
index e1930327888e8dc9567861d993f9af6ae150c7ce..03c97e253b3a2c59e4ed8eb3a13f5a6dc8eaa266 100644 (file)
@@ -55,14 +55,14 @@ $unsorted_str_obj = array (
   "apple" => new StringObject("apple"), "Orange" => new StringObject("Orange"),
   "Lemon" => new StringObject("Lemon"), "aPPle" => new StringObject("aPPle")
 );
-echo "\n-- Testing ksort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing ksort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing ksort() function by supplying integer object array, flag value is defualt
+// testing ksort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(ksort($temp_array) );
 var_dump($temp_array);
 
-// testing ksort() function by supplying string object array, flag value is defualt
+// testing ksort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(ksort($temp_array) );
 var_dump($temp_array);
@@ -83,7 +83,7 @@ echo "Done\n";
 --EXPECTF--
 *** Testing ksort() : object functionality ***
 
--- Testing ksort() by supplying various object arrays, 'flag' value is defualt --
+-- Testing ksort() by supplying various object arrays, 'flag' value is default --
 bool(true)
 array(6) {
   [-5]=>
index 1a1a719b535f871e3793b66bcff2af26dbcad000..8a3e522c8a31cd52a871f1e12628a3bb1f1ba47d 100644 (file)
@@ -9,7 +9,7 @@ Test ksort() function : usage variations - sort octal values
 
 /*
  * testing ksort() by providing array of octal values for $array argument with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
 */
@@ -22,7 +22,7 @@ $unsorted_oct_array = array (
   077 => 06, -066 => -01, -0345 => -02, 0 => 0
 );
 
-echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_oct_array;
 var_dump( ksort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -42,7 +42,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing ksort() : usage variations ***
 
--- Testing ksort() by supplying octal value array, 'flag' value is defualt  --
+-- Testing ksort() by supplying octal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [-229]=>
index 2c93512feaea7ee662c989ecf5fe555cf5a1b5dd..1fabd01e5c5a82982a31cd862859ace940b25951 100644 (file)
@@ -10,7 +10,7 @@ Test ksort() function : usage variations - sort heredoc strings
 /*
  * testing ksort() by providing array of heredoc strings for $array argument with
  * following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_STRING  - compare items as strings
 */
@@ -37,7 +37,7 @@ $array = array (
   $multiline_heredoc => "heredoc string\twith!@# and 123\nTest this!!!"
 );
 
-echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' value is defualt --\n";
+echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' value is default --\n";
 $temp_array = $array;
 var_dump(ksort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -57,7 +57,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing ksort() : usage variations ***
 
--- Testing ksort() by supplying heredoc string array, 'flag' value is defualt --
+-- Testing ksort() by supplying heredoc string array, 'flag' value is default --
 bool(true)
 array(3) {
   ["HEREDOC"]=>
index 3159a36be5d72b856b29123cc1703aff8f7dd5d0..5d2d14ff586557439fc5249f84f49a5215678c88 100644 (file)
@@ -10,7 +10,7 @@ Test ksort() function : usage variations - sort integer/float values
 /*
  * Testing ksort() by providing array of integer/float/mixed values for $array argument
  * with following flag  values:
- *  1. flag value as defualt
+ *  1. flag value as default
  *  2. SORT_REGULAR - compare items normally
  *  3. SORT_NUMERIC - compare items numerically
 */
@@ -40,7 +40,7 @@ echo "\n-- Testing ksort() by supplying various integer/float arrays --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump(ksort($temp_array) );
   var_dump($temp_array);
@@ -63,7 +63,7 @@ echo "Done\n";
 -- Testing ksort() by supplying various integer/float arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(9) {
   [-10]=>
@@ -131,7 +131,7 @@ array(9) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [-7]=>
@@ -181,7 +181,7 @@ array(6) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   [-10]=>
index 46e330229e1e1329b2d25f3a95cb93d5918c7eb2..8404f030e9dace7491ce61f595c26266e502d758 100644 (file)
@@ -9,7 +9,7 @@ Test ksort() function : usage variations - sort bool values
 
 /*
  * testing ksort() by providing array of boolean values for $array argument with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
 */
 
@@ -18,7 +18,7 @@ echo "*** Testing ksort() : usage variations ***\n";
 // bool value array
 $bool_values = array (true => true, false => false, TRUE => TRUE, FALSE => FALSE);
 
-echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is defualt --\n";
+echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(ksort($temp_array) );
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing ksort() : usage variations ***
 
--- Testing ksort() by supplying boolean value array, 'flag' value is defualt --
+-- Testing ksort() by supplying boolean value array, 'flag' value is default --
 bool(true)
 array(2) {
   [0]=>
index c19cb3cf8a02d90a29ff62189cb88bcb901b3d89..c5f950edd42f53088e7d0e8bc2bed0265465d178 100644 (file)
@@ -10,7 +10,7 @@ Test ksort() function : usage variations - sort strings
 /*
  * testing ksort() by providing array of string values for $array argument with
  * following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_STRING  - compare items as strings
 */
@@ -40,7 +40,7 @@ echo "\n-- Testing ksort() by supplying various string arrays --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump(ksort($temp_array) ); // expecting : bool(true)
   var_dump($temp_array);
@@ -63,7 +63,7 @@ echo "Done\n";
 -- Testing ksort() by supplying various string arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   [""]=>
@@ -149,7 +149,7 @@ array(11) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(11) {
   ["Apple"]=>
index 0e6d8fe372d17b996ba42da1c70c503822f3801f..40cd27d7b8e215c5f6063c4616bb470caae32cd9 100644 (file)
@@ -9,7 +9,7 @@ Test ksort() function : usage variations - sort hexadecimal values
 
 /*
  * testing ksort() by providing array of hexa-decimal values for $array argument with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  *  3.SORT_NUMERIC - compare items numerically
 */
@@ -23,7 +23,7 @@ $unsorted_hex_array = array (
   0x1ab => 0x1ab, 0xff => 0xff, -0xff => -0xFF, 0 => 0, -0x2aa => -0x2aa
 );
 
-echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(ksort( $temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -43,7 +43,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing ksort() : usage variations ***
 
--- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt  --
+-- Testing ksort() by supplying hexadecimal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [-682]=>
index 4b1f509c3ce66ab2e9ed46dcf07be5d6eb4f9903..0e92ed40ef2b2411ea13da775b01465e40581fd0 100644 (file)
@@ -10,7 +10,7 @@ Test ksort() function : usage variations - sort array with diff. sub arrays
 /*
  * testing ksort() by providing arrays containing sub arrays for $array argument
  * with flowing flag values:
- *  1. flag value as defualt
+ *  1. flag value as default
  *  2. SORT_REGULAR - compare items normally
 */
 
@@ -40,7 +40,7 @@ echo "\n-- Testing ksort() by supplying various arrays containing sub arrays --\
 foreach ($various_arrays as $array) {
 
   echo "\n-- Iteration $count --\n";
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump( ksort($temp_array) );
   var_dump($temp_array);
@@ -60,7 +60,7 @@ echo "Done\n";
 -- Testing ksort() by supplying various arrays containing sub arrays --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(0) {
 }
@@ -70,7 +70,7 @@ array(0) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(1) {
   [1]=>
@@ -86,7 +86,7 @@ array(1) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   [1]=>
@@ -118,7 +118,7 @@ array(3) {
 }
 
 -- Iteration 4 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(4) {
   [0]=>
index be58e6d589094a665453aed3965740080a0f01d3..20a85f2f7733819ae31ed8465d806b62788397bf 100644 (file)
@@ -9,7 +9,7 @@ Test ksort() function : usage variations - sorting arrays with/without keys
 
 /*
  * Testing ksort() by providing arrays  with/without key values for $array argument with following flag values:
- *  1.flag value as defualt
+ *  1.flag value as default
  *  2.SORT_REGULAR - compare items normally
  */
 
@@ -33,7 +33,7 @@ echo "\n-- Testing ksort() by supplying various arrays with/without key values -
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With defualt sort flag -\n";
+  echo "- With default sort flag -\n";
   $temp_array = $array;
   var_dump( ksort($temp_array) );
   var_dump($temp_array);
@@ -53,7 +53,7 @@ echo "Done\n";
 -- Testing ksort() by supplying various arrays with/without key values --
 
 -- Iteration 1 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(5) {
   [5]=>
@@ -83,7 +83,7 @@ array(5) {
 }
 
 -- Iteration 2 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   ["a"]=>
@@ -105,7 +105,7 @@ array(3) {
 }
 
 -- Iteration 3 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [0]=>
@@ -139,7 +139,7 @@ array(6) {
 }
 
 -- Iteration 4 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(3) {
   [0]=>
@@ -161,7 +161,7 @@ array(3) {
 }
 
 -- Iteration 5 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(6) {
   [0]=>
@@ -195,7 +195,7 @@ array(6) {
 }
 
 -- Iteration 6 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(2) {
   ["bar"]=>
@@ -213,7 +213,7 @@ array(2) {
 }
 
 -- Iteration 7 --
-- With defualt sort flag -
+- With default sort flag -
 bool(true)
 array(4) {
   ["a"]=>
index 2d752878410d87fe68550d263b461c5a14bf62d0..9d82ea5c941f38e13039af607fa33ac2fb170bae 100644 (file)
@@ -23,12 +23,12 @@ $unsorted_strings = array(
 // array with default keys containing unsorted numeric values
 $unsorted_numerics =  array( 100, 33, 555, 22 );
 
-echo "\n-- Testing rsort() by supplying string array, 'flag' value is defualt --\n";
+echo "\n-- Testing rsort() by supplying string array, 'flag' value is default --\n";
 $temp_array = $unsorted_strings;
 var_dump( rsort($temp_array) );
 var_dump( $temp_array);
 
-echo "\n-- Testing rsort() by supplying numeric array, 'flag' value is defualt --\n";
+echo "\n-- Testing rsort() by supplying numeric array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( rsort($temp_array) );
 var_dump( $temp_array);
@@ -73,7 +73,7 @@ echo "Done";
 --EXPECT--
 *** Testing rsort() : basic functionality ***
 
--- Testing rsort() by supplying string array, 'flag' value is defualt --
+-- Testing rsort() by supplying string array, 'flag' value is default --
 bool(true)
 array(8) {
   [0]=>
@@ -94,7 +94,7 @@ array(8) {
   string(6) "Orange"
 }
 
--- Testing rsort() by supplying numeric array, 'flag' value is defualt --
+-- Testing rsort() by supplying numeric array, 'flag' value is default --
 bool(true)
 array(4) {
   [0]=>
index 7477276cd32cc001db058eb97c1980aa8ee65529..fdbdaedb7bbd2db63377807aa0dde5cbac28a5d6 100644 (file)
@@ -58,12 +58,12 @@ $unsorted_str_obj = array (
 
 echo "\n-- Sort flag = default --\n";
 
-// testing rsort() function by supplying integer object array, flag value is defualt
+// testing rsort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
 
-// testing rsort() function by supplying string object array, flag value is defualt
+// testing rsort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
index b47903b698c833cd7c413c8a8f0a0b8e369ae810..5f2eba168e6c836b8b4324252a97eb6007fdab6c 100644 (file)
@@ -69,12 +69,12 @@ $unsorted_str_obj = array (
 
 echo "\n-- Sort flag = default --\n";
 
-// testing rsort() function by supplying integer object array, flag value is defualt
+// testing rsort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
 
-// testing rsort() function by supplying string object array, flag value is defualt
+// testing rsort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
index 724764f48bededbb1307bc2a9b6d83fe1664a534..545eacedc384e4fa0035f0c3493b199ecdf8f587 100644 (file)
@@ -42,7 +42,7 @@ $count = 1;
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With Defualt sort flag -\n";
+  echo "- With Default sort flag -\n";
   $temp_array = $array;
   var_dump(rsort($temp_array) );
   var_dump($temp_array);
@@ -63,7 +63,7 @@ echo "Done";
 *** Testing rsort() : variation ***
 
 -- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(9) {
   [0]=>
@@ -131,7 +131,7 @@ array(9) {
 }
 
 -- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(7) {
   [0]=>
@@ -187,7 +187,7 @@ array(7) {
 }
 
 -- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(11) {
   [0]=>
@@ -267,7 +267,7 @@ array(11) {
 }
 
 -- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(7) {
   [0]=>
index 75d8c8bb56b37bdd925e0c6854c5bdda5cf67ab9..3687c05c7f6ad99ab6f1a4c6fd2cd5023e5436ca 100644 (file)
@@ -23,7 +23,7 @@ $value3 = 555;
 // an array containing integer references
 $unsorted_numerics =  array( &$value1 , &$value2, &$value3);
 
-echo "\n-- 'flag' value is defualt --\n";
+echo "\n-- 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( rsort($temp_array) );
 var_dump( $temp_array);
@@ -38,7 +38,7 @@ echo "Done";
 --EXPECT--
 *** Testing rsort() : variation ***
 
--- 'flag' value is defualt --
+-- 'flag' value is default --
 bool(true)
 array(3) {
   [0]=>
index 29c5d3c09d5a23a753be7ec5949fcbbf64ba3385..3789776c371e2809bf24e28321fc949c917de2a9 100644 (file)
@@ -16,7 +16,7 @@ echo "*** Testing rsort() : variation ***\n";
 // an array contains unsorted hexadecimal values
 $unsorted_hex_array = array(0x1AB, 0xFFF, 0xF, 0xFF, 0x2AA, 0xBB, 0x1ab, 0xff, -0xFF, 0, -0x2aa);
 
-echo "\n-- 'flag' value is defualt  --\n";
+echo "\n-- 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
@@ -36,7 +36,7 @@ echo "Done";
 --EXPECT--
 *** Testing rsort() : variation ***
 
--- 'flag' value is defualt  --
+-- 'flag' value is default  --
 bool(true)
 array(11) {
   [0]=>
index 51a0565cdb562d68255155c19ecb2caf3ea61d13..b54108d031e894530929978db66ff7359b0ac9f0 100644 (file)
@@ -16,7 +16,7 @@ echo "*** Testing rsort() : variation ***\n";
 // bool value array
 $bool_values = array (true, false, TRUE, FALSE);
 
-echo "\n-- 'flag' value is defualt --\n";
+echo "\n-- 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(rsort($temp_array) );
 var_dump($temp_array);
@@ -41,7 +41,7 @@ echo "Done";
 --EXPECT--
 *** Testing rsort() : variation ***
 
--- 'flag' value is defualt --
+-- 'flag' value is default --
 bool(true)
 array(4) {
   [0]=>
index 065889de115ecf990cd1b98a995481e058da28a3..e409ac3d33434609a5c3740edd55acb6b5e6e999 100644 (file)
@@ -11,7 +11,7 @@ Test sort() function : basic functionality
 /*
  * Testing sort() by providing arrays with default keys and assoc arrays
  * to check the basic functionality with following flag values.
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_NUMERIC - compare items numerically
  *  SORT_STRING - compare items as strings
@@ -29,12 +29,12 @@ $unsorted_strings = array(
 // array with default keys containing unsorted numeric values
 $unsorted_numerics =  array( 100, 33, 555, 22 );
 
-echo "\n-- Testing sort() by supplying string array, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying string array, 'flag' value is default --\n";
 $temp_array = $unsorted_strings;
 var_dump( sort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
 
-echo "\n-- Testing sort() by supplying numeric array, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying numeric array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( sort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -79,7 +79,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing sort() : basic functionality ***
 
--- Testing sort() by supplying string array, 'flag' value is defualt --
+-- Testing sort() by supplying string array, 'flag' value is default --
 bool(true)
 array(8) {
   [0]=>
@@ -100,7 +100,7 @@ array(8) {
   string(8) "orange20"
 }
 
--- Testing sort() by supplying numeric array, 'flag' value is defualt --
+-- Testing sort() by supplying numeric array, 'flag' value is default --
 bool(true)
 array(4) {
   [0]=>
index a55a0962a8a4a50e201f744d2bef1391ce9c43cf..79458e0b1c805d2157cfd44fe37536c9d8f2c753 100644 (file)
@@ -8,7 +8,7 @@ Test sort() function : object functionality - sorting objects, 'sort_flags' as d
  * Source code: ext/standard/array.c
 */
 /*
- * testing sort() by providing integer/string object arrays with flag values are defualt, SORT_REGULAR
+ * testing sort() by providing integer/string object arrays with flag values are default, SORT_REGULAR
 */
 
 echo "*** Testing sort() : object functionality ***\n";
@@ -56,14 +56,14 @@ $unsorted_str_obj = array (
 );
 
 
-echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing sort() function by supplying integer object array, flag value is defualt
+// testing sort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(sort($temp_array) );
 var_dump($temp_array);
 
-// testing sort() function by supplying string object array, flag value is defualt
+// testing sort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(sort($temp_array) );
 var_dump($temp_array);
@@ -84,7 +84,7 @@ echo "Done\n";
 --EXPECTF--
 *** Testing sort() : object functionality ***
 
--- Testing sort() by supplying various object arrays, 'flag' value is defualt --
+-- Testing sort() by supplying various object arrays, 'flag' value is default --
 bool(true)
 array(6) {
   [0]=>
index 7e13cf8abf302a72e2794ac76242aca906cc2d4a..9816ae3012f6ebea18bcfd9e7a014bb90172fb48 100644 (file)
@@ -9,7 +9,7 @@ Test sort() function : object functionality - sorting objects with diff. accessi
 */
 
 /*
- * testing sort() by providing integer/string object arrays with flag values are defualt, SORT_REGULAR
+ * testing sort() by providing integer/string object arrays with flag values are default, SORT_REGULAR
 */
 
 echo "*** Testing sort() : object functionality ***\n";
@@ -66,14 +66,14 @@ $unsorted_str_obj = array (
 );
 
 
-echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is default --\n";
 
-// testing sort() function by supplying integer object array, flag value is defualt
+// testing sort() function by supplying integer object array, flag value is default
 $temp_array = $unsorted_int_obj;
 var_dump(sort($temp_array) );
 var_dump($temp_array);
 
-// testing sort() function by supplying string object array, flag value is defualt
+// testing sort() function by supplying string object array, flag value is default
 $temp_array = $unsorted_str_obj;
 var_dump(sort($temp_array) );
 var_dump($temp_array);
@@ -94,7 +94,7 @@ echo "Done\n";
 --EXPECTF--
 *** Testing sort() : object functionality ***
 
--- Testing sort() by supplying various object arrays, 'flag' value is defualt --
+-- Testing sort() by supplying various object arrays, 'flag' value is default --
 bool(true)
 array(4) {
   [0]=>
index 1ff71a3dc5f15ee8d79a6240bacce60272840b2d..4dc510064e2ea82e4398388a2b9b50cedd13e0b8 100644 (file)
@@ -11,7 +11,7 @@ Test sort() function : usage variations - sort octal values
 /*
  * testing sort() by providing different octal array for $array argument
  * with following flag values
- * 1.flag value as defualt
+ * 1.flag value as default
  * 2.SORT_REGULAR - compare items normally
  * 3.SORT_NUMERIC - compare items numerically
 */
@@ -21,7 +21,7 @@ echo "*** Testing sort() : usage variations ***\n";
 // an array containing unsorted octal values
 $unsorted_oct_array = array(01235, 0321, 0345, 066, 0772, 077, -066, -0345, 0);
 
-echo "\n-- Testing sort() by supplying octal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing sort() by supplying octal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_oct_array;
 var_dump(sort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -41,7 +41,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing sort() : usage variations ***
 
--- Testing sort() by supplying octal value array, 'flag' value is defualt  --
+-- Testing sort() by supplying octal value array, 'flag' value is default  --
 bool(true)
 array(9) {
   [0]=>
index 3aec6dcdb1490942f5d05cecebe3f07d4bbada37..7ee0d8ea84bcd3db3b8e723514a5144c2647fb23 100644 (file)
@@ -11,7 +11,7 @@ Test sort() function : usage variations - sort integer/float values
 /*
  * Testing sort() by providing different integer/float value arrays for $array argument
  * with following flag values
- * 1. flag  value as defualt
+ * 1. flag  value as default
  * 2. SORT_REGULAR - compare items normally
  * 3. SORT_NUMERIC - compare items numerically
  * 4. SORT_STRING - compare items as strings
@@ -44,7 +44,7 @@ echo "\n-- Testing sort() by supplying various integer/float arrays --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With Defualt sort flag -\n";
+  echo "- With Default sort flag -\n";
   $temp_array = $array;
   var_dump(sort($temp_array) );
   var_dump($temp_array);
@@ -67,7 +67,7 @@ echo "Done\n";
 -- Testing sort() by supplying various integer/float arrays --
 
 -- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(9) {
   [0]=>
@@ -135,7 +135,7 @@ array(9) {
 }
 
 -- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(7) {
   [0]=>
@@ -191,7 +191,7 @@ array(7) {
 }
 
 -- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(11) {
   [0]=>
@@ -271,7 +271,7 @@ array(11) {
 }
 
 -- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(7) {
   [0]=>
index 56b25223bf1f8b0bcd8b811f48533f67f9983f79..4a5d42ed9dff88c1d7cefa9c030bf201f3d29f58 100644 (file)
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort reference values
 
 /*
  * Testing sort() by providing reference variable array with following flag values
- *  flag value as defualt
+ *  flag value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_NUMERIC - compare items numerically
 */
@@ -24,7 +24,7 @@ $value3 = 555;
 // an array containing integer references
 $unsorted_numerics =  array( &$value1 , &$value2, &$value3);
 
-echo "\n-- Testing sort() by supplying reference variable array, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying reference variable array, 'flag' value is default --\n";
 $temp_array = $unsorted_numerics;
 var_dump( sort($temp_array) ); // expecting : bool(true)
 var_dump( $temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing sort() :usage variations  ***
 
--- Testing sort() by supplying reference variable array, 'flag' value is defualt --
+-- Testing sort() by supplying reference variable array, 'flag' value is default --
 bool(true)
 array(3) {
   [0]=>
index 613fb1d3b517c14df3e3740932329bab85064af9..e5fc94c3871722b0298737d6edd907ac68d6b884 100644 (file)
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort strings
 
 /*
  * testing sort() by providing different string arrays for $array argument with following flag values
- *  flag  value as defualt
+ *  flag  value as default
  *  SORT_REGULAR - compare items normally
  *  SORT_STRING  - compare items as strings
 */
index 7d7fdeb4103c4862ad45b3f3dac336ad2864653b..5fa933eb21ea637890d1b04e74b3f3a29c1c7c74 100644 (file)
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort hexadecimal values
 
 /*
  * testing sort() by providing different hexa-decimal array for $array argument with following flag values
- * flag  value as defualt
+ * flag  value as default
  * SORT_REGULAR - compare items normally
  * SORT_NUMERIC - compare items numerically
 */
@@ -20,7 +20,7 @@ echo "*** Testing sort() : usage variations ***\n";
 // an array contains unsorted hexadecimal values
 $unsorted_hex_array = array(0x1AB, 0xFFF, 0xF, 0xFF, 0x2AA, 0xBB, 0x1ab, 0xff, -0xFF, 0, -0x2aa);
 
-echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is defualt  --\n";
+echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is default  --\n";
 $temp_array = $unsorted_hex_array;
 var_dump(sort($temp_array) ); // expecting : bool(true)
 var_dump($temp_array);
@@ -40,7 +40,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing sort() : usage variations ***
 
--- Testing sort() by supplying hexadecimal value array, 'flag' value is defualt  --
+-- Testing sort() by supplying hexadecimal value array, 'flag' value is default  --
 bool(true)
 array(11) {
   [0]=>
index 48d4a48758fe77e75111ad5023f1a4c47d91c5ee..7c2a4afe3e285f8826e01ca9b0cdb5494d0884d6 100644 (file)
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort boolean values
 
 /*
  * testing sort() by providing bool value array for $array argument with following flag values.
- * flag  value as defualt
+ * flag  value as default
  * SORT_REGULAR - compare items normally
 */
 
@@ -19,7 +19,7 @@ echo "*** Testing sort() : usage variations ***\n";
 // bool value array
 $bool_values = array (true, false, TRUE, FALSE);
 
-echo "\n-- Testing sort() by supplying bool value array, 'flag' value is defualt --\n";
+echo "\n-- Testing sort() by supplying bool value array, 'flag' value is default --\n";
 $temp_array = $bool_values;
 var_dump(sort($temp_array) );
 var_dump($temp_array);
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECT--
 *** Testing sort() : usage variations ***
 
--- Testing sort() by supplying bool value array, 'flag' value is defualt --
+-- Testing sort() by supplying bool value array, 'flag' value is default --
 bool(true)
 array(4) {
   [0]=>
index 87134716ca95d834d9e94113ce47c156debc8773..e4682e1702187336f068756c29f958680d3c16d3 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test sort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defualt/SORT_REGULAR
+Test sort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as default/SORT_REGULAR
 --FILE--
 <?php
 /* Prototype  : bool sort ( array &$array [, int $sort_flags] )
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort array with diff. sub arrays, 'sor
 
 /*
  * testing sort() by providing arrays contains sub arrays for $array argument with flowing flag values
- * flag value as defualt
+ * flag value as default
  * SORT_REGULAR - compare items normally
 */
 
@@ -39,8 +39,8 @@ echo "\n-- Testing sort() by supplying various arrays containing sub arrays --\n
 foreach ($various_arrays as $array) {
 
   echo "\n-- Iteration $count --\n";
-  // testing sort() function by supplying different arrays, flag value is defualt
-  echo "- With Defualt sort flag -\n";
+  // testing sort() function by supplying different arrays, flag value is default
+  echo "- With Default sort flag -\n";
   $temp_array = $array;
   var_dump(sort($temp_array) );
   var_dump($temp_array);
@@ -61,7 +61,7 @@ echo "Done\n";
 -- Testing sort() by supplying various arrays containing sub arrays --
 
 -- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(0) {
 }
@@ -71,7 +71,7 @@ array(0) {
 }
 
 -- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(1) {
   [0]=>
@@ -87,7 +87,7 @@ array(1) {
 }
 
 -- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(3) {
   [0]=>
@@ -119,7 +119,7 @@ array(3) {
 }
 
 -- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(4) {
   [0]=>
index bf7d03191daad83c30de5e01a69de7b4479575d3..c5488be175aeab06e4c528fa713c4e42c7a2a270 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Test sort() function : usage variations - sort diff. associative arrays, 'sort_flags' as defualt/SORT_REGULAR
+Test sort() function : usage variations - sort diff. associative arrays, 'sort_flags' as default/SORT_REGULAR
 --FILE--
 <?php
 /* Prototype  : bool sort ( array &$array [, int $sort_flags] )
@@ -11,7 +11,7 @@ Test sort() function : usage variations - sort diff. associative arrays, 'sort_f
 /*
  * Testing sort() by providing arrays  with key values for $array argument
  * with following flag values.
- * 1.flag value as defualt
+ * 1.flag value as default
  * 2.SORT_REGULAR - compare items normally
  * To test the new keys for the elements in the sorted array.
  */
@@ -38,7 +38,7 @@ echo "\n-- Testing sort() by supplying various arrays with key values --\n";
 foreach ($various_arrays as $array) {
   echo "\n-- Iteration $count --\n";
 
-  echo "- With Defualt sort flag -\n";
+  echo "- With Default sort flag -\n";
   $temp_array = $array;
   var_dump(sort($temp_array) );
   var_dump($temp_array);
@@ -58,7 +58,7 @@ echo "Done\n";
 -- Testing sort() by supplying various arrays with key values --
 
 -- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(5) {
   [0]=>
@@ -88,7 +88,7 @@ array(5) {
 }
 
 -- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(3) {
   [0]=>
@@ -164,7 +164,7 @@ array(3) {
 }
 
 -- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(6) {
   [0]=>
@@ -198,7 +198,7 @@ array(6) {
 }
 
 -- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(2) {
   [0]=>
@@ -216,7 +216,7 @@ array(2) {
 }
 
 -- Iteration 5 --
-- With Defualt sort flag -
+- With Default sort flag -
 bool(true)
 array(4) {
   [0]=>
index b79b2befe4ecaa2e194a06a889755b3a4de3561c..8873c715cbd2c786d975c5792e1d9aa3b172fef0 100644 (file)
@@ -58,7 +58,7 @@ for($count = 0; $count < count($permission_values); $count++) {
   // create the dir now
   @mkdir($dir_path);
 
-  // change the dir permisson to test dir on it
+  // change the dir permission to test dir on it
   var_dump( chmod($dir_path, $permission_values[$count]) );
 
   // try to get dir handle
index 0f2543805d07f3febac48e09c24c22a6db5845fb..fff52b88d9ca285a406b14b464d3430ff5449017 100644 (file)
@@ -56,7 +56,7 @@ foreach ($permission_values as $perm) {
        }
        mkdir($dir_path);
 
-       // change the dir permisson to test dir on it
+       // change the dir permission to test dir on it
        var_dump( chmod($dir_path, $perm) );
 
        var_dump($dh = opendir($dir_path));
index 920864d21a1e4bbea51136a23db8b9f18e1dceb9..e9d88dc835e88e5d90549826fd3849efc1b7a06a 100644 (file)
@@ -54,7 +54,7 @@ foreach($permission_values as $perm) {
        }
        mkdir($dir_path);
 
-       // change the dir permisson to test dir on it
+       // change the dir permission to test dir on it
        var_dump( chmod($dir_path, $perm) );
        var_dump($dh = opendir($dir_path));
 
index 901198ffaab95659f95a2613a3d2088255a3a552..a0fede44ade93151bb1ab0eb6c819c83440add5c 100644 (file)
@@ -53,7 +53,7 @@ foreach ($permission_values as $perm) {
        }
        mkdir($dir_path);
 
-       // change the dir permisson to test dir on it
+       // change the dir permission to test dir on it
        var_dump( chmod($dir_path, $perm) );
 
        var_dump(scandir($dir_path));
index b3a8165e5b2e83bac0e02f2c555736db02967928..bb5f597fcaf71d45af6728151630d5e3bd555dee 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #68335: rmdir doesnt work with file:// stream wrapper
+Bug #68335: rmdir doesn't work with file:// stream wrapper
 --FILE--
 <?php
 $dir = 'file://' . __DIR__ . '/testDir';
index 9b2cd715ccf6be4762c44d8da3ee5832a0bc629b..853be0a8de21013cc6e517aa6476bc8ab2e85df5 100644 (file)
@@ -7,7 +7,7 @@ Test fgets() function : basic functionality
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("r", "rb", "rt", "r+", "r+b", "r+t");
@@ -31,13 +31,13 @@ foreach($file_modes as $file_mode) {
     echo "-- fgets() with default length, file pointer at 0 --\n";
     var_dump( fgets($file_handle) ); // with default length
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
     var_dump( rewind($file_handle) );
     var_dump( fgets($file_handle, 23) ); // expected: 22 chars
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index ee3f8996ab77e9b7fcb1996615fc1893cb00c42b..cb10dfbc4da3413c237a03b1d686aadb32666f25 100644 (file)
@@ -7,7 +7,7 @@ Test fgets() function : usage variations - read with/without length
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
@@ -42,7 +42,7 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle) ); // with default length
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
     // get the file pointer to beginning of the file
@@ -51,7 +51,7 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle, 23) ); // expected: 22 chars
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index 629af64ad10ed2a5be2533e0cf509f4e5f0dd09a..df3bfa2087b5cac4221329abd8a4be5ce526d64c 100644 (file)
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle ) );
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     echo "-- fgets() with location set by fseek() with length = 20 --\n";
     var_dump( fseek($file_handle, 25, SEEK_SET) );
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index ed8378d3577fde98d7277f0893dbd6f1d74658a4..a7a43fdbb4b819c1cea35be37d8c55f76ca13e19 100644 (file)
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle ) );
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     echo "-- fgets() with location set by fseek() with length = 20 --\n";
     var_dump( fseek($file_handle, 25, SEEK_SET) );
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index cc29e2a620dc3ff8084eac4933aadf8a6d39e278..3dfc4ba801d4ddb1f133cae56c06156b203dfc82 100644 (file)
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle ) );
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     echo "-- fgets() with location set by fseek() with length = 20 --\n";
     var_dump( fseek($file_handle, 25, SEEK_SET) );
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index e0eaa9fe5dbc32aa33ba257f469fe3532fa9873f..138bd8f238f09ae3f34b127732d1a036dac143cf 100644 (file)
@@ -7,7 +7,7 @@ Test fgets() function : usage variations - read beyond filesize
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
@@ -42,7 +42,7 @@ foreach($file_modes as $file_mode) {
     var_dump( ftell($file_handle) );
     var_dump( fgets($file_handle, 50 + 23) ); // expected: 50
     var_dump( ftell($file_handle) ); // ensure the file pointer position
-    var_dump( feof($file_handle) );  // enusre if eof set
+    var_dump( feof($file_handle) );  // ensure if eof set
 
     //close file
     fclose($file_handle);
index f736d1ce748412ed5cc1ea7a05fcc08f3c030422..11899df1f7c2468a7da95de9ea4d10032b824e8d 100644 (file)
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
index 78af58c82def92d54018dda47086cacf6f08bad5..95a2a73adf14b702bb646a82ec511822dc011dbb 100644 (file)
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
  Description: Gets a line from file pointer
 */
 
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
 include ("file.inc");
 
 $file_modes = array("w+", "w+b", "w+t",
index df9c6da8f528e6561265ca8a5e2d52050d54799f..4434887c15076f118d2e1a4a2e100f58e2f7c04e 100644 (file)
@@ -79,7 +79,7 @@ foreach($file_content_types as $file_content_type) {
     }
 
     rewind($file_handle);
-    echo "-- Reading entire file content, expeceted : 1024 bytes --\n";
+    echo "-- Reading entire file content, expected : 1024 bytes --\n";
     // read from file, by giving the file actual size,
     $data_from_file = check_read($file_handle, 1024, (strstr($file_mode, "+") ? 1024 : 1024 ) );
     // calculate the hash and dump it, if data read, expecting here no data was read
@@ -87,7 +87,7 @@ foreach($file_content_types as $file_content_type) {
       var_dump( md5($data_from_file) );
 
     // reading file by giving less than its size
-    echo "-- Reading file content less than max. file size, expeceted : 1000 bytes --\n";
+    echo "-- Reading file content less than max. file size, expected : 1000 bytes --\n";
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1000, (strstr($file_mode, "+") ? 1000 : 1000 ) );
     // calculate the hash and dump it, if data read, expecting here no data was read
@@ -109,14 +109,14 @@ echo"Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -124,14 +124,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -139,14 +139,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -154,14 +154,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -169,14 +169,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -184,14 +184,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -199,14 +199,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -214,14 +214,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -229,14 +229,14 @@ int(1000)
 bool(false)
 string(32) "4501f99f2b79d0345f26f1394aca58a3"
 -- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -246,14 +246,14 @@ string(32) "4501f99f2b79d0345f26f1394aca58a3"
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -261,14 +261,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -276,14 +276,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -291,14 +291,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -306,14 +306,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -321,14 +321,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -336,14 +336,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -351,14 +351,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -366,14 +366,14 @@ int(1000)
 bool(false)
 string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 -- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -383,14 +383,14 @@ string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -398,14 +398,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -413,14 +413,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -428,14 +428,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -443,14 +443,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -458,14 +458,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -473,14 +473,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -488,14 +488,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -503,14 +503,14 @@ int(1000)
 bool(false)
 string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 -- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -520,14 +520,14 @@ string(32) "a148fa8110bbac875d84fc9d7056c0a1"
 
 -- Testing fread() with file having content of type alphanumeric --
 -- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -535,14 +535,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -550,14 +550,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -565,14 +565,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -580,14 +580,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -595,14 +595,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -610,14 +610,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -625,14 +625,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -640,14 +640,14 @@ int(1000)
 bool(false)
 string(32) "a49d752f980184c7f44568e930f89c72"
 -- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(false)
 string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 1000 bytes ... OK
index 908ce90f2eea3dd1c5b03cbc938c2778d2ace174..bd7d05055573bde3bb22c1efbf6eb420136eabdb 100644 (file)
@@ -78,7 +78,7 @@ foreach($file_content_types as $file_content_type) {
     }
 
     rewind($file_handle);
-    echo "-- Reading entire file content, expeceted : 0 bytes --\n";
+    echo "-- Reading entire file content, expected : 0 bytes --\n";
     // read from file, by giving the file actual size,
     $data_from_file = check_read($file_handle, 1024, (strstr($file_mode, "+") ? 1024 : 0 ) );
     // calculate the hash and dump it, if data read, expecting here no data was read
@@ -86,7 +86,7 @@ foreach($file_content_types as $file_content_type) {
       var_dump( md5($data_from_file) );
 
     // reading file by giving less than its size
-    echo "-- Reading file content less than max. file size, expeceted : 0 bytes --\n";
+    echo "-- Reading file content less than max. file size, expected : 0 bytes --\n";
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1000, (strstr($file_mode, "+") ? 1000 : 0 ) );
     // calculate the hash and dump it, if data read, expecting here no data was read
@@ -108,7 +108,7 @@ echo "Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -117,7 +117,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -127,7 +127,7 @@ int(0)
 bool(false)
 
 -- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -136,7 +136,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -146,7 +146,7 @@ int(0)
 bool(false)
 
 -- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -155,7 +155,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -165,7 +165,7 @@ int(0)
 bool(false)
 
 -- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -174,7 +174,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -184,7 +184,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -193,7 +193,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -203,7 +203,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -212,7 +212,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -222,7 +222,7 @@ int(0)
 bool(false)
 
 -- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -231,7 +231,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -241,7 +241,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -250,7 +250,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -260,7 +260,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -269,7 +269,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -281,7 +281,7 @@ bool(false)
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -290,7 +290,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -300,7 +300,7 @@ int(0)
 bool(false)
 
 -- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -309,7 +309,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -319,7 +319,7 @@ int(0)
 bool(false)
 
 -- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -328,7 +328,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -338,7 +338,7 @@ int(0)
 bool(false)
 
 -- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -347,7 +347,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -357,7 +357,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -366,7 +366,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -376,7 +376,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -385,7 +385,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -395,7 +395,7 @@ int(0)
 bool(false)
 
 -- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -404,7 +404,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -414,7 +414,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -423,7 +423,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -433,7 +433,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -442,7 +442,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -454,7 +454,7 @@ bool(false)
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -463,7 +463,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -473,7 +473,7 @@ int(0)
 bool(false)
 
 -- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -482,7 +482,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -492,7 +492,7 @@ int(0)
 bool(false)
 
 -- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -501,7 +501,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -511,7 +511,7 @@ int(0)
 bool(false)
 
 -- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -520,7 +520,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -530,7 +530,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -539,7 +539,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -549,7 +549,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -558,7 +558,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -568,7 +568,7 @@ int(0)
 bool(false)
 
 -- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -577,7 +577,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -587,7 +587,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -596,7 +596,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -606,7 +606,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -615,7 +615,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -627,7 +627,7 @@ bool(false)
 
 -- Testing fread() with file having content of type alphanumeric --
 -- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -636,7 +636,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -646,7 +646,7 @@ int(0)
 bool(false)
 
 -- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -655,7 +655,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -665,7 +665,7 @@ int(0)
 bool(false)
 
 -- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -674,7 +674,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -684,7 +684,7 @@ int(0)
 bool(false)
 
 -- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -693,7 +693,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -703,7 +703,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -712,7 +712,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -722,7 +722,7 @@ int(0)
 bool(false)
 
 -- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -731,7 +731,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -741,7 +741,7 @@ int(0)
 bool(false)
 
 -- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -750,7 +750,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -760,7 +760,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -769,7 +769,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
@@ -779,7 +779,7 @@ int(0)
 bool(false)
 
 -- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1024 bytes from file, expecting 0 bytes ... 
@@ -788,7 +788,7 @@ OK
 int(0)
 bool(false)
 
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
 int(0)
 bool(false)
 Reading 1000 bytes from file, expecting 0 bytes ... 
index cbc1b6d60b3a8d3c67cc3cda718a78bead940e93..43ccbe87ea3a58eb81721604031584642bc3e482 100644 (file)
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
     rewind($file_handle);
 
     // read file by giving size more than its size
-    echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+    echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
     if ( $data_from_file != false)
       var_dump( md5($data_from_file) );
 
     rewind($file_handle);
-    echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+    echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
     // try fread when file pointer at end
     fseek($file_handle, 0, SEEK_END);
     //reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1137)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1137)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1137)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
index d09917207ea270bd250692f9286324b3b24543eb..c5a1eef26d176f2160dafaec8400446ff9d5184d 100644 (file)
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
     rewind($file_handle);
 
     // read file by giving size more than its size
-    echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+    echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
     if ( $data_from_file != false)
       var_dump( md5($data_from_file) );
 
     rewind($file_handle);
-    echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+    echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
     // try fread when file pointer at end
     fseek($file_handle, 0, SEEK_END);
     //reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1137)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1137)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1137)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
index b0b374a4c69afad53183089b7211d581ad6e29c2..9bb735a76c18721eb31750f93476f4c9913d4ad7 100644 (file)
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
     rewind($file_handle);
 
     // read file by giving size more than its size
-    echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+    echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
     if ( $data_from_file != false)
       var_dump( md5($data_from_file) );
 
     rewind($file_handle);
-    echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+    echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
     // try fread when file pointer at end
     fseek($file_handle, 0, SEEK_END);
     //reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
 int(1024)
 bool(true)
 -- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 1024 bytes ... OK
 int(1024)
 bool(true)
 string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... OK
index de2fceb0347010f7de7c2d0e50124c443c481cbc..9c94a9932d662447e0839e9bc4cb83e7b653b14e 100644 (file)
@@ -75,14 +75,14 @@ foreach($file_content_types as $file_content_type) {
     }
 
     rewind($file_handle);
-    echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+    echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
     // read file by giving size more than its size
     rewind($file_handle);
     $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 0) );
     if ( $data_from_file != false)
       var_dump( md5($data_from_file) );
 
-    echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+    echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
     rewind($file_handle);
     // try fread when file pointer at end
     fseek($file_handle, 0, SEEK_END);
@@ -106,7 +106,7 @@ echo"Done\n";
 
 -- Testing fread() with file having content of type numeric --
 -- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -114,7 +114,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -123,7 +123,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -131,7 +131,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -140,7 +140,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -148,7 +148,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -157,7 +157,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -165,7 +165,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -174,7 +174,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -182,7 +182,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -191,7 +191,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -199,7 +199,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -208,7 +208,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -216,7 +216,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -225,7 +225,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -233,7 +233,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -242,7 +242,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -250,7 +250,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -261,7 +261,7 @@ bool(false)
 
 -- Testing fread() with file having content of type text --
 -- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -269,7 +269,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -278,7 +278,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -286,7 +286,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -295,7 +295,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -303,7 +303,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -312,7 +312,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -320,7 +320,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -329,7 +329,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -337,7 +337,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -346,7 +346,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -354,7 +354,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -363,7 +363,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -371,7 +371,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -380,7 +380,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -388,7 +388,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -397,7 +397,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -405,7 +405,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -416,7 +416,7 @@ bool(false)
 
 -- Testing fread() with file having content of type text_with_new_line --
 -- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -424,7 +424,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -433,7 +433,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -441,7 +441,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -450,7 +450,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -458,7 +458,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -467,7 +467,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -475,7 +475,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -484,7 +484,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -492,7 +492,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -501,7 +501,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -509,7 +509,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(%r1024|1137%r)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -518,7 +518,7 @@ OK
 int(%r1024|1137%r)
 bool(false)
 -- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -526,7 +526,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -535,7 +535,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -543,7 +543,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(1024)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
@@ -552,7 +552,7 @@ OK
 int(1024)
 bool(false)
 -- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
 int(0)
 bool(false)
 Reading 1030 bytes from file, expecting 0 bytes ... 
@@ -560,7 +560,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
 OK
 int(0)
 bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
 int(%r1024|1137%r)
 bool(false)
 Reading 10 bytes from file, expecting 0 bytes ... 
index 20535a05366c47597860ce610011b951c56230dc..37fe05560eed0153e4aceee0f7a67ab501bf6d24 100644 (file)
@@ -38,7 +38,7 @@ echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
 var_dump( mkdir("$file_path/tempx000/") );
 var_dump( rmdir("$file_path/tempx000/") );
 
-echo "\n*** Testing mkdir() with miscelleneous input ***\n";
+echo "\n*** Testing mkdir() with miscellaneous input ***\n";
 /* changing mode of mkdir to prevent creating sub-directory under it */
 var_dump( chmod("$file_path/mkdir私はガラスを食べられます/", 0000) );
 /* creating sub-directory test1 under mkdir, expected: false */
@@ -1606,7 +1606,7 @@ bool(false)
 bool(true)
 bool(true)
 
-*** Testing mkdir() with miscelleneous input ***
+*** Testing mkdir() with miscellaneous input ***
 bool(true)
 bool(true)
 bool(true)
index 3391472f991e405744b981e17bfa4130b81df4fb..eea106591743fef65905f1fed02d8e0b05918774 100644 (file)
@@ -38,7 +38,7 @@ echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
 var_dump( mkdir("$file_path/tempx000/") );
 var_dump( rmdir("$file_path/tempx000/") );
 
-echo "\n*** Testing mkdir() with miscelleneous input ***\n";
+echo "\n*** Testing mkdir() with miscellaneous input ***\n";
 /* changing mode of mkdir to prevent creating sub-directory under it */
 var_dump( chmod("$file_path/mkdir/", 0000) );
 /* creating sub-directory test1 under mkdir, expected: false */
@@ -1606,7 +1606,7 @@ bool(false)
 bool(true)
 bool(true)
 
-*** Testing mkdir() with miscelleneous input ***
+*** Testing mkdir() with miscellaneous input ***
 bool(true)
 bool(true)
 bool(true)
index a671c22fdac656e2469762f50ba89f193b600d68..799a264e3411d52d689ce69422c1cc3540f70521 100644 (file)
@@ -6,7 +6,7 @@ Test pathinfo() function: usage variations
    Description: Returns information about a file path
 */
 
-echo "*** Testing pathinfo() with miscelleneous input arguments ***\n";
+echo "*** Testing pathinfo() with miscellaneous input arguments ***\n";
 
 $fp = fopen(__FILE__, "r");
 unset($fp);
@@ -88,7 +88,7 @@ foreach($paths as $path) {
 echo "Done\n";
 ?>
 --EXPECTF--
-*** Testing pathinfo() with miscelleneous input arguments ***
+*** Testing pathinfo() with miscellaneous input arguments ***
 
 Warning: Undefined variable: fp in %s on line %d
 -- Iteration 1 --
index 38c69f97f20d11c45db0316de39d24cab85c9022..953d7df04581e419632f855e9173295d40d0d793 100644 (file)
@@ -31,7 +31,7 @@ fclose($file_handle);
 
 
 // checking stat() on file
-echo "\n*** Testing stat() on file with miscelleneous file permission and content ***\n";
+echo "\n*** Testing stat() on file with miscellaneous file permission and content ***\n";
 $old_stat = stat($filename);
 var_dump( chmod($filename, 0777) );
 // clear the stat
@@ -48,7 +48,7 @@ var_dump( compare_stats($old_stat, $new_stat, $affected_members, "==") );
 clearstatcache();  // clear statement cache
 
 // checking stat() on directory
-echo "\n*** Testing stat() on directory with miscelleneous file permission ***\n";
+echo "\n*** Testing stat() on directory with miscellaneous file permission ***\n";
 $old_stat = stat($dirname);
 var_dump( chmod($dirname, 0777) );
 // clear the stat
@@ -74,13 +74,13 @@ unlink("$file_path/stat_variation6.tmp");
 rmdir("$file_path/stat_variation6");
 ?>
 --EXPECT--
-*** Testing stat() on file with miscelleneous file permission and content ***
+*** Testing stat() on file with miscellaneous file permission and content ***
 bool(true)
 bool(true)
 bool(true)
 bool(true)
 
-*** Testing stat() on directory with miscelleneous file permission ***
+*** Testing stat() on directory with miscellaneous file permission ***
 bool(true)
 bool(true)
 bool(true)
index 04daa591b0d74a97c3d31039f36315a6ea851d4c..a2a42a3d904f5eb2f226189854f7c42d827190c6 100644 (file)
@@ -50,7 +50,7 @@ echo "lstat() returns lstat['dev'] as $s1[0]\n";
 if( $s1[0] == $linkinfo )
   echo "\nlinkinfo() value matches lstat['dev']\n";
 else
-  echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
+  echo "\nWarning: linkinfo() value doesn't match lstat['dev']\n";
 // delete link
 unlink($soft_link);
 
@@ -65,7 +65,7 @@ echo "lstat() returns lstat['dev'] as $s1[0]\n";
 if( $s1[0] == $linkinfo )
   echo "\nlinkinfo() value matches lstat['dev']\n";
 else
-  echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
+  echo "\nWarning: linkinfo() value doesn't match lstat['dev']\n";
 
 // delete link
 unlink($hard_link);
@@ -82,7 +82,7 @@ echo "lstat() returns lstat['dev'] as $s1[0]\n";
 if( $s1[0] == $linkinfo )
   echo "\nlinkinfo() value matches lstat['dev']\n";
 else
-  echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
+  echo "\nWarning: linkinfo() value doesn't match lstat['dev']\n";
 
 // delete link
 unlink($soft_link);
index 872326bad8d0706f241e981fceaaf07cbe59a552..ff9010183b67d24b531a4bc68af4097c415bc5d4 100644 (file)
@@ -16,7 +16,7 @@ fclose($fp);
 
 // delete file
 var_dump( unlink($filename) );
-var_dump( file_exists($filename) );  // confirm file doesnt exist
+var_dump( file_exists($filename) );  // confirm file doesn't exist
 
 echo "\n*** Testing unlink() : checking second argument ***\n";
 // creating a context
@@ -28,7 +28,7 @@ fclose($fp);
 
 // delete file
 var_dump( unlink($filename, $context) );  // using $context in second argument
-var_dump( file_exists($filename) );  // confirm file doesnt exist
+var_dump( file_exists($filename) );  // confirm file doesn't exist
 
 echo "Done\n";
 ?>
index 833c083b19e9998e5ac15d747433b72e6d7cdce6..400e52e5565ccc08cab10d77a9d1fa0dca43bd20 100644 (file)
@@ -28,13 +28,13 @@ echo "*** Testing unlink() : error conditions ***\n";
 echo "\n-- Testing unlink() on invalid arguments --\n";
 // invalid arguments
 var_dump( unlink('') );  // $filename as empty string
-var_dump( file_exists('') );  // confirm file doesnt exist
+var_dump( file_exists('') );  // confirm file doesn't exist
 
 var_dump( unlink(NULL) );  // $filename as NULL
-var_dump( file_exists(NULL) );  // confirm file doesnt exist
+var_dump( file_exists(NULL) );  // confirm file doesn't exist
 
 var_dump( unlink(false) );  // $filename as boolean false
-var_dump( file_exists(false) );  // confirm file doesnt exist
+var_dump( file_exists(false) );  // confirm file doesn't exist
 
 
 echo "\n-- Testing unlink() on non-existent file --\n";
index 535b3d0adf7fc2ee1c55dceff40070fd1fdc906d..2b1df9652fd98034f96fe54a0203705a2d7db61d 100644 (file)
@@ -26,13 +26,13 @@ echo "*** Testing unlink() : error conditions ***\n";
 echo "\n-- Testing unlink() on invalid arguments --\n";
 // invalid arguments
 var_dump( unlink('') );  // $filename as empty string
-var_dump( file_exists('') );  // confirm file doesnt exist
+var_dump( file_exists('') );  // confirm file doesn't exist
 
 var_dump( unlink(NULL) );  // $filename as NULL
-var_dump( file_exists(NULL) );  // confirm file doesnt exist
+var_dump( file_exists(NULL) );  // confirm file doesn't exist
 
 var_dump( unlink(false) );  // $filename as boolean false
-var_dump( file_exists(false) );  // confirm file doesnt exist
+var_dump( file_exists(false) );  // confirm file doesn't exist
 
 
 echo "\n-- Testing unlink() on non-existent file --\n";
index df5b5b9755597715834e407264efbf39eabd473c..5bf2227ca5c0bac4868cd697ff6fc7faeb1e8a26 100644 (file)
@@ -26,13 +26,13 @@ echo "*** Testing unlink() : error conditions ***\n";
 echo "\n-- Testing unlink() on invalid arguments --\n";
 // invalid arguments
 var_dump( unlink('') );  // $filename as empty string
-var_dump( file_exists('') );  // confirm file doesnt exist
+var_dump( file_exists('') );  // confirm file doesn't exist
 
 var_dump( unlink(NULL) );  // $filename as NULL
-var_dump( file_exists(NULL) );  // confirm file doesnt exist
+var_dump( file_exists(NULL) );  // confirm file doesn't exist
 
 var_dump( unlink(false) );  // $filename as boolean false
-var_dump( file_exists(false) );  // confirm file doesnt exist
+var_dump( file_exists(false) );  // confirm file doesn't exist
 
 echo "\n-- Testing unlink() on non-existent file --\n";
 var_dump( unlink(__DIR__."/non_existent_file.tmp") );
index d622089cffcb18be8966549c28fe1c682b777629..1b0a919e033b2d05fb113c4914a084c25f6109f3 100644 (file)
@@ -85,7 +85,7 @@ debug_zval_dump($var_1);
 echo "\n-- Value of \$var_2: --\n";
 debug_zval_dump($var_2);
 
-echo "\n*** Testing debug_zval_dump() on miscelleneous input arguments ***\n";
+echo "\n*** Testing debug_zval_dump() on miscellaneous input arguments ***\n";
 /* unset a variable */
 $unset_var = 10.5;
 unset($unset_var);
@@ -183,7 +183,7 @@ NULL
 -- Value of $var_2: --
 int(10)
 
-*** Testing debug_zval_dump() on miscelleneous input arguments ***
+*** Testing debug_zval_dump() on miscellaneous input arguments ***
 -- Iteration 1 --
 NULL
 -- Iteration 2 --
index 311b6395cd72ebb7b800be23cf17c83245b528e9..baaddcefaee60a674f46b9408e2536f9b00c4168 100644 (file)
@@ -20,7 +20,7 @@ setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","d
 */
 
 echo "*** Testing var_export() with integer values ***\n";
-// different integer vlaues
+// different integer values
 $valid_ints = array(
                 '0',
                 '1',
@@ -56,7 +56,7 @@ $counter++;
 }
 
 echo "*** Testing var_export() with valid boolean values ***\n";
-// different valid  boolean vlaues
+// different valid  boolean values
 $valid_bool = array(
                    1,
                    TRUE,
@@ -80,7 +80,7 @@ $counter++;
 }
 
 echo "*** Testing var_export() with valid float values ***\n";
-// different valid  float vlaues
+// different valid  float values
 $valid_floats = array(
   (float)-2147483649, // float value
   (float)2147483648,  // float value
@@ -279,7 +279,7 @@ $counter++;
 }
 
 echo "*** Testing var_export() with valid null values ***\n";
-// different valid  null vlaues
+// different valid  null values
 $unset_var = array();
 unset ($unset_var); // now a null
 $null_var = NULL;
index 61e69c63151ac72a843c0247e78c02d3c4fb031f..7473fbd8a3f3f43089786574f64d8c9c588bd0e4 100644 (file)
@@ -15,7 +15,7 @@ if (PHP_INT_SIZE > 4) {
  */
 
 echo "*** Testing var_export() with integer values ***\n";
-// different integer vlaues
+// different integer values
 $valid_ints = array(
                 '0' => '0',
                 '1' => '1',
index d7f64e08743471da7c15681324c68ec3d1c86f5b..cdfa4794e665a65e5c28c124755dd70f42d150ba 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #70720 (strip_tags() doesnt handle "xml" correctly)
+Bug #70720 (strip_tags() doesn't handle "xml" correctly)
 --FILE--
 <?php
 var_dump(strip_tags('<?php $dom->test(); ?> this is a test'));
index 191ab1207c692adeb46f99867d3b207b31b12e7f..7c1fe0fd5eb119b88ba05b4062721bdfab2a3c3b 100644 (file)
@@ -57,7 +57,7 @@ foreach($delimiters as $delimiter) {
     $counter++;
 }
 
-echo "\n*** Testing explode() with miscelleneous input arguments ***\n";
+echo "\n*** Testing explode() with miscellaneous input arguments ***\n";
 
 echo "\n-- Passing positive values of Limit to explode() --\n";
 /* LIMIT=2 */
@@ -303,7 +303,7 @@ array(2) {
   string(8) "PHP%ZEND"
 }
 
-*** Testing explode() with miscelleneous input arguments ***
+*** Testing explode() with miscellaneous input arguments ***
 
 -- Passing positive values of Limit to explode() --
 array(2) {
index a89612332117e631cb24dfe043b9fceb7e436e9b..4e3b50a1fdf8def6d953fd5997ec811c584e73ce 100644 (file)
@@ -37,7 +37,7 @@ $pieces_arrays = array (
   array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
   array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
 
-  // array with repetative keys
+  // array with repetitive keys
   array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
 );
 
index 040e37970d8d89a7282027a69a9be95827ff1e95..d52c0676c989fbf270e7cbcfa4b7a39f45f82375 100644 (file)
@@ -12,7 +12,7 @@ precision=14
 */
 
 
-echo "\n*** Testing Miscelleneous input data ***\n";
+echo "\n*** Testing Miscellaneous input data ***\n";
 /*  If replace has fewer values than search, then an empty
     string is used for the rest of replacement values */
 var_dump( str_replace(array("a", "a", "b"),
@@ -148,7 +148,7 @@ closedir($resource2);
 
 ?>
 --EXPECTF--
-*** Testing Miscelleneous input data ***
+*** Testing Miscellaneous input data ***
 string(3) "qqq"
 int(5)
 array(3) {
index 7d3b4ff4e76426edfbcae4f473fbfc7a1a1c667b..f9bc28c6f2c784d962f48ea2a09958f3c0e1dee7 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : basic functionality
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description : splits the given source into an array of PHP languange tokens
+ * Description : splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index af2e413d387ecfeaaf149e52f889e80e6be19bd8..e81643fd61f478aa3da1d232a6b3f9881962e91b 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with constant tokens
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 146e433e12cafd39a1832ecbfebea9f439b8777d..e3add6ed3a9d8c839c9332eaa769a862c7c8cd1d 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with control structure tokens
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 4c792d59a9c4d20bf2bcb8fcf95dcdb3288e7761..9f3fcd82405a96b6cb3d733a4875ee92d6468ad8 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with class/object constructs
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 52d29198c7f7b3a9051f893b901b731ae44262be..9c1d16a44e0cafb8757e3ec7cd08f6af274c196e 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - invalid token values
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index b9e6c1fd9f00c737b5f325aae3a895b0801e0b0b..5b7fcec66afa66c30c783836cd3556aa090d9666 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - heredoc string for 'source'
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 88fa59760fbf26fafcfc5aefa70f2e6aa85e429e..f93ec870fcd8f4f61c357495df7ea2c745c6c9f6 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with function constructs
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index bc9f3df65b8948e0d48f8c63e12222277da61a93..dcbabccc767b187285edb83960b24312c468d44f 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with exception keywords
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 7da1eaac81e9ba2fdc87af1b3482db1e67b93bc0..7535d15b1148fc7a78ea96e257663ca84d9fb945 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with HTML code
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 401fb7d0950c31d11531c2b14b5e738c2c38d7e7..866a67c6b6c19f5dd2d85db30d21dd891d889709 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with different arithmetic ope
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index f00ed7966fd3bc6db48e6f5bfa416ee47910f8ea..fc995918bd5d05c5df7ef41beddf4d55e0e9fc5e 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with logical operators
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 1ebafaec3aeaba46c6b2d6ee919a7490240d0ede..3bd05295fe7bae69d5cc626069991fb894ba75d5 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with comparison operators
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 2d8121fd80e79e3d21504c1efe0a8571010d8456..d81562060a6e712733f5f5bc0ef21197e80dc52d 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with assignment operators
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 6213dab9d0522a025c05f5a1c42d58a19e18bed9..06c13bd32c18acbd4c095297b8d229c1cd51af90 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with bitwise operators
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 36fda3298c2826a3e537fa28052509f611d9ce1d..8ba8db8b7e3b3fe6d6d7ca392ce20eb1d618db27 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with increment/decrement oper
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index c80a5d0f04d5a3f4bbb6e0486cb152b48c43751c..f1c3ff15e0a054b813fad964c7976880e7fd79c2 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with type casting operators
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 1662fb27f382ae7cfc894024425c6443de674f6d..e61093304b650a32eee9c6dcae124d2446ce8632 100644 (file)
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with different types of comme
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
  * Source code: ext/tokenizer/tokenizer.c
 */
 
index 5e50e3d1aad65647085950e33efb9af0b7742e37..eb452788b1071432d27e5074e88f3ffb3de42de7 100644 (file)
@@ -148,7 +148,7 @@ int fuzzer_request_startup()
        }
 
 #ifdef ZEND_SIGNALS
-       /* Some signal handlers will be overriden,
+       /* Some signal handlers will be overridden,
         * don't complain about them during shutdown. */
        SIGG(check) = 0;
 #endif
index 1dc5fc59be97de1a2d6d7818c981079eb5226c91..c6b59cb765ddf68fcdd181e8b380043eabf6c7b2 100644 (file)
@@ -1,13 +1,13 @@
 --TEST--
-output buffering - stati
+output buffering - statuses
 --INI--
 opcache.optimization_level=0
 --FILE--
 <?php
-$stati = array();
+$statuses = array();
 function oh($str, $flags) {
-       global $stati;
-       $stati[] = "$flags: $str";
+       global $statuses;
+       $statuses[] = "$flags: $str";
        return $str;
 }
 ob_start("oh", 3);
@@ -19,7 +19,7 @@ ob_clean();
 echo "yes!\n";
 echo "no";
 ob_end_clean();
-print_r($stati);
+print_r($statuses);
 ?>
 --EXPECT--
 yes!