Commit graph

27527 commits

Author SHA1 Message Date
Christoph M. Becker
59244d9ae9
Fix #81635: No example of complex interpolation syntax with filenames 2021-11-18 15:18:17 +01:00
Máté Kocsis
83569ce5f5
Generate ext/json class synopses from stubs (#1104) 2021-11-18 11:23:48 +01:00
Sergey Panteleev
b7c12f23bd
Fix preg_match_all return values (#1122)
Closes #1102
2021-11-18 12:48:37 +03:00
Máté Kocsis
49c49b330e
[skip-revcheck] Generate ext/shmop class synopses from stubs (#1106) 2021-11-18 07:21:01 +01:00
Máté Kocsis
6384699ff8
[skip-revcheck] Generate ext/zlib class synopses from stubs (#1065) 2021-11-18 07:14:12 +01:00
Kamil Tekiela
5881f96d8b
Remove function name from return values of fetch_column
There are OOP and procedural variants, so specifying only the procedural
name can be confusing.
2021-11-17 18:35:47 +00:00
Kamil Tekiela
11731a4f73
Improve mysqli fetch_* descriptions 2021-11-17 18:33:05 +00:00
Christoph M. Becker
d74736d803
Fix #73857: Y2038 issue with getTimestamp and setTimestamp, with alternative 2021-11-17 15:47:43 +01:00
Christoph M. Becker
d332b5ae70
Uninitialized type properties are silently discarded on array cast
Cf. <https://bugs.php.net/81629>.
2021-11-17 15:15:09 +01:00
Máté Kocsis
a464e3bda1
Generate ext/fileinfo class synospes from stubs (#1115) 2021-11-17 12:45:24 +01:00
Máté Kocsis
7e711e8b79
[skip-revcheck] Generate ext/gd class synopses from stubs (#1117) 2021-11-17 12:10:03 +01:00
Máté Kocsis
cc9ca293a0
[skip-revcheck] Generate ext/imap class synopses from stubs (#1118) 2021-11-17 12:09:22 +01:00
Máté Kocsis
627e662b48
[skip-revcheck] Generate ext/ftp class synopses from stubs (#1114) 2021-11-17 11:56:21 +01:00
Máté Kocsis
32d702dd76
[skip-revcheck] Generate ext/ldap class synopses from stubs (#1111) 2021-11-17 09:00:11 +01:00
Máté Kocsis
9363cb735c
[skip-revcheck] Generate ext/pgsql class synopses from stubs (#1110) 2021-11-17 08:59:49 +01:00
Máté Kocsis
87fe85d824
[skip-revcheck] Generate ext/sysvsem class synopses from stubs (#1108) 2021-11-17 08:59:33 +01:00
Máté Kocsis
e902ea4116
[skip-revcheck] Generate ext/sockets class synopses from stubs (#1103) 2021-11-17 07:52:20 +01:00
Christoph M. Becker
8f28fbb43a
Revert "Revert "Generate ext/sodium class synopses from stubs""
This reverts commit 6700a28f74, because
the change is wanted, but this time we don't apply the `skip-revcheck`
tag.

Sorry for the noise, translators!
2021-11-17 00:36:22 +01:00
Christoph M. Becker
6700a28f74
[skip-revcheck] Revert "Generate ext/sodium class synopses from stubs"
This reverts commit 1b3769ae7d, because
we must not tag `skip-revcheck` here.

Cf. <1b3769ae7d (r60384241)>.
2021-11-17 00:32:41 +01:00
Kamil Tekiela
b610be0d56
Aling refpurpose of all mysqli fetch functions 2021-11-16 21:01:58 +00:00
Kamil Tekiela
1861d5203b
mysqli_fetch_assoc return values fix 2021-11-16 20:37:13 +00:00
Máté Kocsis
159ce38734
[skip-revcheck] Generate ext/xsl class synopses from stubs
Closes GH-1067.
2021-11-16 18:44:33 +01:00
Máté Kocsis
de6862c9ad
[skip-revcheck] Generate ext/tokenizer class synopses from stubs
Closes GH-1069.
2021-11-16 18:43:27 +01:00
Máté Kocsis
cd66366e17
[skip-revcheck] Generate ext/tidy class synopses from stubs
Closes GH-1070.
2021-11-16 18:42:09 +01:00
Máté Kocsis
1b3769ae7d
[skip-revcheck] Generate ext/sodium class synopses from stubs
Closes GH-1072.
2021-11-16 18:41:00 +01:00
Máté Kocsis
eefc91c6a5
[skip-revcheck] Generate ext/pspell class synopses from stubs
Closes GH-1073.
2021-11-16 18:40:11 +01:00
DmitryTronin
610ac95b98
Remove incorrect return comment for ArrayObject::unserialize
Closes GH-1101.
2021-11-16 17:09:22 +01:00
Christoph M. Becker
3725fe1c95
Document dangling else handling
Cf. <https://bugs.php.net/51016#1619439579>.
2021-11-16 16:10:56 +01:00
Christoph M. Becker
af64507ffd
Fix #71916: Two attribute constants use the same value 2021-11-16 15:02:05 +01:00
Máté Kocsis
f0c0715e3d
[skip-revcheck] Generate ext/enchant class synopses from stubs
Closes GH-1075.
2021-11-16 14:08:25 +01:00
Christoph M. Becker
04f3346a4b
Fix typo (caracter → character)
This integrates user note 126618.
2021-11-16 13:43:25 +01:00
Kamil Tekiela
473b5ab2c1
Fix mysqli return values (#1055) 2021-11-16 11:19:01 +00:00
Christoph M. Becker
c8c9278fe4
phpdbg INI directives are removed as of PHP 8.1.0
Cf. <cded43fd8d>
and <766e6b0856>.
2021-11-15 17:56:50 +01:00
Christoph M. Becker
14e006b4ee
Passing values of wrong types is no longer undefined behavior as of PHP 8.1.0
Well, at least for the core functions, and many PECL extensions.  Some
PECL extension functions may not yet behave this way, so we add in a
"supposed to".
2021-11-15 17:28:59 +01:00
Christoph M. Becker
72e81bd314
Fixes GH-1099: A non-existent section "Backslash" appears in the paragraph 2021-11-15 17:22:01 +01:00
Christoph M. Becker
d1c3de7ae6
Update sessionhandlerinterface example for PHP 8.1
We require suitable return types or the ReturnTypeWillChange attribute
as of PHP 8.1.0.  We specify the return types where supported as of PHP
7.0.0, but go with the attribute for the union types.

Cf. <https://github.com/php/doc-en/issues/1090>.
2021-11-15 17:05:31 +01:00
Máté Kocsis
28ebd55c47
[skip-revcheck] Generate ext/openssl class synopses from stubs (#1074) 2021-11-15 16:13:02 +01:00
Jacob Dreesen
59154119e9
Clarify purpose of ReflectionType
Closes GH-1098.
2021-11-15 16:05:52 +01:00
Christoph M. Becker
f8b0bb4100
Fix #81620: parse_ini_file and parse_ini_string don't actually support value interpolation 2021-11-15 13:44:02 +01:00
Elnur Abdurrakhimov
3ba4c7d287
[skip-revcheck] Fix typo (it's → its)
Closes GH-1095.
2021-11-14 12:56:28 +01:00
Kamil Tekiela
dfa86bcd6d
Use type entities 2021-11-13 12:58:16 +00:00
hakre
d5161a40ab
Add note when return value is string (#1062)
Note taken from reference/mysqli/mysqli_result/num-rows.xml.

Extracting !ENTITY mysqli.integer.overflow.as.string.note
2021-11-13 12:49:53 +00:00
cmp
085c38d45e
PHP 8.1: Update integer docs for new octal notation
Closes GH-1091.
2021-11-13 11:00:05 +01:00
Christopher Jones
93ca935fa7
Add doc for oci8.prefetch_lob_size 2021-11-12 21:36:47 +11:00
Cédric Anne
fce2e1a41a
datefmt_create(): $dateType and $timeType don't accept null
See https://github.com/php/php-src/pull/7640

Closes GH-1086.
2021-11-11 23:45:52 +01:00
Kamil Tekiela
28efc4fb29
The proper name is PostgreSQL 2021-11-11 16:50:03 +00:00
Jeremy Mikola
7cfd68e5d4
Document Stringable::__toString() method
Also fixes links to __toString() magic method in Stringable interface docs.

Closes GH-1082.
2021-11-11 17:09:59 +01:00
Christoph M. Becker
197df870cb
Fix #69683: Default value of rlimit_files makes no sense 2021-11-11 16:21:09 +01:00
Christoph M. Becker
1c9673edff
Fix #71310: Can't use DSN with semicolons 2021-11-11 16:17:18 +01:00
Christoph M. Becker
eefb871c7a
Move bytea relate note to more appropriate place
This has nothing to do with the DSN.
2021-11-11 16:11:00 +01:00