1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

131 Commits

Author SHA1 Message Date
Derick Rethans
22583751fb Fixed syntax errors in more examples 2025-02-07 11:21:39 +00:00
Máté Kocsis
2ab6e3ff16 Synchronize manual with stubs for PHP 8.4 - part 6 (#4209)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-12-02 13:51:13 +01:00
Jim Winstead
f27cfeeefc Update examples using md5(...) to use hash('md5', ...) (#3619) 2024-07-31 09:11:05 -07:00
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
haszi
61374bbe22 Change literal to constant tags 2024-04-16 10:45:49 +01:00
haszi
09965ec0c7 [skip-revcheck] Update SQLite, Zookeeper and SNMP constant IDs (#3212)
* Update sqlite constant IDs to standard class constant ID format

* Update snmp constant IDs to standard class constant ID format

* Update zookeeper constant IDs to standard class constant ID format

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-02-29 15:16:42 +00:00
Sergey Panteleev
cf116cb470 [PHP 8.3] Update SQLite3 (#3189)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-02-19 00:09:31 +00:00
Gina Peter Banyard
d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00
haszi
df58adf8ff Add SQLite3Exception documentation (#3079)
Co-authored-by: haszi <haszika80@gmail.com>
2024-01-08 21:13:29 +00:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Máté Kocsis
ad4f8a7e36 Add missing class constants with empty description - part 3 (#2147) 2023-05-17 07:26:04 +02:00
Máté Kocsis
855bfee2f3 Update ext/sqlite3 role attributes (#1985) 2022-12-11 16:11:44 +01:00
George Peter Banyard
65716f4761 Add initial version of the PHP 8.2 migration guide (#1799)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
2022-09-26 10:40:14 +01:00
George Peter Banyard
c44e9cb68b Fix some (con|de)structor pages (#1507)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-04-06 18:55:35 +01:00
Shakil Shahadat
1f26555e0d Fix datatype in SQLite3 example
SQLite3 does not have a 'STRING' data type. Cf. <https://www.sqlite.org/datatype3.html>.

Closes GH-1320.
2022-01-11 11:11:10 +01:00
Máté Kocsis
de997edfd4 Generate ext/sqlite3 class synopses from stubs (#1071)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-11-11 11:05:55 +01:00
Máté Kocsis
7f99d5e488 Remove some unnecessary methodsynopsis role attributes (#913) 2021-09-14 14:37:29 +02:00
Christoph M. Becker
3bf1282857 SQLite3::lastInsertRowId() returns 0 if nothing had been inserted
Cf. <https://www.sqlite.org/c3ref/last_insert_rowid.html>.

This integrates user note 126310.
2021-08-04 16:46:13 +02:00
Sergey Panteleev
184f3f7bd4 Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
Yoshinari Takaoka
9da37a457a fixed SQLite3::setAuthorizer parameter order description. (#593)
5th and 6th parameter description is wrong, because they are copy-and-pasted from the following C interface manual page.

https://www.sqlite.org/c3ref/c_alter_table.html
2021-05-11 06:33:41 +09:00
BohwaZ
5d9eb55b2a Add tip on VACUUM INTO in SQLite3::backup (#547) 2021-04-26 12:02:11 +02:00
Kamil Tekiela
16a1bdfd1c Remove double words (#540) 2021-04-20 12:54:54 +02:00
Yoshinari Takaoka
57232e0ad8 Added PHP 8 into versions.xml for sqlite3 based on stubs.
Closes GH-357.
2021-01-18 13:12:26 +01:00
Máté Kocsis
d15a12639f Generate sqlite3 methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-303.
2021-01-01 23:40:36 +01:00
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