Commit graph

27824 commits

Author SHA1 Message Date
Jakub Zelenka
557f8ed419
Fix incorrect default value for FPM listen.allowed_clients 2022-03-01 22:22:04 +00:00
Christoph M. Becker
4e19b91a19
Fix cols of reserved keywords table
The table of reserved keywords obviously has four columns, and this
should be reflected by the `col` attribute (although that is apparently
ignored by PhD for now).  We also specify four columns for the table of
soft reserved words.
2022-03-01 10:46:26 +01:00
Juliette
a6a4d6ad6e
PHP 8.1 | Other reserved words: add never
Similar to PR 938 for the PHP 8.0 `mixed` reserved word, this commit adds the new reserved word `never` to the list of "Other reserved words" and adds a mention of this to the Backward Incompatible Changes page in the migration guide.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

Closes GH-1434.
2022-03-01 10:28:24 +01:00
Sergey Panteleev
10717d8226
[skip-revcheck] Fix typo 2022-03-01 10:52:24 +03:00
Jakub Zelenka
fab4ea95f4
FPM Status Page (#1420)
* Documentation for the FPM status page and fpm_get_status()

* FPM status page: Update date/time format documentation

* FPM status page: Add information on openmetrics format (PHP 8.1+)

* Fix fpm_get_status referencing file name

* Update FPM status page documentation

* Move FPM status configuration to section

* Improve FPM Status Page formatting and move it under Observability

* Improve FPM status CS

Co-authored-by: AllenJB <github@allenjb.me.uk>
2022-02-28 21:56:30 +00:00
Christoph M. Becker
f12b401043
Fix GH-1397: autounlock parameter in constructor is actually int not bool 2022-02-28 14:44:34 +01:00
Christoph M. Becker
d5ba7eb2cd
Fix GH-1398: PDO::pgsqlGetNotify inconsistent return type 2022-02-28 14:39:36 +01:00
Christoph M. Becker
91da56315c
Fix GH-1402: PHP 8.* ZTS wrong compilation flag for Linux 2022-02-28 14:34:15 +01:00
Christoph M. Becker
72f3125b6d
These config options are removed as of PHP 5.4.0 2022-02-28 13:29:43 +01:00
Christoph M. Becker
604002c979
Fix GH-1433: SplFixedArray changelog states IteratorAggregate happened in 8.1 2022-02-28 13:19:23 +01:00
Yoshinari Takaoka
68b5e2c562
mixed is a reserved word (not keyword!) as of PHP 8.0.0. (#938) 2022-02-28 17:10:32 +09:00
Ariel Allon
8b00eb9807
disambiguate semantics of search_value
The definition of `search_value` in "Parameters" is a bit ambiguous. "these values" _could_ be interpreted to mean that if an array is passed as the `$search_value`, keys of elements of `$search_value` that match _any_ of those `$array` elements will be returned.
Note, the "Description" section does not have this ambiguity as it states "that value" instead of "those values".

Closes GH-1429.
2022-02-25 12:52:44 +01:00
Steve Thomas
f93ab9943c
password_verify is capable of verifying crypt hashes
Closes GH-1424.
2022-02-22 17:15:50 +01:00
Christoph M. Becker
195fde0082
Fix GH-1421: A relic of old editing in manual page function.parse-url 2022-02-21 10:05:49 +01:00
Dan Wallis
d928235f80
Correct setting name in its description
Closes GH-1360
2022-02-20 18:58:03 +00:00
aleksandr-shevchenko
9b89d5c26b
Improve description of step argument to range()
Closes GH-1416
2022-02-20 17:17:21 +00:00
Abolfazl
424ecfb1e3
SyncSharedMemory::size() returns int
Closes GH-1417.
2022-02-20 10:44:41 +01:00
Rowan Tommins
0bafd5454e
Optional parameter changes in 8.1, and description improvements
* Document change in behaviour of misplaced optional parameters in 8.1
  (see https://github.com/php/php-src/commit/afc4d67c)
* Expand and update documentation of default/optional parameters
* Fix example labels to use correctly formatted entities
* Style improvements, and a couple of extra notes.

Closes GH-1191.
2022-02-18 13:24:09 +01:00
Christoph M. Becker
554db5a3a3
Fix further xref misuse
Cf. <https://github.com/php/doc-en/issues/1415#issuecomment-1044334812>.
2022-02-18 13:19:17 +01:00
Christoph M. Becker
b9043112d8
Fix GH-1415: xref not working? 2022-02-18 10:55:04 +01:00
Christoph M. Becker
14b55b8b4b
Don't use old style constructor in example
Closes GH-1406.
2022-02-15 13:19:43 +01:00
Christoph M. Becker
ec140c5b58
Fix GH-1410: ext/hash is no longer experimental 2022-02-15 09:53:41 +01:00
the-toster
a416cd2c01
ReflectionClass::isEnum method (#1390) 2022-02-14 13:58:13 -06:00
carnage
012af70e47
Should use constant time sodium_bin2hex in examples
Closes GH-1399.
2022-02-14 12:22:30 +01:00
Jakub Zelenka
04210d535d
Update FPM installation and intro (#1407) 2022-02-13 22:14:47 +00:00
魔王卷子
3a1b673c5f
Fix wrong parameter name
Closes GH-1404.
2022-02-13 14:34:19 +01:00
魔王卷子
f0e6ac0428
[skip-revcheck] fixed typo (#1401) 2022-02-12 17:08:11 +00:00
Martin Samesch
90242f8793
typo 2022-02-10 14:10:34 +01:00
Peter
560262a557
Update strlen documentation for PHP8
Length parameter to substr() behaves differently for PHP8+. It recognizes null as if no value was provided at all. Updated the documentation to reflect this.

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

Closes GH-1219.
2022-02-10 12:53:41 +01:00
Jeremy Mikola
e4d26f1b44
Fix return type docs for unserialize() methods
Closes #1388
2022-02-09 12:56:30 -05:00
Mehrdad Moradi
2ef411d8ef
Grammer fix for paamayim-nekudotayim.xml docs
The word "parents" in "When an extending class overrides the parents definition of a method,
  PHP will not call the parent's method." needs to be changed to "parent's".

Closes GH-1389.
2022-02-09 09:56:10 +01:00
Niklas Keller
06b716a4c3
Fix parameter type for eio_readlink
See 5291fa10d0/php8/php_eio.stub.php (L101)

Closes GH-1386.
2022-02-09 08:25:16 +01:00
tnsoftbear
235a4b9e5a
Fix argument type in EventBufferEvent::setCallback() method and make it mixed instead of string. Add missed $arg argument to signature of EventBufferEvent::__construct()
* Fix argument  type in EventBufferEvent::setCallback() method and make it mixed instead of string.

* Add missed  argument to signature of EventBufferEvent::__construct()

Closes GH-1384.
2022-02-07 12:17:26 +01:00
Rotzbua
8a28a068fa
Add return value "AVIF Support" to gd_info()
Closes GH-1379.
2022-02-07 12:08:24 +01:00
George Peter Banyard
2b56c905fb
Fix error in touch() atime param docs
Closes GH-1377.
2022-02-06 12:55:00 +01:00
Safak Ozpinar
482fe6f482
Fix ini directive name for uopz extension
Closes GH-1378.
2022-02-06 12:44:45 +01:00
Jordi Boggiano
6b0ab29716
Fix ini name
Closes GH-1376.
2022-02-04 17:04:39 +01:00
Christoph M. Becker
7d5b86855e
Fix wording
Litespeed docs are no longer a Wiki.

Cf. <b9f20acc91 (commitcomment-65764867)>.
2022-02-03 15:29:07 +01:00
Karmel0x
3562cc154f
PDOStatement::bindParam maxLength is confusing (#1371) 2022-02-02 17:51:14 +00:00
Christoph M. Becker
de99fc78de
Don't document ZPP failure return values
Cf. <https://github.com/vimeo/psalm/issues/7478>.
2022-02-01 23:14:29 +01:00
Kamil Tekiela
9c21d93b4c
Changed mandatory to optional 2022-02-01 10:00:59 +00:00
istiak101
b9f20acc91
Update dead links for LiteSpeed
Closes GH-1366.
2022-01-31 13:31:48 +01:00
Philip Olson
607ec1f63c Mention LOAD LOCAL INFILE functionality was added in 8.1.0 2022-01-25 20:25:23 -08:00
Fabien Villepinte
01e5ac284e
Add missing changelog for Phar::getMetadata()
Closes GH-1357.
2022-01-25 21:12:49 +01:00
Martin Samesch
2df577d9be
[skip-revcheck] typo/WS 2022-01-23 11:49:54 +01:00
Gabriel Millian
7d1b425bd7
Fix typo (case-insentive → case-insensitive)
Closes GH-1354.
2022-01-21 23:47:49 +01:00
Christoph M. Becker
032661ad05
Add internal_encoding, input_encoding and output_encoding to the INI list 2022-01-20 13:37:13 +01:00
Christoph M. Becker
1ceec35d4d
SimpleXMLElement::children() returns null for attribute nodes 2022-01-20 12:00:39 +01:00
Tony Su
092a101134
Clarification for usage of JIT tunable options
This patch clarifies the usage of the four JIT tunable options -
jit_hot_{loop,func,return,side_exit} - in PHP manual which end users
should be aware of before they start to tune these options.

1. Valid value range
2. Default value will be used in case beyond valid range
3. Special case of zero value

The patch was verified on my machine with phd local website.

Signed-off-by: Su, Tao <tao.su@intel.com>

Closes GH-1350.
2022-01-19 11:56:57 +01:00
Okyn
6bff8377b9
Fix typo (ppolicy → policy )
Closes GH-1347.
2022-01-18 18:41:09 +01:00