summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-12-21 11:58:00 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-12-21 11:58:00 +0100
commitdabc28d18245086a68c88d50dfba380ebd60a236 (patch)
tree9f23d7cca41aa9937bfa0043169bf31d1bda5715
parenteff56f83af27c7bf230fc5f62ae2d53c1d092972 (diff)
downloadphp-git-dabc28d18245086a68c88d50dfba380ebd60a236.tar.gz
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] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
-rw-r--r--EXTENSIONS10
-rw-r--r--Zend/tests/try/try_catch_finally_006.phpt4
-rw-r--r--Zend/tests/try/try_catch_finally_007.phpt6
-rw-r--r--ext/date/tests/DateTimeZone_clone_basic2.phpt6
-rw-r--r--ext/date/tests/DateTime_clone_basic2.phpt6
-rw-r--r--ext/opcache/Optimizer/zend_ssa.c2
-rw-r--r--ext/opcache/jit/libudis86/decode.c2
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc2
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt8
-rw-r--r--ext/pdo_oci/tests/bug_33707.phpt2
-rw-r--r--ext/pgsql/tests/bug71998.phpt4
-rw-r--r--ext/reflection/tests/010.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_getConstant_basic.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_getMethod_001.phpt16
-rw-r--r--ext/reflection/tests/ReflectionClass_getProperty_001.phpt16
-rw-r--r--ext/reflection/tests/ReflectionClass_getProperty_003.phpt18
-rw-r--r--ext/reflection/tests/ReflectionClass_getProperty_004.phpt18
-rw-r--r--ext/reflection/tests/ReflectionClass_hasConstant_001.phpt4
-rw-r--r--ext/reflection/tests/ReflectionClass_hasMethod_001.phpt16
-rw-r--r--ext/reflection/tests/ReflectionClass_hasProperty_001.phpt16
-rw-r--r--ext/reflection/tests/ReflectionObject_getConstant_basic.phpt2
-rw-r--r--ext/reflection/tests/bug53366.phpt2
-rw-r--r--ext/simplexml/tests/036.phpt2
-rw-r--r--ext/simplexml/tests/sxe_005.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_1.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_2.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_3.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_4.phpt2
-rw-r--r--ext/soap/tests/bugs/bug70469.phpt4
-rw-r--r--ext/spl/tests/array_024.phpt2
-rw-r--r--ext/spl/tests/dllist_008.phpt2
-rw-r--r--ext/spl/tests/fixedarray_018.phpt2
-rw-r--r--ext/spl/tests/fixedarray_019.phpt2
-rw-r--r--ext/spl/tests/heap_010.phpt2
-rw-r--r--ext/spl/tests/heap_011.phpt2
-rw-r--r--ext/spl/tests/iterator_070.phpt2
-rw-r--r--ext/standard/tests/array/array_chunk_basic1.phpt2
-rw-r--r--ext/standard/tests/array/array_chunk_variation4.phpt4
-rw-r--r--ext/standard/tests/array/array_combine_variation3.phpt2
-rw-r--r--ext/standard/tests/array/array_diff_assoc_variation6.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation1.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation2.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation3.phpt4
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation4.phpt4
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation5.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation6.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation7.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation8.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation1.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation2.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation3.phpt4
-rw-r--r--ext/standard/tests/array/array_intersect_variation4.phpt4
-rw-r--r--ext/standard/tests/array/array_intersect_variation5.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation6.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation7.phpt2
-rw-r--r--ext/standard/tests/array/array_intersect_variation8.phpt2
-rw-r--r--ext/standard/tests/array/array_map_variation3.phpt2
-rw-r--r--ext/standard/tests/array/array_pad_variation6.phpt2
-rw-r--r--ext/standard/tests/array/array_reverse_variation3.phpt2
-rw-r--r--ext/standard/tests/array/array_unshift_variation3.phpt2
-rw-r--r--ext/standard/tests/array/arsort_object1.phpt8
-rw-r--r--ext/standard/tests/array/arsort_object2.phpt2
-rw-r--r--ext/standard/tests/array/arsort_variation10.phpt6
-rw-r--r--ext/standard/tests/array/arsort_variation3.phpt2
-rw-r--r--ext/standard/tests/array/arsort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/arsort_variation5.phpt2
-rw-r--r--ext/standard/tests/array/arsort_variation6.phpt6
-rw-r--r--ext/standard/tests/array/arsort_variation7.phpt6
-rw-r--r--ext/standard/tests/array/asort_object1.phpt10
-rw-r--r--ext/standard/tests/array/asort_object2.phpt2
-rw-r--r--ext/standard/tests/array/asort_variation10.phpt6
-rw-r--r--ext/standard/tests/array/asort_variation3.phpt2
-rw-r--r--ext/standard/tests/array/asort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/asort_variation5.phpt2
-rw-r--r--ext/standard/tests/array/asort_variation6.phpt6
-rw-r--r--ext/standard/tests/array/asort_variation7.phpt6
-rw-r--r--ext/standard/tests/array/krsort_basic.phpt10
-rw-r--r--ext/standard/tests/array/krsort_object.phpt10
-rw-r--r--ext/standard/tests/array/krsort_variation10.phpt6
-rw-r--r--ext/standard/tests/array/krsort_variation11.phpt6
-rw-r--r--ext/standard/tests/array/krsort_variation3.phpt10
-rw-r--r--ext/standard/tests/array/krsort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/krsort_variation5.phpt8
-rw-r--r--ext/standard/tests/array/krsort_variation6.phpt6
-rw-r--r--ext/standard/tests/array/krsort_variation7.phpt12
-rw-r--r--ext/standard/tests/array/krsort_variation9.phpt18
-rw-r--r--ext/standard/tests/array/ksort_basic.phpt10
-rw-r--r--ext/standard/tests/array/ksort_object.phpt8
-rw-r--r--ext/standard/tests/array/ksort_variation10.phpt6
-rw-r--r--ext/standard/tests/array/ksort_variation11.phpt6
-rw-r--r--ext/standard/tests/array/ksort_variation3.phpt10
-rw-r--r--ext/standard/tests/array/ksort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/ksort_variation5.phpt8
-rw-r--r--ext/standard/tests/array/ksort_variation6.phpt6
-rw-r--r--ext/standard/tests/array/ksort_variation7.phpt12
-rw-r--r--ext/standard/tests/array/ksort_variation9.phpt18
-rw-r--r--ext/standard/tests/array/rsort_basic.phpt8
-rw-r--r--ext/standard/tests/array/rsort_object1.phpt4
-rw-r--r--ext/standard/tests/array/rsort_object2.phpt4
-rw-r--r--ext/standard/tests/array/rsort_variation3.phpt10
-rw-r--r--ext/standard/tests/array/rsort_variation4.phpt4
-rw-r--r--ext/standard/tests/array/rsort_variation6.phpt4
-rw-r--r--ext/standard/tests/array/rsort_variation7.phpt4
-rw-r--r--ext/standard/tests/array/sort_basic.phpt10
-rw-r--r--ext/standard/tests/array/sort_object1.phpt10
-rw-r--r--ext/standard/tests/array/sort_object2.phpt10
-rw-r--r--ext/standard/tests/array/sort_variation10.phpt6
-rw-r--r--ext/standard/tests/array/sort_variation3.phpt12
-rw-r--r--ext/standard/tests/array/sort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/sort_variation5.phpt2
-rw-r--r--ext/standard/tests/array/sort_variation6.phpt6
-rw-r--r--ext/standard/tests/array/sort_variation7.phpt6
-rw-r--r--ext/standard/tests/array/sort_variation8.phpt16
-rw-r--r--ext/standard/tests/array/sort_variation9.phpt16
-rw-r--r--ext/standard/tests/dir/dir_variation3.phpt2
-rw-r--r--ext/standard/tests/dir/opendir_variation7.phpt2
-rw-r--r--ext/standard/tests/dir/readdir_variation5.phpt2
-rw-r--r--ext/standard/tests/dir/scandir_variation7.phpt2
-rw-r--r--ext/standard/tests/file/bug68335.phpt2
-rw-r--r--ext/standard/tests/file/fgets_basic.phpt6
-rw-r--r--ext/standard/tests/file/fgets_variation3.phpt6
-rw-r--r--ext/standard/tests/file/fgets_variation4-win32-mb.phpt6
-rw-r--r--ext/standard/tests/file/fgets_variation4-win32.phpt6
-rw-r--r--ext/standard/tests/file/fgets_variation4.phpt6
-rw-r--r--ext/standard/tests/file/fgets_variation5.phpt4
-rw-r--r--ext/standard/tests/file/fgets_variation6-win32.phpt2
-rw-r--r--ext/standard/tests/file/fgets_variation6.phpt2
-rw-r--r--ext/standard/tests/file/fread_variation1.phpt148
-rw-r--r--ext/standard/tests/file/fread_variation2.phpt148
-rw-r--r--ext/standard/tests/file/fread_variation3-win32-mb.phpt112
-rw-r--r--ext/standard/tests/file/fread_variation3-win32.phpt112
-rw-r--r--ext/standard/tests/file/fread_variation3.phpt112
-rw-r--r--ext/standard/tests/file/fread_variation4.phpt112
-rw-r--r--ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt4
-rw-r--r--ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt4
-rw-r--r--ext/standard/tests/file/pathinfo_variaton.phpt4
-rw-r--r--ext/standard/tests/file/stat_variation6-win32.phpt8
-rw-r--r--ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt6
-rw-r--r--ext/standard/tests/file/unlink_basic.phpt4
-rw-r--r--ext/standard/tests/file/unlink_error-win32-mb.phpt6
-rw-r--r--ext/standard/tests/file/unlink_error-win32.phpt6
-rw-r--r--ext/standard/tests/file/unlink_error.phpt6
-rw-r--r--ext/standard/tests/general_functions/debug_zval_dump_v.phpt4
-rw-r--r--ext/standard/tests/general_functions/var_export-locale_32.phpt8
-rw-r--r--ext/standard/tests/general_functions/var_export_basic1_32.phpt2
-rw-r--r--ext/standard/tests/strings/bug70720.phpt2
-rw-r--r--ext/standard/tests/strings/explode1.phpt4
-rw-r--r--ext/standard/tests/strings/join_variation3.phpt2
-rw-r--r--ext/standard/tests/strings/str_replace_variation3.phpt4
-rw-r--r--ext/tokenizer/tests/token_get_all_basic.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation10.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation11.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation13.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation14.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation15.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation16.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation17.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation18.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation2.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation3.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation4.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation5.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation6.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation7.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation8.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation9.phpt2
-rw-r--r--sapi/fuzzer/fuzzer-sapi.c2
-rw-r--r--tests/output/ob_017.phpt10
168 files changed, 781 insertions, 781 deletions
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 <krakjoe@php.net>, Bob Weinand <bwoebi@php.net>
-MAINTENANCE: Unkown
+MAINTENANCE: Unknown
STATUS: 5.6
-------------------------------------------------------------------------------
@@ -431,7 +431,7 @@ STATUS: Working
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: readline
-PRIMARY MAINTAINER: Unkown
+PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
@@ -480,17 +480,17 @@ STATUS: Working
SINCE: 5.0.0
-------------------------------------------------------------------------------
EXTENSION: sysvmsg
-PRIMARY MAINTAINER: Unkown
+PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: sysvsem
-PRIMARY MAINTAINER: Unkown
+PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: sysvshm
-PRIMARY MAINTAINER: Unkown
+PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
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--
<?php
//Set the default time zone
@@ -15,7 +15,7 @@ class DateTimeZoneExt2 extends DateTimeZoneExt1 {
public $property4 = 10.5;
}
-echo "*** Testing clone on objects whoose class derived from DateTimeZone class ***\n";
+echo "*** Testing clone on objects whose class derived from DateTimeZone class ***\n";
$d1 = new DateTimeZoneExt1("Europe/London");
var_dump($d1);
@@ -29,7 +29,7 @@ var_dump($d2_clone);
?>
--EXPECTF--
-*** Testing clone on objects whoose class derived from DateTimeZone class ***
+*** Testing clone on objects whose class derived from DateTimeZone class ***
object(DateTimeZoneExt1)#%d (4) {
["property1"]=>
int(99)
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--
<?php
//Set the default time zone
@@ -16,7 +16,7 @@ class DateTimeExt2 extends DateTimeExt1 {
public $property4 = 10.5;
}
-echo "*** Testing clone on objects whoose class derived from DateTime class ***\n";
+echo "*** Testing clone on objects whose class derived from DateTime class ***\n";
$d1 = new DateTimeExt1("2009-02-03 12:34:41 GMT");
var_dump($d1);
@@ -29,7 +29,7 @@ $d2_clone = clone $d2;
var_dump($d2_clone);
?>
--EXPECTF--
-*** Testing clone on objects whoose class derived from DateTime class ***
+*** Testing clone on objects whose class derived from DateTime class ***
object(DateTimeExt1)#%d (5) {
["property1"]=>
int(99)
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--
<?php
class Foo {
diff --git a/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt b/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt
index cbed1252fa..59031a26ee 100644
--- a/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt
+++ b/ext/reflection/tests/ReflectionClass_getConstant_basic.phpt
@@ -20,7 +20,7 @@ foreach($classes as $class) {
echo "Reflecting on class $class: \n";
$rc = new ReflectionClass($class);
var_dump($rc->getConstant('a'));
- var_dump($rc->getConstant('doesntexist'));
+ var_dump($rc->getConstant('doesnotexist'));
}
?>
--EXPECT--
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--
<?php
diff --git a/ext/simplexml/tests/036.phpt b/ext/simplexml/tests/036.phpt
index 5c2d688def..acd67c01c6 100644
--- a/ext/simplexml/tests/036.phpt
+++ b/ext/simplexml/tests/036.phpt
@@ -1,5 +1,5 @@
--TEST--
-SimpleXML: overriden count() method
+SimpleXML: overridden count() method
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--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--
<?php
if (!extension_loaded('simplexml')) print 'skip';
diff --git a/ext/soap/tests/bugs/bug50698_1.phpt b/ext/soap/tests/bugs/bug50698_1.phpt
index 6f97b62e06..064ef1eea8 100644
--- a/ext/soap/tests/bugs/bug50698_1.phpt
+++ b/ext/soap/tests/bugs/bug50698_1.phpt
@@ -1,5 +1,5 @@
--TEST--
-Request #50698_1 (SoapClient should handle wsdls with some incompatiable endpoints)
+Request #50698_1 (SoapClient should handle wsdls with some incompatible endpoints)
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--INI--
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--
<?php require_once('skipif.inc'); ?>
--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--
<?php require_once('skipif.inc'); ?>
--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--
<?php require_once('skipif.inc'); ?>
--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--
<?php
$obj = new ArrayObject(array(1,2));
diff --git a/ext/spl/tests/dllist_008.phpt b/ext/spl/tests/dllist_008.phpt
index ab37d83afa..114b50c4f5 100644
--- a/ext/spl/tests/dllist_008.phpt
+++ b/ext/spl/tests/dllist_008.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: SplDoublyLinkedList with overriden count()
+SPL: SplDoublyLinkedList with overridden count()
--FILE--
<?php
$obj = new SplDoublyLinkedList();
diff --git a/ext/spl/tests/fixedarray_018.phpt b/ext/spl/tests/fixedarray_018.phpt
index 84ab109195..aa02fb5de1 100644
--- a/ext/spl/tests/fixedarray_018.phpt
+++ b/ext/spl/tests/fixedarray_018.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: FixedArray: overriden count()
+SPL: FixedArray: overridden count()
--FILE--
<?php
$obj = new SplFixedArray(2);
diff --git a/ext/spl/tests/fixedarray_019.phpt b/ext/spl/tests/fixedarray_019.phpt
index f28edfda41..9414e97304 100644
--- a/ext/spl/tests/fixedarray_019.phpt
+++ b/ext/spl/tests/fixedarray_019.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: FixedArray: overriden iterator methods
+SPL: FixedArray: overridden iterator methods
--FILE--
<?php
class SplFixedArray2 extends SplFixedArray {
diff --git a/ext/spl/tests/heap_010.phpt b/ext/spl/tests/heap_010.phpt
index 8c7d8d5c96..81e71c2398 100644
--- a/ext/spl/tests/heap_010.phpt
+++ b/ext/spl/tests/heap_010.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: SplHeap with overriden count()
+SPL: SplHeap with overridden count()
--FILE--
<?php
$obj = new SplMaxHeap();
diff --git a/ext/spl/tests/heap_011.phpt b/ext/spl/tests/heap_011.phpt
index 1689abfae1..fae62585b0 100644
--- a/ext/spl/tests/heap_011.phpt
+++ b/ext/spl/tests/heap_011.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: SplHeap with overriden compare()
+SPL: SplHeap with overridden compare()
--FILE--
<?php
class SplMinHeap2 extends SplMinHeap {
diff --git a/ext/spl/tests/iterator_070.phpt b/ext/spl/tests/iterator_070.phpt
index 681e327523..94dea30db5 100644
--- a/ext/spl/tests/iterator_070.phpt
+++ b/ext/spl/tests/iterator_070.phpt
@@ -1,5 +1,5 @@
--TEST--
-SPL: RecursiveIteratorIterator - Ensure that non-overriden methods execute problem free.
+SPL: RecursiveIteratorIterator - Ensure that non-overridden methods execute problem free.
--FILE--
<?php
diff --git a/ext/standard/tests/array/array_chunk_basic1.phpt b/ext/standard/tests/array/array_chunk_basic1.phpt
index b84b0871f4..63236b2dfe 100644
--- a/ext/standard/tests/array/array_chunk_basic1.phpt
+++ b/ext/standard/tests/array/array_chunk_basic1.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test array_chunk() function : basic functionality - defualt 'preserve_keys'
+Test array_chunk() function : basic functionality - default 'preserve_keys'
--FILE--
<?php
/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys])
diff --git a/ext/standard/tests/array/array_chunk_variation4.phpt b/ext/standard/tests/array/array_chunk_variation4.phpt
index d82f9fcc5f..2396e022f4 100644
--- a/ext/standard/tests/array/array_chunk_variation4.phpt
+++ b/ext/standard/tests/array/array_chunk_variation4.phpt
@@ -23,7 +23,7 @@ $input_array = array (
"array3" => array(1)
);
-echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as defualt --\n";
+echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as default --\n";
var_dump( array_chunk($input_array, $size) );
echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = true --\n";
@@ -37,7 +37,7 @@ echo "Done";
--EXPECT--
*** Testing array_chunk() : usage variations ***
--- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as defualt --
+-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as default --
array(2) {
[0]=>
array(2) {
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--
<?php
/* Prototype : bool sort ( array &$array [, int $sort_flags] )
@@ -10,7 +10,7 @@ Test sort() function : usage variations - sort array with diff. sub arrays, 'sor
/*
* testing sort() by providing arrays contains sub arrays for $array argument with flowing flag values
- * flag value as defualt
+ * flag value as default
* SORT_REGULAR - compare items normally
*/
@@ -39,8 +39,8 @@ echo "\n-- Testing sort() by supplying various arrays containing sub arrays --\n
foreach ($various_arrays as $array) {
echo "\n-- Iteration $count --\n";
- // testing sort() function by supplying different arrays, flag value is defualt
- echo "- With Defualt sort flag -\n";
+ // testing sort() function by supplying different arrays, flag value is default
+ echo "- With Default sort flag -\n";
$temp_array = $array;
var_dump(sort($temp_array) );
var_dump($temp_array);
@@ -61,7 +61,7 @@ echo "Done\n";
-- Testing sort() by supplying various arrays containing sub arrays --
-- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(0) {
}
@@ -71,7 +71,7 @@ array(0) {
}
-- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(1) {
[0]=>
@@ -87,7 +87,7 @@ array(1) {
}
-- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(3) {
[0]=>
@@ -119,7 +119,7 @@ array(3) {
}
-- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(4) {
[0]=>
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--
<?php
/* Prototype : bool sort ( array &$array [, int $sort_flags] )
@@ -11,7 +11,7 @@ Test sort() function : usage variations - sort diff. associative arrays, 'sort_f
/*
* Testing sort() by providing arrays with key values for $array argument
* with following flag values.
- * 1.flag value as defualt
+ * 1.flag value as default
* 2.SORT_REGULAR - compare items normally
* To test the new keys for the elements in the sorted array.
*/
@@ -38,7 +38,7 @@ echo "\n-- Testing sort() by supplying various arrays with key values --\n";
foreach ($various_arrays as $array) {
echo "\n-- Iteration $count --\n";
- echo "- With Defualt sort flag -\n";
+ echo "- With Default sort flag -\n";
$temp_array = $array;
var_dump(sort($temp_array) );
var_dump($temp_array);
@@ -58,7 +58,7 @@ echo "Done\n";
-- Testing sort() by supplying various arrays with key values --
-- Iteration 1 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(5) {
[0]=>
@@ -88,7 +88,7 @@ array(5) {
}
-- Iteration 2 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(3) {
[0]=>
@@ -164,7 +164,7 @@ array(3) {
}
-- Iteration 3 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(6) {
[0]=>
@@ -198,7 +198,7 @@ array(6) {
}
-- Iteration 4 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(2) {
[0]=>
@@ -216,7 +216,7 @@ array(2) {
}
-- Iteration 5 --
-- With Defualt sort flag -
+- With Default sort flag -
bool(true)
array(4) {
[0]=>
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--
<?php
$dir = 'file://' . __DIR__ . '/testDir';
diff --git a/ext/standard/tests/file/fgets_basic.phpt b/ext/standard/tests/file/fgets_basic.phpt
index 9b2cd715cc..853be0a8de 100644
--- a/ext/standard/tests/file/fgets_basic.phpt
+++ b/ext/standard/tests/file/fgets_basic.phpt
@@ -7,7 +7,7 @@ Test fgets() function : basic functionality
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("r", "rb", "rt", "r+", "r+b", "r+t");
@@ -31,13 +31,13 @@ foreach($file_modes as $file_mode) {
echo "-- fgets() with default length, file pointer at 0 --\n";
var_dump( fgets($file_handle) ); // with default length
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
var_dump( rewind($file_handle) );
var_dump( fgets($file_handle, 23) ); // expected: 22 chars
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation3.phpt b/ext/standard/tests/file/fgets_variation3.phpt
index ee3f8996ab..cb10dfbc4d 100644
--- a/ext/standard/tests/file/fgets_variation3.phpt
+++ b/ext/standard/tests/file/fgets_variation3.phpt
@@ -7,7 +7,7 @@ Test fgets() function : usage variations - read with/without length
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
@@ -42,7 +42,7 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle) ); // with default length
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
// get the file pointer to beginning of the file
@@ -51,7 +51,7 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle, 23) ); // expected: 22 chars
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation4-win32-mb.phpt b/ext/standard/tests/file/fgets_variation4-win32-mb.phpt
index 629af64ad1..df3bfa2087 100644
--- a/ext/standard/tests/file/fgets_variation4-win32-mb.phpt
+++ b/ext/standard/tests/file/fgets_variation4-win32-mb.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle ) );
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
echo "-- fgets() with location set by fseek() with length = 20 --\n";
var_dump( fseek($file_handle, 25, SEEK_SET) );
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation4-win32.phpt b/ext/standard/tests/file/fgets_variation4-win32.phpt
index ed8378d357..a7a43fdbb4 100644
--- a/ext/standard/tests/file/fgets_variation4-win32.phpt
+++ b/ext/standard/tests/file/fgets_variation4-win32.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle ) );
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
echo "-- fgets() with location set by fseek() with length = 20 --\n";
var_dump( fseek($file_handle, 25, SEEK_SET) );
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation4.phpt b/ext/standard/tests/file/fgets_variation4.phpt
index cc29e2a620..3dfc4ba801 100644
--- a/ext/standard/tests/file/fgets_variation4.phpt
+++ b/ext/standard/tests/file/fgets_variation4.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
@@ -46,14 +46,14 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle ) );
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
echo "-- fgets() with location set by fseek() with length = 20 --\n";
var_dump( fseek($file_handle, 25, SEEK_SET) );
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation5.phpt b/ext/standard/tests/file/fgets_variation5.phpt
index e0eaa9fe5d..138bd8f238 100644
--- a/ext/standard/tests/file/fgets_variation5.phpt
+++ b/ext/standard/tests/file/fgets_variation5.phpt
@@ -7,7 +7,7 @@ Test fgets() function : usage variations - read beyond filesize
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
@@ -42,7 +42,7 @@ foreach($file_modes as $file_mode) {
var_dump( ftell($file_handle) );
var_dump( fgets($file_handle, 50 + 23) ); // expected: 50
var_dump( ftell($file_handle) ); // ensure the file pointer position
- var_dump( feof($file_handle) ); // enusre if eof set
+ var_dump( feof($file_handle) ); // ensure if eof set
//close file
fclose($file_handle);
diff --git a/ext/standard/tests/file/fgets_variation6-win32.phpt b/ext/standard/tests/file/fgets_variation6-win32.phpt
index f736d1ce74..11899df1f7 100644
--- a/ext/standard/tests/file/fgets_variation6-win32.phpt
+++ b/ext/standard/tests/file/fgets_variation6-win32.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
diff --git a/ext/standard/tests/file/fgets_variation6.phpt b/ext/standard/tests/file/fgets_variation6.phpt
index 78af58c82d..95a2a73adf 100644
--- a/ext/standard/tests/file/fgets_variation6.phpt
+++ b/ext/standard/tests/file/fgets_variation6.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
Description: Gets a line from file pointer
*/
-// include the file.inc for common test funcitons
+// include the file.inc for common test functions
include ("file.inc");
$file_modes = array("w+", "w+b", "w+t",
diff --git a/ext/standard/tests/file/fread_variation1.phpt b/ext/standard/tests/file/fread_variation1.phpt
index df9c6da8f5..4434887c15 100644
--- a/ext/standard/tests/file/fread_variation1.phpt
+++ b/ext/standard/tests/file/fread_variation1.phpt
@@ -79,7 +79,7 @@ foreach($file_content_types as $file_content_type) {
}
rewind($file_handle);
- echo "-- Reading entire file content, expeceted : 1024 bytes --\n";
+ echo "-- Reading entire file content, expected : 1024 bytes --\n";
// read from file, by giving the file actual size,
$data_from_file = check_read($file_handle, 1024, (strstr($file_mode, "+") ? 1024 : 1024 ) );
// calculate the hash and dump it, if data read, expecting here no data was read
@@ -87,7 +87,7 @@ foreach($file_content_types as $file_content_type) {
var_dump( md5($data_from_file) );
// reading file by giving less than its size
- echo "-- Reading file content less than max. file size, expeceted : 1000 bytes --\n";
+ echo "-- Reading file content less than max. file size, expected : 1000 bytes --\n";
rewind($file_handle);
$data_from_file = check_read($file_handle, 1000, (strstr($file_mode, "+") ? 1000 : 1000 ) );
// calculate the hash and dump it, if data read, expecting here no data was read
@@ -109,14 +109,14 @@ echo"Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -124,14 +124,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -139,14 +139,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -154,14 +154,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -169,14 +169,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -184,14 +184,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -199,14 +199,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -214,14 +214,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -229,14 +229,14 @@ int(1000)
bool(false)
string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -246,14 +246,14 @@ string(32) "4501f99f2b79d0345f26f1394aca58a3"
-- Testing fread() with file having content of type text --
-- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -261,14 +261,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -276,14 +276,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -291,14 +291,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -306,14 +306,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -321,14 +321,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -336,14 +336,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -351,14 +351,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -366,14 +366,14 @@ int(1000)
bool(false)
string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -383,14 +383,14 @@ string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd"
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -398,14 +398,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -413,14 +413,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -428,14 +428,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -443,14 +443,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -458,14 +458,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -473,14 +473,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -488,14 +488,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -503,14 +503,14 @@ int(1000)
bool(false)
string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -520,14 +520,14 @@ string(32) "a148fa8110bbac875d84fc9d7056c0a1"
-- Testing fread() with file having content of type alphanumeric --
-- File opened in mode a+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -535,14 +535,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode a+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -550,14 +550,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode a+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -565,14 +565,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode w+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -580,14 +580,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode w+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -595,14 +595,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode w+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -610,14 +610,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode x+ --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -625,14 +625,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode x+b --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
@@ -640,14 +640,14 @@ int(1000)
bool(false)
string(32) "a49d752f980184c7f44568e930f89c72"
-- File opened in mode x+t --
--- Reading entire file content, expeceted : 1024 bytes --
+-- Reading entire file content, expected : 1024 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(false)
string(32) "3fabd48d8eaa65c14e0d93d6880c560c"
--- Reading file content less than max. file size, expeceted : 1000 bytes --
+-- Reading file content less than max. file size, expected : 1000 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 1000 bytes ... OK
diff --git a/ext/standard/tests/file/fread_variation2.phpt b/ext/standard/tests/file/fread_variation2.phpt
index 908ce90f2e..bd7d050555 100644
--- a/ext/standard/tests/file/fread_variation2.phpt
+++ b/ext/standard/tests/file/fread_variation2.phpt
@@ -78,7 +78,7 @@ foreach($file_content_types as $file_content_type) {
}
rewind($file_handle);
- echo "-- Reading entire file content, expeceted : 0 bytes --\n";
+ echo "-- Reading entire file content, expected : 0 bytes --\n";
// read from file, by giving the file actual size,
$data_from_file = check_read($file_handle, 1024, (strstr($file_mode, "+") ? 1024 : 0 ) );
// calculate the hash and dump it, if data read, expecting here no data was read
@@ -86,7 +86,7 @@ foreach($file_content_types as $file_content_type) {
var_dump( md5($data_from_file) );
// reading file by giving less than its size
- echo "-- Reading file content less than max. file size, expeceted : 0 bytes --\n";
+ echo "-- Reading file content less than max. file size, expected : 0 bytes --\n";
rewind($file_handle);
$data_from_file = check_read($file_handle, 1000, (strstr($file_mode, "+") ? 1000 : 0 ) );
// calculate the hash and dump it, if data read, expecting here no data was read
@@ -108,7 +108,7 @@ echo "Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -117,7 +117,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -127,7 +127,7 @@ int(0)
bool(false)
-- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -136,7 +136,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -146,7 +146,7 @@ int(0)
bool(false)
-- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -155,7 +155,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -165,7 +165,7 @@ int(0)
bool(false)
-- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -174,7 +174,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -184,7 +184,7 @@ int(0)
bool(false)
-- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -193,7 +193,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -203,7 +203,7 @@ int(0)
bool(false)
-- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -212,7 +212,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -222,7 +222,7 @@ int(0)
bool(false)
-- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -231,7 +231,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -241,7 +241,7 @@ int(0)
bool(false)
-- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -250,7 +250,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -260,7 +260,7 @@ int(0)
bool(false)
-- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -269,7 +269,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -281,7 +281,7 @@ bool(false)
-- Testing fread() with file having content of type text --
-- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -290,7 +290,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -300,7 +300,7 @@ int(0)
bool(false)
-- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -309,7 +309,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -319,7 +319,7 @@ int(0)
bool(false)
-- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -328,7 +328,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -338,7 +338,7 @@ int(0)
bool(false)
-- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -347,7 +347,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -357,7 +357,7 @@ int(0)
bool(false)
-- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -366,7 +366,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -376,7 +376,7 @@ int(0)
bool(false)
-- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -385,7 +385,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -395,7 +395,7 @@ int(0)
bool(false)
-- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -404,7 +404,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -414,7 +414,7 @@ int(0)
bool(false)
-- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -423,7 +423,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -433,7 +433,7 @@ int(0)
bool(false)
-- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -442,7 +442,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -454,7 +454,7 @@ bool(false)
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -463,7 +463,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -473,7 +473,7 @@ int(0)
bool(false)
-- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -482,7 +482,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -492,7 +492,7 @@ int(0)
bool(false)
-- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -501,7 +501,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -511,7 +511,7 @@ int(0)
bool(false)
-- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -520,7 +520,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -530,7 +530,7 @@ int(0)
bool(false)
-- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -539,7 +539,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -549,7 +549,7 @@ int(0)
bool(false)
-- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -558,7 +558,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -568,7 +568,7 @@ int(0)
bool(false)
-- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -577,7 +577,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -587,7 +587,7 @@ int(0)
bool(false)
-- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -596,7 +596,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -606,7 +606,7 @@ int(0)
bool(false)
-- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -615,7 +615,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -627,7 +627,7 @@ bool(false)
-- Testing fread() with file having content of type alphanumeric --
-- File opened in mode a --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -636,7 +636,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -646,7 +646,7 @@ int(0)
bool(false)
-- File opened in mode ab --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -655,7 +655,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -665,7 +665,7 @@ int(0)
bool(false)
-- File opened in mode at --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -674,7 +674,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -684,7 +684,7 @@ int(0)
bool(false)
-- File opened in mode w --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -693,7 +693,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -703,7 +703,7 @@ int(0)
bool(false)
-- File opened in mode wb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -712,7 +712,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -722,7 +722,7 @@ int(0)
bool(false)
-- File opened in mode wt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -731,7 +731,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -741,7 +741,7 @@ int(0)
bool(false)
-- File opened in mode x --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -750,7 +750,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -760,7 +760,7 @@ int(0)
bool(false)
-- File opened in mode xb --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -769,7 +769,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
@@ -779,7 +779,7 @@ int(0)
bool(false)
-- File opened in mode xt --
--- Reading entire file content, expeceted : 0 bytes --
+-- Reading entire file content, expected : 0 bytes --
int(0)
bool(false)
Reading 1024 bytes from file, expecting 0 bytes ...
@@ -788,7 +788,7 @@ OK
int(0)
bool(false)
--- Reading file content less than max. file size, expeceted : 0 bytes --
+-- Reading file content less than max. file size, expected : 0 bytes --
int(0)
bool(false)
Reading 1000 bytes from file, expecting 0 bytes ...
diff --git a/ext/standard/tests/file/fread_variation3-win32-mb.phpt b/ext/standard/tests/file/fread_variation3-win32-mb.phpt
index cbc1b6d60b..43ccbe87ea 100644
--- a/ext/standard/tests/file/fread_variation3-win32-mb.phpt
+++ b/ext/standard/tests/file/fread_variation3-win32-mb.phpt
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
rewind($file_handle);
// read file by giving size more than its size
- echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+ echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
rewind($file_handle);
$data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
if ( $data_from_file != false)
var_dump( md5($data_from_file) );
rewind($file_handle);
- echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+ echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
// try fread when file pointer at end
fseek($file_handle, 0, SEEK_END);
//reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
-- Testing fread() with file having content of type text --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1137)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1137)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1137)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
diff --git a/ext/standard/tests/file/fread_variation3-win32.phpt b/ext/standard/tests/file/fread_variation3-win32.phpt
index d09917207e..c5a1eef26d 100644
--- a/ext/standard/tests/file/fread_variation3-win32.phpt
+++ b/ext/standard/tests/file/fread_variation3-win32.phpt
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
rewind($file_handle);
// read file by giving size more than its size
- echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+ echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
rewind($file_handle);
$data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
if ( $data_from_file != false)
var_dump( md5($data_from_file) );
rewind($file_handle);
- echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+ echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
// try fread when file pointer at end
fseek($file_handle, 0, SEEK_END);
//reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
-- Testing fread() with file having content of type text --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1137)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1137)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1137)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
diff --git a/ext/standard/tests/file/fread_variation3.phpt b/ext/standard/tests/file/fread_variation3.phpt
index b0b374a4c6..9bb735a76c 100644
--- a/ext/standard/tests/file/fread_variation3.phpt
+++ b/ext/standard/tests/file/fread_variation3.phpt
@@ -84,14 +84,14 @@ foreach($file_content_types as $file_content_type) {
rewind($file_handle);
// read file by giving size more than its size
- echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+ echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
rewind($file_handle);
$data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
if ( $data_from_file != false)
var_dump( md5($data_from_file) );
rewind($file_handle);
- echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+ echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
// try fread when file pointer at end
fseek($file_handle, 0, SEEK_END);
//reading file when file pointer at end
@@ -114,126 +114,126 @@ echo"Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "950b7457d1deb6332f2fc5d42f3129d6"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -242,126 +242,126 @@ bool(true)
-- Testing fread() with file having content of type text --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "e486000c4c8452774f746a27658d87fa"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
@@ -370,126 +370,126 @@ bool(true)
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode a+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode w+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+ --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+b --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
int(1024)
bool(true)
-- File opened in mode x+t --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 1024 bytes ... OK
int(1024)
bool(true)
string(32) "b09c8026a64a88d36d4c2f17983964bb"
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ... OK
diff --git a/ext/standard/tests/file/fread_variation4.phpt b/ext/standard/tests/file/fread_variation4.phpt
index de2fceb034..9c94a9932d 100644
--- a/ext/standard/tests/file/fread_variation4.phpt
+++ b/ext/standard/tests/file/fread_variation4.phpt
@@ -75,14 +75,14 @@ foreach($file_content_types as $file_content_type) {
}
rewind($file_handle);
- echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
+ echo "-- Reading beyond filesize, expected : 1024 bytes --\n";
// read file by giving size more than its size
rewind($file_handle);
$data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 0) );
if ( $data_from_file != false)
var_dump( md5($data_from_file) );
- echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
+ echo "-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --\n";
rewind($file_handle);
// try fread when file pointer at end
fseek($file_handle, 0, SEEK_END);
@@ -106,7 +106,7 @@ echo"Done\n";
-- Testing fread() with file having content of type numeric --
-- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -114,7 +114,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -123,7 +123,7 @@ OK
int(1024)
bool(false)
-- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -131,7 +131,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -140,7 +140,7 @@ OK
int(1024)
bool(false)
-- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -148,7 +148,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -157,7 +157,7 @@ OK
int(1024)
bool(false)
-- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -165,7 +165,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -174,7 +174,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -182,7 +182,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -191,7 +191,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -199,7 +199,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -208,7 +208,7 @@ OK
int(1024)
bool(false)
-- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -216,7 +216,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -225,7 +225,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -233,7 +233,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -242,7 +242,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -250,7 +250,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -261,7 +261,7 @@ bool(false)
-- Testing fread() with file having content of type text --
-- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -269,7 +269,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -278,7 +278,7 @@ OK
int(1024)
bool(false)
-- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -286,7 +286,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -295,7 +295,7 @@ OK
int(1024)
bool(false)
-- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -303,7 +303,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -312,7 +312,7 @@ OK
int(1024)
bool(false)
-- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -320,7 +320,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -329,7 +329,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -337,7 +337,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -346,7 +346,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -354,7 +354,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -363,7 +363,7 @@ OK
int(1024)
bool(false)
-- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -371,7 +371,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -380,7 +380,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -388,7 +388,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -397,7 +397,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -405,7 +405,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -416,7 +416,7 @@ bool(false)
-- Testing fread() with file having content of type text_with_new_line --
-- File opened in mode a --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -424,7 +424,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -433,7 +433,7 @@ OK
int(1024)
bool(false)
-- File opened in mode ab --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -441,7 +441,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -450,7 +450,7 @@ OK
int(1024)
bool(false)
-- File opened in mode at --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -458,7 +458,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -467,7 +467,7 @@ OK
int(1024)
bool(false)
-- File opened in mode w --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -475,7 +475,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -484,7 +484,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -492,7 +492,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -501,7 +501,7 @@ OK
int(1024)
bool(false)
-- File opened in mode wt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -509,7 +509,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(%r1024|1137%r)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -518,7 +518,7 @@ OK
int(%r1024|1137%r)
bool(false)
-- File opened in mode x --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -526,7 +526,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -535,7 +535,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xb --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -543,7 +543,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(1024)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
@@ -552,7 +552,7 @@ OK
int(1024)
bool(false)
-- File opened in mode xt --
--- Reading beyond filesize, expeceted : 1024 bytes --
+-- Reading beyond filesize, expected : 1024 bytes --
int(0)
bool(false)
Reading 1030 bytes from file, expecting 0 bytes ...
@@ -560,7 +560,7 @@ Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %
OK
int(0)
bool(false)
--- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
+-- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes --
int(%r1024|1137%r)
bool(false)
Reading 10 bytes from file, expecting 0 bytes ...
diff --git a/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt b/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt
index 20535a0536..37fe05560e 100644
--- a/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt
+++ b/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt
@@ -38,7 +38,7 @@ echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
var_dump( mkdir("$file_path/tempx000/") );
var_dump( rmdir("$file_path/tempx000/") );
-echo "\n*** Testing mkdir() with miscelleneous input ***\n";
+echo "\n*** Testing mkdir() with miscellaneous input ***\n";
/* changing mode of mkdir to prevent creating sub-directory under it */
var_dump( chmod("$file_path/mkdir私はガラスを食べられます/", 0000) );
/* creating sub-directory test1 under mkdir, expected: false */
@@ -1606,7 +1606,7 @@ bool(false)
bool(true)
bool(true)
-*** Testing mkdir() with miscelleneous input ***
+*** Testing mkdir() with miscellaneous input ***
bool(true)
bool(true)
bool(true)
diff --git a/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt b/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt
index 3391472f99..eea1065917 100644
--- a/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt
+++ b/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt
@@ -38,7 +38,7 @@ echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
var_dump( mkdir("$file_path/tempx000/") );
var_dump( rmdir("$file_path/tempx000/") );
-echo "\n*** Testing mkdir() with miscelleneous input ***\n";
+echo "\n*** Testing mkdir() with miscellaneous input ***\n";
/* changing mode of mkdir to prevent creating sub-directory under it */
var_dump( chmod("$file_path/mkdir/", 0000) );
/* creating sub-directory test1 under mkdir, expected: false */
@@ -1606,7 +1606,7 @@ bool(false)
bool(true)
bool(true)
-*** Testing mkdir() with miscelleneous input ***
+*** Testing mkdir() with miscellaneous input ***
bool(true)
bool(true)
bool(true)
diff --git a/ext/standard/tests/file/pathinfo_variaton.phpt b/ext/standard/tests/file/pathinfo_variaton.phpt
index a671c22fda..799a264e34 100644
--- a/ext/standard/tests/file/pathinfo_variaton.phpt
+++ b/ext/standard/tests/file/pathinfo_variaton.phpt
@@ -6,7 +6,7 @@ Test pathinfo() function: usage variations
Description: Returns information about a file path
*/
-echo "*** Testing pathinfo() with miscelleneous input arguments ***\n";
+echo "*** Testing pathinfo() with miscellaneous input arguments ***\n";
$fp = fopen(__FILE__, "r");
unset($fp);
@@ -88,7 +88,7 @@ foreach($paths as $path) {
echo "Done\n";
?>
--EXPECTF--
-*** Testing pathinfo() with miscelleneous input arguments ***
+*** Testing pathinfo() with miscellaneous input arguments ***
Warning: Undefined variable: fp in %s on line %d
-- Iteration 1 --
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--
<?php
var_dump(strip_tags('<?php $dom->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--
<?php
/* Prototype : array token_get_all(string $source)
- * Description : splits the given source into an array of PHP languange tokens
+ * Description : splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation10.phpt b/ext/tokenizer/tests/token_get_all_variation10.phpt
index af2e413d38..e81643fd61 100644
--- a/ext/tokenizer/tests/token_get_all_variation10.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation10.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with constant tokens
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation11.phpt b/ext/tokenizer/tests/token_get_all_variation11.phpt
index 146e433e12..e3add6ed3a 100644
--- a/ext/tokenizer/tests/token_get_all_variation11.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation11.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with control structure tokens
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation13.phpt b/ext/tokenizer/tests/token_get_all_variation13.phpt
index 4c792d59a9..9f3fcd8240 100644
--- a/ext/tokenizer/tests/token_get_all_variation13.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation13.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with class/object constructs
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation14.phpt b/ext/tokenizer/tests/token_get_all_variation14.phpt
index 52d29198c7..9c1d16a44e 100644
--- a/ext/tokenizer/tests/token_get_all_variation14.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation14.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - invalid token values
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation15.phpt b/ext/tokenizer/tests/token_get_all_variation15.phpt
index b9e6c1fd9f..5b7fcec66a 100644
--- a/ext/tokenizer/tests/token_get_all_variation15.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation15.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - heredoc string for 'source'
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation16.phpt b/ext/tokenizer/tests/token_get_all_variation16.phpt
index 88fa59760f..f93ec870fc 100644
--- a/ext/tokenizer/tests/token_get_all_variation16.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation16.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with function constructs
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation17.phpt b/ext/tokenizer/tests/token_get_all_variation17.phpt
index bc9f3df65b..dcbabccc76 100644
--- a/ext/tokenizer/tests/token_get_all_variation17.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation17.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with exception keywords
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation18.phpt b/ext/tokenizer/tests/token_get_all_variation18.phpt
index 7da1eaac81..7535d15b11 100644
--- a/ext/tokenizer/tests/token_get_all_variation18.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation18.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with HTML code
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation2.phpt b/ext/tokenizer/tests/token_get_all_variation2.phpt
index 401fb7d095..866a67c6b6 100644
--- a/ext/tokenizer/tests/token_get_all_variation2.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation2.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with different arithmetic ope
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation3.phpt b/ext/tokenizer/tests/token_get_all_variation3.phpt
index f00ed7966f..fc995918bd 100644
--- a/ext/tokenizer/tests/token_get_all_variation3.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation3.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with logical operators
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation4.phpt b/ext/tokenizer/tests/token_get_all_variation4.phpt
index 1ebafaec3a..3bd05295fe 100644
--- a/ext/tokenizer/tests/token_get_all_variation4.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation4.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with comparison operators
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation5.phpt b/ext/tokenizer/tests/token_get_all_variation5.phpt
index 2d8121fd80..d81562060a 100644
--- a/ext/tokenizer/tests/token_get_all_variation5.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation5.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with assignment operators
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation6.phpt b/ext/tokenizer/tests/token_get_all_variation6.phpt
index 6213dab9d0..06c13bd32c 100644
--- a/ext/tokenizer/tests/token_get_all_variation6.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation6.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with bitwise operators
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation7.phpt b/ext/tokenizer/tests/token_get_all_variation7.phpt
index 36fda3298c..8ba8db8b7e 100644
--- a/ext/tokenizer/tests/token_get_all_variation7.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation7.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with increment/decrement oper
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation8.phpt b/ext/tokenizer/tests/token_get_all_variation8.phpt
index c80a5d0f04..f1c3ff15e0 100644
--- a/ext/tokenizer/tests/token_get_all_variation8.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation8.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with type casting operators
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/ext/tokenizer/tests/token_get_all_variation9.phpt b/ext/tokenizer/tests/token_get_all_variation9.phpt
index 1662fb27f3..e61093304b 100644
--- a/ext/tokenizer/tests/token_get_all_variation9.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation9.phpt
@@ -5,7 +5,7 @@ Test token_get_all() function : usage variations - with different types of comme
--FILE--
<?php
/* Prototype : array token_get_all(string $source)
- * Description: splits the given source into an array of PHP languange tokens
+ * Description: splits the given source into an array of PHP language tokens
* Source code: ext/tokenizer/tokenizer.c
*/
diff --git a/sapi/fuzzer/fuzzer-sapi.c b/sapi/fuzzer/fuzzer-sapi.c
index 5e50e3d1aa..eb452788b1 100644
--- a/sapi/fuzzer/fuzzer-sapi.c
+++ b/sapi/fuzzer/fuzzer-sapi.c
@@ -148,7 +148,7 @@ int fuzzer_request_startup()
}
#ifdef ZEND_SIGNALS
- /* Some signal handlers will be overriden,
+ /* Some signal handlers will be overridden,
* don't complain about them during shutdown. */
SIGG(check) = 0;
#endif
diff --git a/tests/output/ob_017.phpt b/tests/output/ob_017.phpt
index 1dc5fc59be..c6b59cb765 100644
--- a/tests/output/ob_017.phpt
+++ b/tests/output/ob_017.phpt
@@ -1,13 +1,13 @@
--TEST--
-output buffering - stati
+output buffering - statuses
--INI--
opcache.optimization_level=0
--FILE--
<?php
-$stati = array();
+$statuses = array();
function oh($str, $flags) {
- global $stati;
- $stati[] = "$flags: $str";
+ global $statuses;
+ $statuses[] = "$flags: $str";
return $str;
}
ob_start("oh", 3);
@@ -19,7 +19,7 @@ ob_clean();
echo "yes!\n";
echo "no";
ob_end_clean();
-print_r($stati);
+print_r($statuses);
?>
--EXPECT--
yes!