Skip to content

Commit f1a22d0

Browse files
authored
fix: typos (#13694)
Signed-off-by: guoguangwu <[email protected]>
1 parent 7ff78f7 commit f1a22d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/enchant/tests/bug13181.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ if (!enchant_broker_list_dicts($broker)) {
2121
?>
2222
--FILE--
2323
<?php
24-
function get_dictionnary() {
24+
function get_dictionary() {
2525
$rBroker = enchant_broker_init();
2626
$t = enchant_broker_request_dict($rBroker, 'en');
2727
var_dump($t);
2828
return $t;
2929
}
30-
$rDict = get_dictionnary();
30+
$rDict = get_dictionary();
3131
var_dump($rDict);
3232
enchant_dict_suggest($rDict, "soong");
3333

ext/standard/tests/file/file_get_contents_with_large_length.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ $file_path = __DIR__ . '/file_get_contents_with_large_length_content.txt';
99
$file_content = str_repeat('a', 50000);
1010
file_put_contents($file_path, $file_content);
1111

12-
// test lenght limiting
12+
// test length limiting
1313
$result = file_get_contents($file_path, length: 500000000);
1414
var_dump($result === $file_content);
1515

16-
// test lenght limiting
16+
// test length limiting
1717
$result = file_get_contents($file_path, length: 40000);
1818
var_dump($result === str_repeat('a', 40000));
1919

0 commit comments

Comments
 (0)