Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/enchant/tests/bug13181.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ if (!enchant_broker_list_dicts($broker)) {
?>
--FILE--
<?php
function get_dictionnary() {
function get_dictionary() {
$rBroker = enchant_broker_init();
$t = enchant_broker_request_dict($rBroker, 'en');
var_dump($t);
return $t;
}
$rDict = get_dictionnary();
$rDict = get_dictionary();
var_dump($rDict);
enchant_dict_suggest($rDict, "soong");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ $file_path = __DIR__ . '/file_get_contents_with_large_length_content.txt';
$file_content = str_repeat('a', 50000);
file_put_contents($file_path, $file_content);

// test lenght limiting
// test length limiting
$result = file_get_contents($file_path, length: 500000000);
var_dump($result === $file_content);

// test lenght limiting
// test length limiting
$result = file_get_contents($file_path, length: 40000);
var_dump($result === str_repeat('a', 40000));

Expand Down