Commit graph

106 commits

Author SHA1 Message Date
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
5cc7e36e65 Document SQLite3::setAuthorizer
Based on a patch contributed by BohwaZ.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351547 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 15:25:48 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
c7e10bf1f8 Use meaningful xml:id
This is obviously a copy&paste relict.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350607 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 22:33:43 +00:00
Christoph Michael Becker
4aba1fc71a Document SQLite3::backup()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350581 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-17 11:22:55 +00:00
Christoph Michael Becker
e7bc899179 Fix example
A column declared as "string" has numeric type affinity, which may cause
unexpected results.

This integrates user note 125069.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349998 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 08:01:54 +00:00
Christoph Michael Becker
92e520adb8 Clarify SQLite3Result::columnName()
Cf. bug #78813.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349251 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-24 12:48:37 +00:00
Christoph Michael Becker
8597134228 Fix #78957: pdo_sqlite extension does not load after upgrading from 7.3.12 to 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348532 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-16 09:35:43 +00:00
Christoph Michael Becker
5dfe41ab18 Use predefined entity reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348460 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-08 13:23:30 +00:00
George Peter Banyard
c644e37690 Use reurn.falseforfailure entity.
-- 
Provided by anonymous 94249 (BohwaZ)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348420 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-04 01:08:49 +00:00
Christoph Michael Becker
46dc6dc114 Fix default values
Cf. <https://3v4l.org/PDRvd>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347846 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-13 09:08:59 +00:00
Christoph Michael Becker
a5e210ecc2 Fix #77240: Incorrect binding near constraint errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347015 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-17 17:50:10 +00:00
Christoph Michael Becker
d6746c5d2b Document sqlite3.defensive INI directive
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346996 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-11 16:30:46 +00:00
Christoph Michael Becker
5621e7baee Add note regarding temporary files
This integrates user notes 111114, 111593, 113600, 116005 and 123574.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346676 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-01 14:23:10 +00:00
Christoph Michael Becker
0c2deb3a85 Document SQLite3Stmt::getSQL() (as of PHP 7.4.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346355 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-16 11:56:12 +00:00
Christoph Michael Becker
d53376863c ext/sqlite3 requires libsqlite ≥ 3.7.4 as of PHP 7.4.0
Cf. <http://git.php.net/?p=php-src.git;a=commit;h=a757ebb5b58db9e15b71ed50c6ba9e2a5111508c>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346126 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-29 14:40:25 +00:00
Christoph Michael Becker
baded7410d Document @param support
Cf. <https://github.com/php/php-src/pull/3636>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345971 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 15:47:13 +00:00
Christoph Michael Becker
b3bd0c94bb Clarify meaning of $sql_param parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345970 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 14:38:43 +00:00
Christoph Michael Becker
23d1661804 Clarify behavior of parameter binding for multiple executions
Based on a patch provided by BohwaZ.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345969 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 14:30:23 +00:00
Christoph Michael Becker
144e8ab5f1 Document SQLite ≥ 3.5.0 requirement
Cf. <https://github.com/php/php-src/pull/3543>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345812 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-13 11:04:07 +00:00
Christoph Michael Becker
0c1b86e9c6 Prefix <literal> variable names with $
This had formerly been accomplished by PhD, since the variable names
have been marked up as <parameter>, which was confusing here, though.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345797 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-08 13:02:51 +00:00
Christoph Michael Becker
b9a8d77cba Document unbundling of libsqlite
Cf. <https://github.com/php/php-src/pull/3548>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345781 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:19:12 +00:00
Christoph Michael Becker
599a6e381e Fix #61661: SQLite3::createAggregate() callbacks: insufficient docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345679 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-22 10:40:40 +00:00
Christoph Michael Becker
829adcf2ac Add usage example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345400 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:33:23 +00:00
Christoph Michael Becker
cb2292047f Add seealso sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345399 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:22:39 +00:00
Christoph Michael Becker
1af6b9e0de Mark up constants as such
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345398 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:10:41 +00:00
Christoph Michael Becker
da63a95206 Clarify default value of $type parameter
We don't add a changelog entry since the behavioral change
as of PHP 7.0.7 has to be considered a bug fix, but we feel
obliged to documented the former behavior nonetheless.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345397 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:06:32 +00:00
Christoph Michael Becker
25a4ad367d Fix changelog entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344878 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-29 10:47:00 +00:00
Jakub Vrana
54b1222000 Fix <refname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343937 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 16:21:38 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Christoph Michael Becker
89e04dc760 Fix bug #75404: Wrong information about return type of ResultSet
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343266 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-20 11:32:58 +00:00
Kalle Sommer Nielsen
f6d7d70353 Fixed bug #74915 (Wrong constant name in SQLite3::openBlob)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342667 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-13 08:55:15 +00:00
Christoph Michael Becker
f1d4d00041 Document writing of BLOBs (as of PHP 7.2.0)
Cf. <https://github.com/php/php-src/pull/2528>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342606 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-19 13:26:22 +00:00
Christoph Michael Becker
86e4b5c897 Fix method name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342605 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-19 11:45:50 +00:00
Christoph Michael Becker
d0a57fa419 Fix #74397: Filename can also be empty string for in-memory db
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342307 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-11 14:13:38 +00:00
Christoph Michael Becker
95f1473b20 Fix and clarify parameter description, respectively
Negative values other than -1 have undefined behavior according to
<https://sqlite.org/c3ref/create_function.html>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342156 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 14:17:07 +00:00
Christoph Michael Becker
73ccd04e7d Document $flags parameter (as of PHP 7.1.4)
See https://github.com/php/php-src/pull/2412.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342155 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 14:07:36 +00:00
Christoph Michael Becker
911a1c5c18 Fix #73827: Empty cell translates to what?
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341550 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-30 13:46:46 +00:00
Christoph Michael Becker
fc035bc212 Warn about using multiple result sets concurrently
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341033 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-15 18:35:09 +00:00
Christoph Michael Becker
f445cbb4e2 Fix #72502: SQLite3Stmt::close(): insufficient documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339976 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-02 15:10:27 +00:00
Christoph Michael Becker
a56669af15 Fix and improve SQLite3Stmt::readOnly() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339975 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-02 14:49:28 +00:00
Philip Olson
bc3ea7e6cd Fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339872 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-13 00:56:42 +00:00
Peter Cowburn
bb34cfdd32 fix Revision keyword
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339779 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-04 15:35:27 +00:00
Christoph Michael Becker
cd2eae76e7 SQLite3::bind(Param|Value) accepts ints as well as strings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339509 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-27 14:14:18 +00:00
Christoph Michael Becker
7b918120f8 Fix #62361: SQLite3::escapeString is not binary safe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339508 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-27 14:12:35 +00:00