diff --git a/reference/pdo_sqlite/PDO/sqliteCreateFunction.xml b/reference/pdo_sqlite/PDO/sqliteCreateFunction.xml
index 976319a925..7e2e8c57c0 100644
--- a/reference/pdo_sqlite/PDO/sqliteCreateFunction.xml
+++ b/reference/pdo_sqlite/PDO/sqliteCreateFunction.xml
@@ -14,7 +14,7 @@
public boolPDO::sqliteCreateFunction
stringfunction_name
callablecallback
- intnum_args
+ intnum_args-1
intflags0
&warn.experimental.func;
@@ -60,8 +60,9 @@
num_args
- Hint to the SQLite parser if the callback function accepts a
- predetermined number of arguments.
+ The number of arguments that the SQL function takes. If
+ this parameter is -1, then the SQL function may take
+ any number of arguments.
diff --git a/reference/sqlite3/sqlite3/createfunction.xml b/reference/sqlite3/sqlite3/createfunction.xml
index 2aa8b969f8..acbc86fa0d 100644
--- a/reference/sqlite3/sqlite3/createfunction.xml
+++ b/reference/sqlite3/sqlite3/createfunction.xml
@@ -48,7 +48,7 @@
The number of arguments that the SQL function takes. If
- this parameter is negative, then the SQL function may take
+ this parameter is -1, then the SQL function may take
any number of arguments.