[doc-en] master: ext/sqlite3: Remove unlink from SQLite3::prepare example (#5870)
| From: | Guilherme Nascimento via GitHub | Date: | Wed, 23 Sep 2026 02:09:08 +0000 |
| Subject: | [doc-en] master: ext/sqlite3: Remove unlink from SQLite3::prepare example (#5870) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23765@lists.php.net to get a copy of this message | ||
Author: Guilherme Nascimento (brcontainer)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-09-22T22:09:05-04:00
Commit: https://github.com/php/doc-en/commit/0c7f4bd35fd53758ff6b66e2acefebd4a2ac6c06
Raw diff: https://github.com/php/doc-en/commit/0c7f4bd35fd53758ff6b66e2acefebd4a2ac6c06.diff
ext/sqlite3: Remove unlink from SQLite3::prepare example (#5870)
The
unlink was likely a leftover from some behavior test. Its use in the example
doesn't seem to serve any purpose in the context of the explanation regarding
SQLite3::prepare.
Changed paths:
M reference/sqlite3/sqlite3/prepare.xml
Diff:
diff --git a/reference/sqlite3/sqlite3/prepare.xml b/reference/sqlite3/sqlite3/prepare.xml
index 785c40456199..8421b9dab958 100644
--- a/reference/sqlite3/sqlite3/prepare.xml
+++ b/reference/sqlite3/sqlite3/prepare.xml
@@ -49,7 +49,6 @@
<programlisting role="php">
<![CDATA[
<?php
-unlink('mysqlitedb.db');
$db = new SQLite3('mysqlitedb.db');
$db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');