Skip to content

Commit 4094fe3

Browse files
TysonAndrenikic
authored andcommitted
Fix other typos in tests/
1 parent 15b92ed commit 4094fe3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

tests/classes/overloading_play.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var_dump($v);
7878

7979
echo "----------------------\n";
8080

81-
var_dump(isset($obj->hidden)); // test if hidden exists and is accesible, or is dynamic
81+
var_dump(isset($obj->hidden)); // test if hidden exists and is accessible, or is dynamic
8282

8383
echo "----------------------\n";
8484

@@ -88,7 +88,7 @@ echo "hidden: $v\n";
8888

8989
echo "----------------------\n";
9090

91-
var_dump(isset($obj->hidden)); // test if hidden exists and is accesible, or is dynamic
91+
var_dump(isset($obj->hidden)); // test if hidden exists and is accessible, or is dynamic
9292

9393
echo "----------------------\n";
9494

tests/expressions/postfix_operators/scope_resolution_operator.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class M
2020
const MYPI = 3.14;
2121
const CON1 = -222;
2222

23-
// method b1 demostrates self vs. static
23+
// method b1 demonstrates self vs. static
2424

2525
public function b1()
2626
{
@@ -93,7 +93,7 @@ class P extends N
9393
echo "Inside static " . __METHOD__ . "\n";
9494
}
9595

96-
// method f1 demostrates self and parent
96+
// method f1 demonstrates self and parent
9797

9898
public static function f1()
9999
{

tests/expressions/postfix_operators/subscripting.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var_dump($z);
7676
$z = [array(2,4,6,8), array(5,10), array(100,200,300)][0][2];
7777
var_dump($z);
7878

79-
$z = [[2,4,6,8], [5,10], [100,200,300]][0][2]; // acceses element with value 6
79+
$z = [[2,4,6,8], [5,10], [100,200,300]][0][2]; // accesses element with value 6
8080
var_dump($z);
8181

8282
var_dump(["black", "white", "yellow"][1]); // white
@@ -89,7 +89,7 @@ function f()
8989
}
9090
//*/
9191
///*
92-
var_dump(f()[2]); // acceses element with value 3000
92+
var_dump(f()[2]); // accesses element with value 3000
9393
//*/
9494

9595
///*

tests/lexical_structure/tokens/string_literals.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ echo "\$myC->p1 = >$myC->p1<\n";
143143
///*
144144
// use brace-delimited expressions
145145

146-
// braces can be use around varible names to stop a longer name being formed
146+
// braces can be use around variable names to stop a longer name being formed
147147

148148
echo ">{$z}X|$z X|{$zz}_|$zz _|{$zzz}3|$zzz 3|{$zzzz}+|$zzzz +<\n";
149149
//*/

0 commit comments

Comments
 (0)