21028 Commits

Author SHA1 Message Date
Niels Dossche
8bcc6238e8 Fix capitalization of some function names in "See also" section 2024-10-15 21:04:08 +02:00
Niels Dossche
bdee5aba01 Document tidyNode::getNextSibling() and tidyNode::getPreviousSibling() 2024-10-15 21:04:08 +02:00
Larry Garfield
16f66c05a4 Asymmetric Visibility and Final properties (#3828)
* Document asymmetric property visibility.

* Document the change in implicit visibility for readonly.

* Document final properties.

* Note that isPublic/Protected/Private is only in reference to the main visibility.

* Use more note tags.

* Remove unnecessary para tags.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-10-15 19:49:15 +01:00
Mikhail Alferov
04d9aded7b Add class="extension" attribute to <filename> tags which refer to file extensions (#3870) 2024-10-15 13:10:10 +01:00
Leonardo Lara Rodrigues
932c4724c1 odbc-num-rows.xml: Replace literal with emphasis (GH-3869) 2024-10-14 19:47:44 +02:00
haszi
2a87687825 Update descriptions of disabled output handler (#3839)
Co-authored-by: haszi <haszika80@gmail.com>
2024-10-13 14:34:56 +01:00
Christoph M. Becker
3994d010e9 Discourage the use of ArrayObject (GH-3858)
See <https://github.com/php/php-src/pull/15775#issuecomment-2334813587>.
While a formal deprecation process is pending, it seems prudent to not
advertise this class any longer.
2024-10-13 14:25:54 +02:00
Mikhail Alferov
765056369b socket-recv.xml Update output example entity to similar (#3753)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-10-12 16:48:57 +01:00
Leonardo Lara Rodrigues
7c1cbb3254 yaml-parse-url.xml: Fix parameter name (GH-3856)
* yaml-parse-url.xml: Fix parameter name

* Added missing word.
2024-10-11 19:45:36 +02:00
Mikhail Alferov
d7a77b5f85 session-name.xml: use the correct directive name and add the link to (GH-3642)
There is no directive `session.transid` in PHP. It's probably about the `session.use_trans_sid` directive instead `session.transid`, if I got the context right

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-10-08 12:02:56 +02:00
colshrapnel
44bcc82c7d Update use cases for the mode parameter in PDOStatement::fetchAll() (#3549) 2024-10-08 00:56:24 +02:00
Leonardo Lara Rodrigues
21840cc593 Fix comment in ftp-nb-fget.xml: file is opened for writing (GH-3846) 2024-10-08 00:50:11 +02:00
Mikhail Alferov
f5c124befd session-create-id.xml: preg_* functions style for range (#3651) 2024-10-08 00:44:40 +02:00
Leonardo Lara Rodrigues
05be638c61 Gmagick compositeimage.xml: set parameter name to uppercase (GH-3845) 2024-10-07 23:37:23 +02:00
Mikhail Alferov
4266e03897 Update parse-url.xml Add the literal tag for the URL scheme (GH-3844)
* Update parse-url.xml Add the `literal` tag for the URL scheme

* Update parse-url.xml Add the `literal tag to the `file://` scheme
2024-10-07 11:44:16 +02:00
KapitanOczywisty
288ea761f5 PCRE S modifier has no effect since PHP 7.3.0 (#3843) 2024-10-07 00:53:13 +01:00
Mikhail Alferov
654df9a6d0 gmagick/setup.xml: remove the extra "and" add the missing chars (#3543) 2024-10-07 00:42:59 +01:00
Christoph M. Becker
72605fc9de Move the parse_url() caution up to description section (GH-3834)
This information is apparently not widely known, so we put it in a
more prominent place.
2024-10-05 19:19:56 +02:00
Leonardo Lara Rodrigues
63fc290622 mongodb committransaction: Typo correction (#3831) 2024-10-05 17:57:47 +01:00
Mikhail Alferov
a6ee935b0e wordwrap() Add errors/changelog sections, specify U+0020 instead U+20 (#3817)
---------

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-10-03 13:06:32 +01:00
Jim Winstead
5cc10e8d90 Simplify array_replace description and add nested array example (#3809)
Based on discussion at PR #1470
2024-10-01 11:52:15 -07:00
Luffy
6c550e6d0c Fix Example section, Notes section before changelog (#3819) 2024-10-01 19:28:16 +01:00
Jim Winstead
398329d3c6 Document changes to mbstring functions (fixes #3811) (#3812) 2024-09-30 10:42:57 -07:00
Jeremy Mikola
27aaf9a626 MongoDB range indexes are no longer experimental (#3807)
The "sparsity" and "trimFactor" range options are optional. Also add missing changelog entry from introducing "rangeOpts" in 1.16.0.

https://jira.mongodb.org/browse/PHPC-2403
https://jira.mongodb.org/browse/PHPC-2462
2024-09-30 09:13:17 -04:00
Jeremy Mikola
3c84b02971 PackedArray::fromJSON() and toJSON methods (#3806)
https://jira.mongodb.org/browse/PHPC-2350

* Remove trailing commas from Document toJSON examples

* Add returnvalues sections for Document and PackedArray from/to methods

* Clarify errors for Document and PackedArray fromJSON() methods

---------

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-09-30 09:12:19 -04:00
Jeremy Mikola
05814842a9 Add missing version info for Document::toPHP and Iterator ctor 2024-09-30 09:10:30 -04:00
haszi
07e4b982a4 Remove XIInclude 1.1 attribute from element (#3808)
Co-authored-by: haszi <haszika80@gmail.com>
2024-09-29 12:54:36 +01:00
Daniel Aleksandersen
2ed0a46d44 Document where wordwrap() wraps (#1524)
* Document when wordwrap() wraps

---------

Co-authored-by: Jim Winstead <jimw@trainedmonkey.com>
2024-09-29 12:54:07 +01:00
haszi
5af46249c5 Add missing CURLOPT constants (#3636)
Co-authored-by: haszi <haszika80@gmail.com>
2024-09-29 12:38:23 +01:00
muno92
3f91a99283 Fix return value of Imagick::getResourceLimit (#2037) 2024-09-28 17:49:37 -07:00
Jakub Zelenka
110ac43250 Update and fix docs for openssl_open and openssl_seal (#3779) 2024-09-28 16:00:48 +01:00
Jakub Zelenka
e5ab2937ef Clarify passphrase for openssl_encrypt and openssl_decrypt (#3774) 2024-09-28 16:00:36 +01:00
Jakub Zelenka
296d45da27 Add caution about using the same DH params in openssl_dh_compute_key (#3788) 2024-09-28 15:59:48 +01:00
Jakub Zelenka
7fd8e591b8 Add caution about openssl_pkey_derive key_length parameter (#3789)
* Add caution about openssl_pkey_derive key_length parameter

* Fix typo in reference/openssl/functions/openssl-pkey-derive.xml

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

---------

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-09-28 15:59:28 +01:00
Jakub Zelenka
5136ca8aba Update recommendations for openssl_pbkdf2 (GH-3791) 2024-09-27 20:20:49 +02:00
Jeremy Mikola
a74c03c56b Improve docs for when SDAM Monitoring events are dispatched
https://jira.mongodb.org/browse/PHPC-2449
2024-09-27 08:58:15 -04:00
Jeremy Mikola
c8564726a0 UTCDateTime supports Int64, deprecates string and float
https://jira.mongodb.org/browse/PHPC-2443
https://jira.mongodb.org/browse/PHPC-2458
2024-09-26 10:22:20 -04:00
Remi Collet
8afee82662 add Zip::ER_TRUNCATED_ZIP (GH-3799) 2024-09-26 11:26:50 +02:00
Peter Kokot
c0af8c90a6 Sync exif dependency on mbstring extension as optional (#3793)
The required dependency on mbstring extension in exif was removed via
php/php-src@755c2cd0d8 which made the
mbstring extension optional dependency.

Update for the PHP build system:
https://github.com/php/php-src/pull/16062
2024-09-26 00:33:32 +01:00
Mikhail Alferov
34c4a307bb rpmvercmp.xml Add tags, separate operator groups (GH-3792) 2024-09-25 16:04:09 +02:00
Jim Winstead
dafb1509d0 Remove very old (4.x) changelog information on a few functions (#3775) 2024-09-24 13:44:24 -07:00
Jeremy Mikola
96c36c3585 Fix <literal> closing tag
Fixes b101dd2464
2024-09-24 16:40:13 -04:00
Jeremy Mikola
b101dd2464 Note default connection string 2024-09-24 16:39:23 -04:00
DanielEScherzer
55e1ffbb74 Document FFI\CType::getFuncParameterCount() purpose and return (#3773) 2024-09-24 20:59:31 +01:00
Jim Winstead
cef78b0fbe Add explicit warning about CSV function's escape parameter (#3765) 2024-09-23 13:59:30 -07:00
Jim Winstead
0545e305cf Normalize version strings in changelog entries (#3672)
Now they're always N.X.Y for a PHP version, or PECL extension N.X.Y for PECL extensions.
2024-09-23 11:15:26 -07:00
Jeremy Mikola
8c84a7f1fd Remove docs for --with-openssl-dir configure option
This has been deprecated since ext-mongodb 1.4 and is being removed in 2.0.
2024-09-23 09:51:32 -04:00
Peter Kokot
b9582e11e4 Remove GNU Readline in favor of libedit (#3745)
The libedit library is a non-GPL replacement for the GNU Readline
library.
2024-09-23 10:37:15 +01:00
Mikhail Alferov
4a87d61dbf yaconf/book.xml: Capitalize the first letter of the sentense + tags (#3750)
* Capitalize the first letter of the sentence + tags

* Make INI-conf more readable
2024-09-23 10:04:13 +01:00
Ayesh Karunaratne
89590b202f reference/pcntl: Fix pcntl_strerror(,,$info) parameter name (#3770)
The doc uses `siginfo` as the third parameter name to the `pcntl_waitid`
function. However, `php-src` name for this parameter is `info`[^1].

[^1]: https://github.com/php/php-src/blob/php-8.4.0beta5/ext/pcntl/pcntl.stub.php#L1010
2024-09-23 10:03:10 +01:00