Skip to content

Commit c1924ab

Browse files
committedMar 17, 2025·
clippy fixes
1 parent 97c69ea commit c1924ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sqlite> SELECT md5_hex('Hello world!');
4040

4141
### PHP
4242

43-
To load the extension from PHP, store `libsqlite_hashes.so` in your SQLite extensions folder. If you don't have any extensions yet, you can determine your SQLite extensions folder by defining the `sqlite3.extension_dir` variable as the filepath to the extensions directory in your `php.ini` file.
43+
To load the extension from PHP, store `libsqlite_hashes.so` in your `SQLite` extensions folder. If you don't have any extensions yet, you can determine your `SQLite` extensions folder by defining the `sqlite3.extension_dir` variable as the filepath to the extensions directory in your `php.ini` file.
4444

4545
```ini
4646
sqlite3.extension_dir = /path/to/sqlite/extensions
@@ -60,7 +60,7 @@ sqlite3.defensive => On => On
6060
sqlite3.extension_dir => /var/www/extensions/ => /var/www/extensions/
6161
```
6262

63-
Now, make sure to always load the extension by running `SQLite3::loadExtension('libsqlite_hashes.so');` (remember to include the correct file extension according to your Operating System, e.g., `.so` for Linux, `.dll` for Windows, and `.dylib` for MacOS) in each project you intend to use sqlite hash functions.
63+
Now, make sure to always load the extension by running `SQLite3::loadExtension('libsqlite_hashes.so');` (remember to include the correct file extension according to your Operating System, e.g., `.so` for Linux, `.dll` for Windows, and `.dylib` for macOS) in each project you intend to use sqlite hash functions.
6464

6565
For instance, the following code snippet demonstrate the minimum required code to run SHA256 in a string "password":
6666

@@ -71,7 +71,7 @@ $db->loadExtension('libsqlite_hashes.so');
7171
echo $db->querySingle("SELECT hex(sha256('password'))");
7272
```
7373

74-
Warning: According to <https://github.com/nyurik/sqlite-hashes/issues/71>, PHP 7 fails to load the extension with or without specifying the file extension as it ends up looking for a file with a double extension (e.g., libsqlite_hashes.so.so). Therefore, we recommend using it with PHP 8.
74+
Warning: According to <https://github.com/nyurik/sqlite-hashes/issues/71>, PHP 7 fails to load the extension with or without specifying the file extension as it ends up looking for a file with a double extension (e.g., `libsqlite_hashes.so.so`). Therefore, we recommend using it with PHP 8.
7575

7676
### Rust library
7777

0 commit comments

Comments
 (0)
Please sign in to comment.