From: Christoph M. Becker Date: Sat, 21 Dec 2019 10:58:00 +0000 (+0100) Subject: Fix #78880: Spelling error report X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dabc28d18245086a68c88d50dfba380ebd60a236;p=php Fix #78880: Spelling error report We fix the most often occuring typos according to a recent codespell report[1] in tests, code comments and documentation. [1] . --- diff --git a/EXTENSIONS b/EXTENSIONS index 3edbff504c..82ef4d5d54 100644 --- a/EXTENSIONS +++ b/EXTENSIONS @@ -60,7 +60,7 @@ SINCE: 5.3 ------------------------------------------------------------------------------- EXTENSION: phpdbg PRIMARY MAINTAINER: Joe Watkins , Bob Weinand -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 ------------------------------------------------------------------------------- diff --git a/Zend/tests/try/try_catch_finally_006.phpt b/Zend/tests/try/try_catch_finally_006.phpt index d6466ab5a7..d8516028ec 100644 --- a/Zend/tests/try/try_catch_finally_006.phpt +++ b/Zend/tests/try/try_catch_finally_006.phpt @@ -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" diff --git a/Zend/tests/try/try_catch_finally_007.phpt b/Zend/tests/try/try_catch_finally_007.phpt index 7c2d5ea125..1885f845e9 100644 --- a/Zend/tests/try/try_catch_finally_007.phpt +++ b/Zend/tests/try/try_catch_finally_007.phpt @@ -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" diff --git a/ext/date/tests/DateTimeZone_clone_basic2.phpt b/ext/date/tests/DateTimeZone_clone_basic2.phpt index 050777d87c..bbda5fb4a2 100644 --- a/ext/date/tests/DateTimeZone_clone_basic2.phpt +++ b/ext/date/tests/DateTimeZone_clone_basic2.phpt @@ -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-- --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) diff --git a/ext/date/tests/DateTime_clone_basic2.phpt b/ext/date/tests/DateTime_clone_basic2.phpt index e0abaa21f5..944b74abcb 100644 --- a/ext/date/tests/DateTime_clone_basic2.phpt +++ b/ext/date/tests/DateTime_clone_basic2.phpt @@ -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-- --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) diff --git a/ext/opcache/Optimizer/zend_ssa.c b/ext/opcache/Optimizer/zend_ssa.c index 14d88bc39b..ea04a422bc 100644 --- a/ext/opcache/Optimizer/zend_ssa.c +++ b/ext/opcache/Optimizer/zend_ssa.c @@ -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); diff --git a/ext/opcache/jit/libudis86/decode.c b/ext/opcache/jit/libudis86/decode.c index 036b9ed012..1c97d280d9 100644 --- a/ext/opcache/jit/libudis86/decode.c +++ b/ext/opcache/jit/libudis86/decode.c @@ -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. */ diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 003c326ff6..0c2ba37a23 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -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; diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt index 37dda2c0f5..d0a889a6d4 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt @@ -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}" } diff --git a/ext/pdo_oci/tests/bug_33707.phpt b/ext/pdo_oci/tests/bug_33707.phpt index 9b682cac95..7765d36343 100644 --- a/ext/pdo_oci/tests/bug_33707.phpt +++ b/ext/pdo_oci/tests/bug_33707.phpt @@ -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-- diff --git a/ext/pgsql/tests/bug71998.phpt b/ext/pgsql/tests/bug71998.phpt index 0aed3afa0e..01d295e3e8 100644 --- a/ext/pgsql/tests/bug71998.phpt +++ b/ext/pgsql/tests/bug71998.phpt @@ -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 diff --git a/ext/reflection/tests/010.phpt b/ext/reflection/tests/010.phpt index 8345dc35bf..ae667b65ab 100644 --- a/ext/reflection/tests/010.phpt +++ b/ext/reflection/tests/010.phpt @@ -1,5 +1,5 @@ --TEST-- -ReflectionMethod::__toString() tests (overriden method) +ReflectionMethod::__toString() tests (overridden method) --FILE-- getConstant('a')); - var_dump($rc->getConstant('doesntexist')); + var_dump($rc->getConstant('doesnotexist')); } ?> --EXPECT-- diff --git a/ext/reflection/tests/ReflectionClass_getMethod_001.phpt b/ext/reflection/tests/ReflectionClass_getMethod_001.phpt index 59887991ec..e2a4eb9903 100644 --- a/ext/reflection/tests/ReflectionClass_getMethod_001.phpt +++ b/ext/reflection/tests/ReflectionClass_getMethod_001.phpt @@ -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 diff --git a/ext/reflection/tests/ReflectionClass_getProperty_001.phpt b/ext/reflection/tests/ReflectionClass_getProperty_001.phpt index 830608e0ca..b69d51eb00 100644 --- a/ext/reflection/tests/ReflectionClass_getProperty_001.phpt +++ b/ext/reflection/tests/ReflectionClass_getProperty_001.phpt @@ -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 diff --git a/ext/reflection/tests/ReflectionClass_getProperty_003.phpt b/ext/reflection/tests/ReflectionClass_getProperty_003.phpt index 61d63362dc..7011a0912c 100644 --- a/ext/reflection/tests/ReflectionClass_getProperty_003.phpt +++ b/ext/reflection/tests/ReflectionClass_getProperty_003.phpt @@ -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 diff --git a/ext/reflection/tests/ReflectionClass_getProperty_004.phpt b/ext/reflection/tests/ReflectionClass_getProperty_004.phpt index ce2aa57871..95f821e472 100644 --- a/ext/reflection/tests/ReflectionClass_getProperty_004.phpt +++ b/ext/reflection/tests/ReflectionClass_getProperty_004.phpt @@ -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 diff --git a/ext/reflection/tests/ReflectionClass_hasConstant_001.phpt b/ext/reflection/tests/ReflectionClass_hasConstant_001.phpt index 84e334ba19..22ef1f50c5 100644 --- a/ext/reflection/tests/ReflectionClass_hasConstant_001.phpt +++ b/ext/reflection/tests/ReflectionClass_hasConstant_001.phpt @@ -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) diff --git a/ext/reflection/tests/ReflectionClass_hasMethod_001.phpt b/ext/reflection/tests/ReflectionClass_hasMethod_001.phpt index dec76febe1..bf2a3c9bb5 100644 --- a/ext/reflection/tests/ReflectionClass_hasMethod_001.phpt +++ b/ext/reflection/tests/ReflectionClass_hasMethod_001.phpt @@ -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) diff --git a/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt b/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt index a6c3753a78..6abf392eae 100644 --- a/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt +++ b/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt @@ -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) diff --git a/ext/reflection/tests/ReflectionObject_getConstant_basic.phpt b/ext/reflection/tests/ReflectionObject_getConstant_basic.phpt index 7f9bc1f35c..9e61ee90da 100644 --- a/ext/reflection/tests/ReflectionObject_getConstant_basic.phpt +++ b/ext/reflection/tests/ReflectionObject_getConstant_basic.phpt @@ -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-- diff --git a/ext/reflection/tests/bug53366.phpt b/ext/reflection/tests/bug53366.phpt index 5fb119d820..61493d5302 100644 --- a/ext/reflection/tests/bug53366.phpt +++ b/ext/reflection/tests/bug53366.phpt @@ -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-- --FILE-- diff --git a/ext/simplexml/tests/sxe_005.phpt b/ext/simplexml/tests/sxe_005.phpt index 2c7aedf4d1..e1714489d3 100644 --- a/ext/simplexml/tests/sxe_005.phpt +++ b/ext/simplexml/tests/sxe_005.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: SimpleXMLIterator and overriden count() +SPL: SimpleXMLIterator and overridden count() --SKIPIF-- --INI-- diff --git a/ext/soap/tests/bugs/bug50698_2.phpt b/ext/soap/tests/bugs/bug50698_2.phpt index 994d78dce9..ac2214e830 100644 --- a/ext/soap/tests/bugs/bug50698_2.phpt +++ b/ext/soap/tests/bugs/bug50698_2.phpt @@ -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-- --INI-- diff --git a/ext/soap/tests/bugs/bug50698_3.phpt b/ext/soap/tests/bugs/bug50698_3.phpt index c2f66a1618..b29ab2b9c8 100644 --- a/ext/soap/tests/bugs/bug50698_3.phpt +++ b/ext/soap/tests/bugs/bug50698_3.phpt @@ -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-- --INI-- diff --git a/ext/soap/tests/bugs/bug50698_4.phpt b/ext/soap/tests/bugs/bug50698_4.phpt index 6240d11892..aea3204661 100644 --- a/ext/soap/tests/bugs/bug50698_4.phpt +++ b/ext/soap/tests/bugs/bug50698_4.phpt @@ -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-- --INI-- diff --git a/ext/soap/tests/bugs/bug70469.phpt b/ext/soap/tests/bugs/bug70469.phpt index 1186cc003f..b3f4ba01a7 100644 --- a/ext/soap/tests/bugs/bug70469.phpt +++ b/ext/soap/tests/bugs/bug70469.phpt @@ -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 diff --git a/ext/spl/tests/array_024.phpt b/ext/spl/tests/array_024.phpt index 0c073bfe78..6223b8072e 100644 --- a/ext/spl/tests/array_024.phpt +++ b/ext/spl/tests/array_024.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: ArrayObject with overriden count() +SPL: ArrayObject with overridden count() --FILE-- 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) { diff --git a/ext/standard/tests/array/array_combine_variation3.phpt b/ext/standard/tests/array/array_combine_variation3.phpt index ba349c3921..23b5017570 100644 --- a/ext/standard/tests/array/array_combine_variation3.phpt +++ b/ext/standard/tests/array/array_combine_variation3.phpt @@ -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) ); diff --git a/ext/standard/tests/array/array_diff_assoc_variation6.phpt b/ext/standard/tests/array/array_diff_assoc_variation6.phpt index 2ea2c461c6..bfbb0582ea 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation6.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation6.phpt @@ -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 diff --git a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt index 3490c4f25c..f4de4c68e7 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt @@ -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 --"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt index 12cf4d7307..e3d12cd90d 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt @@ -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 --"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation3.phpt b/ext/standard/tests/array/array_intersect_assoc_variation3.phpt index 44eaf4d410..5b3578430d 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation3.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation3.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation4.phpt b/ext/standard/tests/array/array_intersect_assoc_variation4.phpt index df3cbfbcd7..17654feb75 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation4.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation4.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation5.phpt b/ext/standard/tests/array/array_intersect_assoc_variation5.phpt index 3a86aa9466..104e6e7f26 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation5.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation6.phpt b/ext/standard/tests/array/array_intersect_assoc_variation6.phpt index e40f56bed0..fcbdd70a3c 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation6.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation7.phpt b/ext/standard/tests/array/array_intersect_assoc_variation7.phpt index ca803e50a9..a77a59c04b 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation7.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_assoc_variation8.phpt b/ext/standard/tests/array/array_intersect_assoc_variation8.phpt index a287f4742f..68868c44cf 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation8.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation1.phpt b/ext/standard/tests/array/array_intersect_variation1.phpt index d38a284496..f0b1144ed3 100644 --- a/ext/standard/tests/array/array_intersect_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_variation1.phpt @@ -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 --"; diff --git a/ext/standard/tests/array/array_intersect_variation2.phpt b/ext/standard/tests/array/array_intersect_variation2.phpt index 08f6c9bb48..dae028898c 100644 --- a/ext/standard/tests/array/array_intersect_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_variation2.phpt @@ -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 --"; diff --git a/ext/standard/tests/array/array_intersect_variation3.phpt b/ext/standard/tests/array/array_intersect_variation3.phpt index e6d22405ba..de831a903e 100644 --- a/ext/standard/tests/array/array_intersect_variation3.phpt +++ b/ext/standard/tests/array/array_intersect_variation3.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation4.phpt b/ext/standard/tests/array/array_intersect_variation4.phpt index e019e4ef3e..dfbfdbe2f9 100644 --- a/ext/standard/tests/array/array_intersect_variation4.phpt +++ b/ext/standard/tests/array/array_intersect_variation4.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation5.phpt b/ext/standard/tests/array/array_intersect_variation5.phpt index 6626c68de2..a500498394 100644 --- a/ext/standard/tests/array/array_intersect_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_variation5.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation6.phpt b/ext/standard/tests/array/array_intersect_variation6.phpt index e605b86bd1..faa66fe1ee 100644 --- a/ext/standard/tests/array/array_intersect_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_variation6.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation7.phpt b/ext/standard/tests/array/array_intersect_variation7.phpt index 4da1b9b7ac..818bc1daf9 100644 --- a/ext/standard/tests/array/array_intersect_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_variation7.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_intersect_variation8.phpt b/ext/standard/tests/array/array_intersect_variation8.phpt index 2934fe09a4..6144cfde29 100644 --- a/ext/standard/tests/array/array_intersect_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_variation8.phpt @@ -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"; diff --git a/ext/standard/tests/array/array_map_variation3.phpt b/ext/standard/tests/array/array_map_variation3.phpt index 3e8bfea962..c37925c05e 100644 --- a/ext/standard/tests/array/array_map_variation3.phpt +++ b/ext/standard/tests/array/array_map_variation3.phpt @@ -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) ); diff --git a/ext/standard/tests/array/array_pad_variation6.phpt b/ext/standard/tests/array/array_pad_variation6.phpt index 1ef1ef067c..f4d92abcfc 100644 --- a/ext/standard/tests/array/array_pad_variation6.phpt +++ b/ext/standard/tests/array/array_pad_variation6.phpt @@ -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) ); diff --git a/ext/standard/tests/array/array_reverse_variation3.phpt b/ext/standard/tests/array/array_reverse_variation3.phpt index a5ef1e0d2b..7500719693 100644 --- a/ext/standard/tests/array/array_reverse_variation3.phpt +++ b/ext/standard/tests/array/array_reverse_variation3.phpt @@ -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) ); diff --git a/ext/standard/tests/array/array_unshift_variation3.phpt b/ext/standard/tests/array/array_unshift_variation3.phpt index 3c0e0a3400..0138e0bf70 100644 --- a/ext/standard/tests/array/array_unshift_variation3.phpt +++ b/ext/standard/tests/array/array_unshift_variation3.phpt @@ -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) ); diff --git a/ext/standard/tests/array/arsort_object1.phpt b/ext/standard/tests/array/arsort_object1.phpt index 6a1edfd8b5..bdbec46179 100644 --- a/ext/standard/tests/array/arsort_object1.phpt +++ b/ext/standard/tests/array/arsort_object1.phpt @@ -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); diff --git a/ext/standard/tests/array/arsort_object2.phpt b/ext/standard/tests/array/arsort_object2.phpt index 6e252bc88b..5ad85571fd 100644 --- a/ext/standard/tests/array/arsort_object2.phpt +++ b/ext/standard/tests/array/arsort_object2.phpt @@ -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 */ diff --git a/ext/standard/tests/array/arsort_variation10.phpt b/ext/standard/tests/array/arsort_variation10.phpt index 67a0499aa3..058b331010 100644 --- a/ext/standard/tests/array/arsort_variation10.phpt +++ b/ext/standard/tests/array/arsort_variation10.phpt @@ -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]=> diff --git a/ext/standard/tests/array/arsort_variation3.phpt b/ext/standard/tests/array/arsort_variation3.phpt index 9f8d47f47c..9981f7a984 100644 --- a/ext/standard/tests/array/arsort_variation3.phpt +++ b/ext/standard/tests/array/arsort_variation3.phpt @@ -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 */ diff --git a/ext/standard/tests/array/arsort_variation4.phpt b/ext/standard/tests/array/arsort_variation4.phpt index fa939472b9..3852989bb5 100644 --- a/ext/standard/tests/array/arsort_variation4.phpt +++ b/ext/standard/tests/array/arsort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/arsort_variation5.phpt b/ext/standard/tests/array/arsort_variation5.phpt index 15a8395481..42062e937d 100644 --- a/ext/standard/tests/array/arsort_variation5.phpt +++ b/ext/standard/tests/array/arsort_variation5.phpt @@ -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 */ diff --git a/ext/standard/tests/array/arsort_variation6.phpt b/ext/standard/tests/array/arsort_variation6.phpt index 058a5077b1..10825d1f08 100644 --- a/ext/standard/tests/array/arsort_variation6.phpt +++ b/ext/standard/tests/array/arsort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/arsort_variation7.phpt b/ext/standard/tests/array/arsort_variation7.phpt index 3c8b6206c2..929b441d15 100644 --- a/ext/standard/tests/array/arsort_variation7.phpt +++ b/ext/standard/tests/array/arsort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/asort_object1.phpt b/ext/standard/tests/array/asort_object1.phpt index 21984de67e..e2fa42993e 100644 --- a/ext/standard/tests/array/asort_object1.phpt +++ b/ext/standard/tests/array/asort_object1.phpt @@ -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]=> diff --git a/ext/standard/tests/array/asort_object2.phpt b/ext/standard/tests/array/asort_object2.phpt index 8f2a666146..1de4f35fae 100644 --- a/ext/standard/tests/array/asort_object2.phpt +++ b/ext/standard/tests/array/asort_object2.phpt @@ -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 */ diff --git a/ext/standard/tests/array/asort_variation10.phpt b/ext/standard/tests/array/asort_variation10.phpt index 4b9ccd2f51..0ead69d27e 100644 --- a/ext/standard/tests/array/asort_variation10.phpt +++ b/ext/standard/tests/array/asort_variation10.phpt @@ -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]=> diff --git a/ext/standard/tests/array/asort_variation3.phpt b/ext/standard/tests/array/asort_variation3.phpt index 4ad106b658..a1435ecd9c 100644 --- a/ext/standard/tests/array/asort_variation3.phpt +++ b/ext/standard/tests/array/asort_variation3.phpt @@ -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 */ diff --git a/ext/standard/tests/array/asort_variation4.phpt b/ext/standard/tests/array/asort_variation4.phpt index 6dd60e3e7e..09933dba15 100644 --- a/ext/standard/tests/array/asort_variation4.phpt +++ b/ext/standard/tests/array/asort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/asort_variation5.phpt b/ext/standard/tests/array/asort_variation5.phpt index dfb690ee56..7ae231b361 100644 --- a/ext/standard/tests/array/asort_variation5.phpt +++ b/ext/standard/tests/array/asort_variation5.phpt @@ -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 */ diff --git a/ext/standard/tests/array/asort_variation6.phpt b/ext/standard/tests/array/asort_variation6.phpt index 3d879c1b3b..aa5b4edd3d 100644 --- a/ext/standard/tests/array/asort_variation6.phpt +++ b/ext/standard/tests/array/asort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/asort_variation7.phpt b/ext/standard/tests/array/asort_variation7.phpt index 892dd82238..97718ed43e 100644 --- a/ext/standard/tests/array/asort_variation7.phpt +++ b/ext/standard/tests/array/asort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_basic.phpt b/ext/standard/tests/array/krsort_basic.phpt index f65fa0a553..642dfc2070 100644 --- a/ext/standard/tests/array/krsort_basic.phpt +++ b/ext/standard/tests/array/krsort_basic.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_object.phpt b/ext/standard/tests/array/krsort_object.phpt index 308be2cc26..482dacc50a 100644 --- a/ext/standard/tests/array/krsort_object.phpt +++ b/ext/standard/tests/array/krsort_object.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation10.phpt b/ext/standard/tests/array/krsort_variation10.phpt index c22656d173..aa614a5b50 100644 --- a/ext/standard/tests/array/krsort_variation10.phpt +++ b/ext/standard/tests/array/krsort_variation10.phpt @@ -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 diff --git a/ext/standard/tests/array/krsort_variation11.phpt b/ext/standard/tests/array/krsort_variation11.phpt index 32ca85c6ec..271559c3e5 100644 --- a/ext/standard/tests/array/krsort_variation11.phpt +++ b/ext/standard/tests/array/krsort_variation11.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation3.phpt b/ext/standard/tests/array/krsort_variation3.phpt index 506b0cfa57..c94dc4981e 100644 --- a/ext/standard/tests/array/krsort_variation3.phpt +++ b/ext/standard/tests/array/krsort_variation3.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation4.phpt b/ext/standard/tests/array/krsort_variation4.phpt index dbbac1e85a..f17be973e4 100644 --- a/ext/standard/tests/array/krsort_variation4.phpt +++ b/ext/standard/tests/array/krsort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation5.phpt b/ext/standard/tests/array/krsort_variation5.phpt index 75986690e5..e8f5404f9f 100644 --- a/ext/standard/tests/array/krsort_variation5.phpt +++ b/ext/standard/tests/array/krsort_variation5.phpt @@ -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"]=> diff --git a/ext/standard/tests/array/krsort_variation6.phpt b/ext/standard/tests/array/krsort_variation6.phpt index 357fb5c1a0..8807653cef 100644 --- a/ext/standard/tests/array/krsort_variation6.phpt +++ b/ext/standard/tests/array/krsort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation7.phpt b/ext/standard/tests/array/krsort_variation7.phpt index 14a3310a65..0315e9d10f 100644 --- a/ext/standard/tests/array/krsort_variation7.phpt +++ b/ext/standard/tests/array/krsort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/krsort_variation9.phpt b/ext/standard/tests/array/krsort_variation9.phpt index 5317228931..d961ff1837 100644 --- a/ext/standard/tests/array/krsort_variation9.phpt +++ b/ext/standard/tests/array/krsort_variation9.phpt @@ -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"]=> diff --git a/ext/standard/tests/array/ksort_basic.phpt b/ext/standard/tests/array/ksort_basic.phpt index ff0469e7a3..a24674ff33 100644 --- a/ext/standard/tests/array/ksort_basic.phpt +++ b/ext/standard/tests/array/ksort_basic.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_object.phpt b/ext/standard/tests/array/ksort_object.phpt index e193032788..03c97e253b 100644 --- a/ext/standard/tests/array/ksort_object.phpt +++ b/ext/standard/tests/array/ksort_object.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation10.phpt b/ext/standard/tests/array/ksort_variation10.phpt index 1a1a719b53..8a3e522c8a 100644 --- a/ext/standard/tests/array/ksort_variation10.phpt +++ b/ext/standard/tests/array/ksort_variation10.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation11.phpt b/ext/standard/tests/array/ksort_variation11.phpt index 2c93512fea..1fabd01e5c 100644 --- a/ext/standard/tests/array/ksort_variation11.phpt +++ b/ext/standard/tests/array/ksort_variation11.phpt @@ -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"]=> diff --git a/ext/standard/tests/array/ksort_variation3.phpt b/ext/standard/tests/array/ksort_variation3.phpt index 3159a36be5..5d2d14ff58 100644 --- a/ext/standard/tests/array/ksort_variation3.phpt +++ b/ext/standard/tests/array/ksort_variation3.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation4.phpt b/ext/standard/tests/array/ksort_variation4.phpt index 46e330229e..8404f030e9 100644 --- a/ext/standard/tests/array/ksort_variation4.phpt +++ b/ext/standard/tests/array/ksort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation5.phpt b/ext/standard/tests/array/ksort_variation5.phpt index c19cb3cf8a..c5f950edd4 100644 --- a/ext/standard/tests/array/ksort_variation5.phpt +++ b/ext/standard/tests/array/ksort_variation5.phpt @@ -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"]=> diff --git a/ext/standard/tests/array/ksort_variation6.phpt b/ext/standard/tests/array/ksort_variation6.phpt index 0e6d8fe372..40cd27d7b8 100644 --- a/ext/standard/tests/array/ksort_variation6.phpt +++ b/ext/standard/tests/array/ksort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation7.phpt b/ext/standard/tests/array/ksort_variation7.phpt index 4b1f509c3c..0e92ed40ef 100644 --- a/ext/standard/tests/array/ksort_variation7.phpt +++ b/ext/standard/tests/array/ksort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/ksort_variation9.phpt b/ext/standard/tests/array/ksort_variation9.phpt index be58e6d589..20a85f2f77 100644 --- a/ext/standard/tests/array/ksort_variation9.phpt +++ b/ext/standard/tests/array/ksort_variation9.phpt @@ -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"]=> diff --git a/ext/standard/tests/array/rsort_basic.phpt b/ext/standard/tests/array/rsort_basic.phpt index 2d75287841..9d82ea5c94 100644 --- a/ext/standard/tests/array/rsort_basic.phpt +++ b/ext/standard/tests/array/rsort_basic.phpt @@ -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]=> diff --git a/ext/standard/tests/array/rsort_object1.phpt b/ext/standard/tests/array/rsort_object1.phpt index 7477276cd3..fdbdaedb7b 100644 --- a/ext/standard/tests/array/rsort_object1.phpt +++ b/ext/standard/tests/array/rsort_object1.phpt @@ -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); diff --git a/ext/standard/tests/array/rsort_object2.phpt b/ext/standard/tests/array/rsort_object2.phpt index b47903b698..5f2eba168e 100644 --- a/ext/standard/tests/array/rsort_object2.phpt +++ b/ext/standard/tests/array/rsort_object2.phpt @@ -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); diff --git a/ext/standard/tests/array/rsort_variation3.phpt b/ext/standard/tests/array/rsort_variation3.phpt index 724764f48b..545eacedc3 100644 --- a/ext/standard/tests/array/rsort_variation3.phpt +++ b/ext/standard/tests/array/rsort_variation3.phpt @@ -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]=> diff --git a/ext/standard/tests/array/rsort_variation4.phpt b/ext/standard/tests/array/rsort_variation4.phpt index 75d8c8bb56..3687c05c7f 100644 --- a/ext/standard/tests/array/rsort_variation4.phpt +++ b/ext/standard/tests/array/rsort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/rsort_variation6.phpt b/ext/standard/tests/array/rsort_variation6.phpt index 29c5d3c09d..3789776c37 100644 --- a/ext/standard/tests/array/rsort_variation6.phpt +++ b/ext/standard/tests/array/rsort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/rsort_variation7.phpt b/ext/standard/tests/array/rsort_variation7.phpt index 51a0565cdb..b54108d031 100644 --- a/ext/standard/tests/array/rsort_variation7.phpt +++ b/ext/standard/tests/array/rsort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_basic.phpt b/ext/standard/tests/array/sort_basic.phpt index 065889de11..e409ac3d33 100644 --- a/ext/standard/tests/array/sort_basic.phpt +++ b/ext/standard/tests/array/sort_basic.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_object1.phpt b/ext/standard/tests/array/sort_object1.phpt index a55a0962a8..79458e0b1c 100644 --- a/ext/standard/tests/array/sort_object1.phpt +++ b/ext/standard/tests/array/sort_object1.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_object2.phpt b/ext/standard/tests/array/sort_object2.phpt index 7e13cf8abf..9816ae3012 100644 --- a/ext/standard/tests/array/sort_object2.phpt +++ b/ext/standard/tests/array/sort_object2.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation10.phpt b/ext/standard/tests/array/sort_variation10.phpt index 1ff71a3dc5..4dc510064e 100644 --- a/ext/standard/tests/array/sort_variation10.phpt +++ b/ext/standard/tests/array/sort_variation10.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation3.phpt b/ext/standard/tests/array/sort_variation3.phpt index 3aec6dcdb1..7ee0d8ea84 100644 --- a/ext/standard/tests/array/sort_variation3.phpt +++ b/ext/standard/tests/array/sort_variation3.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation4.phpt b/ext/standard/tests/array/sort_variation4.phpt index 56b25223bf..4a5d42ed9d 100644 --- a/ext/standard/tests/array/sort_variation4.phpt +++ b/ext/standard/tests/array/sort_variation4.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation5.phpt b/ext/standard/tests/array/sort_variation5.phpt index 613fb1d3b5..e5fc94c387 100644 --- a/ext/standard/tests/array/sort_variation5.phpt +++ b/ext/standard/tests/array/sort_variation5.phpt @@ -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 */ diff --git a/ext/standard/tests/array/sort_variation6.phpt b/ext/standard/tests/array/sort_variation6.phpt index 7d7fdeb410..5fa933eb21 100644 --- a/ext/standard/tests/array/sort_variation6.phpt +++ b/ext/standard/tests/array/sort_variation6.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation7.phpt b/ext/standard/tests/array/sort_variation7.phpt index 48d4a48758..7c2a4afe3e 100644 --- a/ext/standard/tests/array/sort_variation7.phpt +++ b/ext/standard/tests/array/sort_variation7.phpt @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation8.phpt b/ext/standard/tests/array/sort_variation8.phpt index 87134716ca..e4682e1702 100644 --- a/ext/standard/tests/array/sort_variation8.phpt +++ b/ext/standard/tests/array/sort_variation8.phpt @@ -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-- @@ -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]=> diff --git a/ext/standard/tests/array/sort_variation9.phpt b/ext/standard/tests/array/sort_variation9.phpt index bf7d03191d..c5488be175 100644 --- a/ext/standard/tests/array/sort_variation9.phpt +++ b/ext/standard/tests/array/sort_variation9.phpt @@ -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-- @@ -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]=> diff --git a/ext/standard/tests/dir/dir_variation3.phpt b/ext/standard/tests/dir/dir_variation3.phpt index b79b2befe4..8873c715cb 100644 --- a/ext/standard/tests/dir/dir_variation3.phpt +++ b/ext/standard/tests/dir/dir_variation3.phpt @@ -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 diff --git a/ext/standard/tests/dir/opendir_variation7.phpt b/ext/standard/tests/dir/opendir_variation7.phpt index 0f2543805d..fff52b88d9 100644 --- a/ext/standard/tests/dir/opendir_variation7.phpt +++ b/ext/standard/tests/dir/opendir_variation7.phpt @@ -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)); diff --git a/ext/standard/tests/dir/readdir_variation5.phpt b/ext/standard/tests/dir/readdir_variation5.phpt index 920864d21a..e9d88dc835 100644 --- a/ext/standard/tests/dir/readdir_variation5.phpt +++ b/ext/standard/tests/dir/readdir_variation5.phpt @@ -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)); diff --git a/ext/standard/tests/dir/scandir_variation7.phpt b/ext/standard/tests/dir/scandir_variation7.phpt index 901198ffaa..a0fede44ad 100644 --- a/ext/standard/tests/dir/scandir_variation7.phpt +++ b/ext/standard/tests/dir/scandir_variation7.phpt @@ -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)); diff --git a/ext/standard/tests/file/bug68335.phpt b/ext/standard/tests/file/bug68335.phpt index b3a8165e5b..bb5f597fca 100644 --- a/ext/standard/tests/file/bug68335.phpt +++ b/ext/standard/tests/file/bug68335.phpt @@ -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-- --EXPECTF-- -*** Testing pathinfo() with miscelleneous input arguments *** +*** Testing pathinfo() with miscellaneous input arguments *** Warning: Undefined variable: fp in %s on line %d -- Iteration 1 -- diff --git a/ext/standard/tests/file/stat_variation6-win32.phpt b/ext/standard/tests/file/stat_variation6-win32.phpt index 38c69f97f2..953d7df045 100644 --- a/ext/standard/tests/file/stat_variation6-win32.phpt +++ b/ext/standard/tests/file/stat_variation6-win32.phpt @@ -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) diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt index 04daa591b0..a2a42a3d90 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt @@ -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); diff --git a/ext/standard/tests/file/unlink_basic.phpt b/ext/standard/tests/file/unlink_basic.phpt index 872326bad8..ff9010183b 100644 --- a/ext/standard/tests/file/unlink_basic.phpt +++ b/ext/standard/tests/file/unlink_basic.phpt @@ -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"; ?> diff --git a/ext/standard/tests/file/unlink_error-win32-mb.phpt b/ext/standard/tests/file/unlink_error-win32-mb.phpt index 833c083b19..400e52e556 100644 --- a/ext/standard/tests/file/unlink_error-win32-mb.phpt +++ b/ext/standard/tests/file/unlink_error-win32-mb.phpt @@ -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"; diff --git a/ext/standard/tests/file/unlink_error-win32.phpt b/ext/standard/tests/file/unlink_error-win32.phpt index 535b3d0adf..2b1df9652f 100644 --- a/ext/standard/tests/file/unlink_error-win32.phpt +++ b/ext/standard/tests/file/unlink_error-win32.phpt @@ -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"; diff --git a/ext/standard/tests/file/unlink_error.phpt b/ext/standard/tests/file/unlink_error.phpt index df5b5b9755..5bf2227ca5 100644 --- a/ext/standard/tests/file/unlink_error.phpt +++ b/ext/standard/tests/file/unlink_error.phpt @@ -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") ); diff --git a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt index d622089cff..1b0a919e03 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt @@ -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 -- diff --git a/ext/standard/tests/general_functions/var_export-locale_32.phpt b/ext/standard/tests/general_functions/var_export-locale_32.phpt index 311b6395cd..baaddcefae 100644 --- a/ext/standard/tests/general_functions/var_export-locale_32.phpt +++ b/ext/standard/tests/general_functions/var_export-locale_32.phpt @@ -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; diff --git a/ext/standard/tests/general_functions/var_export_basic1_32.phpt b/ext/standard/tests/general_functions/var_export_basic1_32.phpt index 61e69c6315..7473fbd8a3 100644 --- a/ext/standard/tests/general_functions/var_export_basic1_32.phpt +++ b/ext/standard/tests/general_functions/var_export_basic1_32.phpt @@ -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', diff --git a/ext/standard/tests/strings/bug70720.phpt b/ext/standard/tests/strings/bug70720.phpt index d7f64e0874..cdfa4794e6 100644 --- a/ext/standard/tests/strings/bug70720.phpt +++ b/ext/standard/tests/strings/bug70720.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #70720 (strip_tags() doesnt handle "xml" correctly) +Bug #70720 (strip_tags() doesn't handle "xml" correctly) --FILE-- test(); ?> this is a test')); diff --git a/ext/standard/tests/strings/explode1.phpt b/ext/standard/tests/strings/explode1.phpt index 191ab1207c..7c1fe0fd5e 100644 --- a/ext/standard/tests/strings/explode1.phpt +++ b/ext/standard/tests/strings/explode1.phpt @@ -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) { diff --git a/ext/standard/tests/strings/join_variation3.phpt b/ext/standard/tests/strings/join_variation3.phpt index a896123321..4e3b50a1fd 100644 --- a/ext/standard/tests/strings/join_variation3.phpt +++ b/ext/standard/tests/strings/join_variation3.phpt @@ -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) ); diff --git a/ext/standard/tests/strings/str_replace_variation3.phpt b/ext/standard/tests/strings/str_replace_variation3.phpt index 040e37970d..d52c0676c9 100644 --- a/ext/standard/tests/strings/str_replace_variation3.phpt +++ b/ext/standard/tests/strings/str_replace_variation3.phpt @@ -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) { diff --git a/ext/tokenizer/tests/token_get_all_basic.phpt b/ext/tokenizer/tests/token_get_all_basic.phpt index 7d3b4ff4e7..f9bc28c6f2 100644 --- a/ext/tokenizer/tests/token_get_all_basic.phpt +++ b/ext/tokenizer/tests/token_get_all_basic.phpt @@ -5,7 +5,7 @@ Test token_get_all() function : basic functionality --FILE-- --EXPECT-- yes!