File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ if (!enchant_broker_list_dicts($broker)) {
21
21
?>
22
22
--FILE--
23
23
<?php
24
- function get_dictionnary () {
24
+ function get_dictionary () {
25
25
$ rBroker = enchant_broker_init ();
26
26
$ t = enchant_broker_request_dict ($ rBroker , 'en ' );
27
27
var_dump ($ t );
28
28
return $ t ;
29
29
}
30
- $ rDict = get_dictionnary ();
30
+ $ rDict = get_dictionary ();
31
31
var_dump ($ rDict );
32
32
enchant_dict_suggest ($ rDict , "soong " );
33
33
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ $file_path = __DIR__ . '/file_get_contents_with_large_length_content.txt';
9
9
$ file_content = str_repeat ('a ' , 50000 );
10
10
file_put_contents ($ file_path , $ file_content );
11
11
12
- // test lenght limiting
12
+ // test length limiting
13
13
$ result = file_get_contents ($ file_path , length: 500000000 );
14
14
var_dump ($ result === $ file_content );
15
15
16
- // test lenght limiting
16
+ // test length limiting
17
17
$ result = file_get_contents ($ file_path , length: 40000 );
18
18
var_dump ($ result === str_repeat ('a ' , 40000 ));
19
19
You can’t perform that action at this time.
0 commit comments