Commit graph

27731 commits

Author SHA1 Message Date
George Peter Banyard
7d9aa6352e
Restructure type declaration page & document Intersection types (#982) 2022-01-06 12:36:43 +00:00
Máté Kocsis
3cf5f667fb
Actually include FFI\CType methods (#1303) 2022-01-05 23:00:09 +01:00
Jeremy Mikola
2d75b03614
Correct alias for weak_cert_validation driver option 2022-01-05 10:34:45 -05:00
Máté Kocsis
8161936485
Add undocumented FFI\CType methods (#1227) 2022-01-05 11:00:17 +01:00
Christoph M. Becker
479a847e72
Fix "day and textual month" format
There is no `d`, but only `dd`.

Integrates user note 126745.
2022-01-04 16:49:05 +01:00
魔王卷子
ba9d7ebde7
Fix wrong parameter name
Closes GH-1298.
2022-01-04 16:02:51 +01:00
Máté Kocsis
302039194a
Add some missing ext/spl method includes (#1294) 2022-01-04 11:47:29 +01:00
Máté Kocsis
a91b76de3d
Add initial documentation for DOMDocumentFragment::__construct() (#1296) 2022-01-04 11:42:29 +01:00
Máté Kocsis
7733a3cea8
Update and reorder PDOException::$code
According to gen_stub.php
2022-01-03 14:18:00 +01:00
Máté Kocsis
4951970b68
Generate ext/dom class synopses from stubs - part 2 (#1289) 2022-01-03 13:53:30 +01:00
Máté Kocsis
5485482993
Adjust ext/gmp default values (#1287)
According to gen_stub.php
2022-01-03 10:12:53 +01:00
Máté Kocsis
a123b24db5
Fix some ext/standard param types (#1288) 2022-01-03 10:12:29 +01:00
Máté Kocsis
3c44706d4e
Generate ext/soap class synopses from stubs (#1275) 2022-01-03 08:06:35 +01:00
Christoph M. Becker
eba8e74c75
The array_walk() $callback may require more than 2 parameters
Cf. <https://3v4l.org/jdjEG>.
2021-12-31 19:52:36 +01:00
Christoph M. Becker
31cacb6f26
Fix #80699: array_map no longer passes by reference 2021-12-31 19:21:39 +01:00
Christoph M. Becker
1dd897816d
Fix GH-1280: The first arg after -f <filename> does not need to be -- 2021-12-30 16:50:39 +01:00
Christoph M. Becker
84eaa4850b
Fix GH-1281: commandline description content error 2021-12-30 16:38:19 +01:00
Máté Kocsis
eabde0419c
Update some string function parameter default values (#1272) 2021-12-30 14:03:52 +01:00
Martin Samesch
56fd9ea411
[skip-revcheck] Fix typo; WS 2021-12-30 13:48:11 +01:00
Kamil Tekiela
19a475c5cb
Document mysqli_result::__construct (#1279) 2021-12-29 22:58:11 +00:00
Christoph M. Becker
670525ef4c
Remove return values section from PDO::__construct() 2021-12-29 23:45:24 +01:00
Kamil Tekiela
d6fbec8b21
get_class does not return false (#1169) 2021-12-29 14:01:44 +00:00
Christoph M. Becker
0e28c9d2fa
Fix GH-1277: Document zend.exception_string_param_max_len ini setting 2021-12-29 12:24:40 +01:00
Christoph M. Becker
906db3b3f7
streamwrapper::stream_read() can actually return false
Cf. <https://github.com/php/doc-en/issues/1220>.
2021-12-29 00:01:35 +01:00
Máté Kocsis
b06b3f19af
Regenerate ext/mysqli class and method synopses from stubs (#1271) 2021-12-28 22:36:41 +01:00
Máté Kocsis
4c0d1f0934
Regenerate ext/spl method synopses based on stubs (#1273)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-28 18:34:24 +01:00
Máté Kocsis
7a650f743a
Generate ext/intl class synopses from stubs - part 3 (#1274) 2021-12-28 17:10:33 +01:00
Kamil Tekiela
1bb7bd6f02
Remove whitespace from parameter names
This should fix JavaScript bug
2021-12-28 15:20:40 +00:00
Christoph M. Becker
ee4535711f
Fix GH-1220: streamWrapper::stream_read inconsistent return info 2021-12-28 12:37:13 +01:00
Christoph M. Becker
6b60bf846b
Drop Windows Notepad usage instructions
We should not encourage use of Notepad for editing PHP files, and those
who use it, should at least know how it works (after all, it's not that
complex).

Closes GH-1265.
2021-12-28 11:11:54 +01:00
Máté Kocsis
34e2e3541c
Fix fgetcsv() return value section (#1269) 2021-12-28 11:05:01 +01:00
Yoshinari Takaoka
5c2678e02f
added nullsafe operator link. 2021-12-28 18:41:09 +09:00
Yoshinari Takaoka
daaf426cbf
fixed CallableExpr(...) semantics description. 2021-12-28 18:17:54 +09:00
Yoshinari Takaoka
0b005cfe4e
[PHP 8.1] Document the first class callable syntax. (#1176)
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-28 15:51:30 +09:00
Sergey Panteleev
181e9c5572
Fix section order issues (#1262) 2021-12-28 08:00:18 +03:00
Máté Kocsis
291d60430d
Update the signature of fgetcsv() and fputcsv() (#1268)
* Update the signature of fgetcsv() and fputcsv()

* Update reference/filesystem/functions/fgetcsv.xml

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

* Update reference/filesystem/functions/fgetcsv.xml

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-27 22:19:44 +01:00
Christoph M. Becker
ef24d91830
Fix GH-1263: Name of GD DLL on Windows has changed in 8.0 2021-12-27 15:43:31 +01:00
Máté Kocsis
ecabddd456
Generate ext/intl methodsynopses based on stubs (IntlGregorianCalendar, IntlIterator, IntlRuleBasedBreakIterator) (#912) 2021-12-27 13:02:52 +01:00
Kamil Tekiela
9f168fb751
mysqli_driver::$driver_version is deprecated and $embedded is removed (#1254) 2021-12-26 21:38:31 +00:00
Yoshinari Takaoka
0e68f0a712
fixed Exception class and method property names. 2021-12-27 00:52:56 +09:00
Máté Kocsis
adc3273c9e
Generate ext/phar class synopses from stubs (#1256)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-26 13:45:09 +01:00
Máté Kocsis
ed66a8608b
Regenerate ext/phar method synopses based on stubs (#1261) 2021-12-26 13:21:20 +01:00
Christoph M. Becker
bf4621b543
Actually add FiberError::__construct page to manual
For predefined classes, we need to do this manually.
2021-12-26 13:12:30 +01:00
Christoph M. Becker
1adf24615e
Update name of 3rd param of hash_hmac_file()
See <https://github.com/php/php-src/issues/7826>.
2021-12-26 13:07:57 +01:00
Máté Kocsis
e5021b6d8b
Generate various class synopses from stubs - part 2 (#1251)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-26 12:10:36 +01:00
Máté Kocsis
933f076d22
[skip-revcheck] Remove unnecessary DateTimeImmutable method synopsis roles (#1257) 2021-12-26 12:09:20 +01:00
Máté Kocsis
3860b905cf
[skip-revcheck] Remove unnecessary DateInterval, DatePeriod, DateTime and DateTimeZone method synopsis roles (#1258) 2021-12-26 12:08:30 +01:00
Máté Kocsis
202a8e4165
Fix ext/dom method synopses (#1259) 2021-12-26 12:07:49 +01:00
Máté Kocsis
8b89ee4ec1
Regenerate Exception class and method synapses from stubs (#1260) 2021-12-26 12:05:49 +01:00
Máté Kocsis
c974636453
Change the order of union return types
In order to make it compatible with gen_stub.php's output
2021-12-26 10:57:26 +01:00