Commit graph

27301 commits

Author SHA1 Message Date
Christoph M. Becker
57ea81ca45
Fix #944: Usage of class keyword unclear 2021-09-13 12:38:05 +02:00
Kamil Tekiela
ee741f884f
[skip-revcheck] typo 2021-09-10 12:17:01 +01:00
Kamil Tekiela
0df813e8c5
[skip-revcheck] grammar 2021-09-10 11:35:58 +01:00
Peter Cowburn
1bfd6a1d79
WS - remove trailing whitespace
[skip-revcheck]
2021-09-09 22:19:52 +01:00
Peter Cowburn
36571044a0
changelog for typeerror -> argumentcounterror in PHP 7.1.0 2021-09-09 22:19:51 +01:00
Barney Laurance
900b6a65c0
Add typed properties reference to TypeError page (#936) 2021-09-09 22:18:23 +01:00
Christoph M. Becker
89ee07c72d
Match substr() description to its signature
substr() no longer returns false as of PHP 8.0.0.
2021-09-09 18:04:26 +02:00
Christoph M. Becker
6199e10e91
simplexml_load_file(): see also libxml_set_streams_context()
Cf. <https://bugs.php.net/53369>.
2021-09-09 16:27:36 +02:00
Kim Hallberg
017824544c
Remove php_logo_guid references (#934) 2021-09-09 11:46:11 +08:00
Yoshinari Takaoka
3cdd39bb95
Followed change of default value of display_startup_errors, as of PHP 8.0.0 (#927)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-08 19:00:30 +09:00
Yoshinari Takaoka
abb0c22310
Deleted old PHP 5.3 -> 5.4 tiger hash compatibility example. (#926) 2021-09-08 00:41:10 +01:00
Christoph M. Becker
f7ee329405
Document that mailparse_msg_free() should be called explicitly
Cf. <https://bugs.php.net/bug.php?id=73110>.
2021-09-07 17:04:47 +02:00
Christoph M. Becker
487fa1db84
Document mailparse.def_charset INI setting 2021-09-07 16:06:53 +02:00
Christoph M. Becker
7d5af18bbd
Document mailparse resource 2021-09-07 15:53:04 +02:00
Maurício Meneghini Fauth
7a7ad98fe2 Document the null behaviour for http_build_query 2021-09-06 11:54:18 -03:00
Dennis Birkholz
4854fd6254
DomElement::setAttribute does not always return a new DomAttr instance
See https://3v4l.org/8YrUO

Closes GH-919.
2021-09-06 15:45:41 +02:00
Christoph M. Becker
66459d593b
Fix #81365: Flipping opcache.file_cache_only is broken
Closes GH-918.
2021-09-06 14:46:47 +02:00
Christoph M. Becker
4157259e89
PDO_ODBC is no longer recommended for MS SQLServer 2021-09-06 13:32:51 +02:00
Christoph M. Becker
28fa285d52
Close #917: Cannot unlink() directory symlink on Windows 2021-09-06 13:27:08 +02:00
Christoph M. Becker
5783afacad
Improve description of several $context parameters
We're misusing the already existing `&note.context-support;` for this,
but remove the PHP 5 related info from it, and link directly to stream
contexts.
2021-09-06 13:00:53 +02:00
George Peter Banyard
70d770d10c
Remove superficial &gt; 2021-09-06 01:02:03 +01:00
George Peter Banyard
6554e7e197
[skip-revcheck] Fix typo in ob_start() docs 2021-09-05 21:40:39 +01:00
George Peter Banyard
1af53eeb26
Use correct param name 2021-09-05 17:12:27 +01:00
George Peter Banyard
ab45e8c9d4
[skip-revcheck] Fix typo in example title 2021-09-05 16:16:46 +01:00
George Peter Banyard
e1861aa943
Remove duplicate 0 2021-09-05 14:59:33 +01:00
George Peter Banyard
8b54a4bf8c
Array Natural sort functions always return true 2021-09-05 14:48:08 +01:00
Máté Kocsis
6fcf444471
Generate ext/intl methodsynopses based on stubs (Locale)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-910.
2021-09-05 14:58:44 +02:00
Máté Kocsis
9c5aaaab3c
Generate ext/intl methodsynopses based on stubs (MessageFormatter, Normalizer)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-909.
2021-09-05 14:38:03 +02:00
Máté Kocsis
19726d906f
Generate ext/intl methodsynopses based on stubs (NumberFormatter, ResourceBundle)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-908.
2021-09-05 13:58:06 +02:00
Máté Kocsis
c67537e2d4
Generate ext/intl methodsynopses from stubs (Spoofchecker, Transliterator)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-907.
2021-09-05 13:41:20 +02:00
Máté Kocsis
4aff696ed0
Generate ext/intl methodsynopses from stubs (UConverter)
Closes GH-906.
2021-09-05 13:28:47 +02:00
Denis Ryabov
33225f7c57
Add a separate example section for escaping of characters
See also merged PR https://github.com/php/php-src/pull/7420 (d3a6054d44)

Closes GH-898.
2021-09-04 14:53:55 +02:00
sy-records
08a941584f
Fix #91: curl_version() no longer accepts a parameter
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-902.
2021-09-04 12:33:41 +02:00
Yoshinari Takaoka
50bd7050c4
fixed parameter name markup. 2021-09-04 01:54:00 +09:00
Christoph M. Becker
d8d0b3cdf8
Close #880: Obsolete default value for protocol_version 2021-09-03 18:35:53 +02:00
Christoph M. Becker
659fbc4d32
Fix #894: DateTime::setTimezone never returns false 2021-09-03 18:33:10 +02:00
Steven Jones
1fe998d37c
Add missing documentation for value parameter of numfmt_parse
Closes GH-897.
2021-09-03 17:40:36 +02:00
Kamil Tekiela
b1fc217c5f
Updating mysqli: mysqli_num_rows
* Changed article
* More accurate description
* More accurate return value
* Improved example
* See also
* Add a note

Closes GH-891.
2021-09-03 16:04:51 +02:00
Kamil Tekiela
a3051835f7
Updating mysqli: mysqli_num_fields
* Aligned wording
* Explicitely list columns to make it obvious where the number comes from

Closes GH-892.
2021-09-03 15:59:33 +02:00
Tyson Andre
aa19c140e6
Document the igbinary extension
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-888.
2021-09-03 15:52:16 +02:00
Máté Kocsis
28046efaba
Generate ext/phar methodsynopsis based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-626.
2021-09-03 14:35:53 +02:00
peterdd
9fb30ae957
Partly resolve #77017 resources table layout problem (#895)
This probably result in extra added table cells that breaks the 5 column table layout.
2021-09-03 10:06:08 +02:00
Nilgün Belma Bugüner
8afaddf6cc
for testing purposes [skip-revcheck] 2021-09-02 15:12:21 +03:00
Christoph M. Becker
e72a6312b9
Don't pass objects by-ref, unless really needed
This appears to be a leftover from PHP 4 times.
2021-08-31 14:28:35 +02:00
Christoph M. Becker
7be2426e49
While DNS_A6 is available on Windows, it is not really supported
Cf. <d3a6054d44/ext/standard/dns_win32.c (L307)>.
2021-08-30 17:09:07 +02:00
Jorg Sowa
346c0bd13f
Updated examples of casting to boolean
Updated examples of casting to boolean adding one case that is pretty common appearing in code string `"0"`.

Closes GH-890.
2021-08-29 16:27:06 +02:00
Denis Ryabov
a453c4ff1c
Remove irrelevant paragraph
(looks like a copy-paste from previous example)

Closes GH-886.
2021-08-28 12:25:33 +02:00
Adrien Crivelli
235297daed
Fix #81383: Locale::lookup / locale_lookup incorrectly returns null instead of default
INTL_MAX_LOCALE_LEN limits the length of accepted locale. Anything
longer than that will result in a failure and the value returned
will either be `null` or `false`. So documentation must reflect that
in the return types.

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

Closes GH-883.
2021-08-27 14:41:52 +02:00
Christoph M. Becker
06126805f4
Fix #72656: Object destructor called before constructor
We just need to document PHP's eager evaluation strategy; the rest is
already documented.
2021-08-27 13:12:20 +02:00
Christoph M. Becker
3926279f82
Fix #76311: __construct/__destruct must not have return types 2021-08-27 13:03:42 +02:00