Anna Filina
688fca12e5
Reverting removal of <replaceable>
...
Addressing review comment: https://github.com/php/doc-en/pull/728#discussion_r663349544
2022-12-23 16:38:01 -05:00
Anna Filina
8598359e0c
Remove reference to keyword
...
Pick the suggestion favoured by the reviewer (https://github.com/php/doc-en/pull/728#discussion_r663359658 )
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-12-23 16:38:01 -05:00
Amritpal Nagra
4c89500b27
chanage ::class specified as constant to keyword, on php oop basic page
2022-12-23 16:38:01 -05:00
Amritpal Nagra
de3ad857d8
remove replaceable class from magic constant
2022-12-23 16:38:01 -05:00
Anna Filina
6d2f72b0f2
Fix typo in PHP 7.0 migration guide
...
Closes GH-2110.
2022-12-23 18:47:54 +01:00
Christoph M. Becker
42872b28a6
Fix GH-2108: http_build_query 3rd argument different results in PHP 7 vs 8
2022-12-23 13:22:16 +01:00
Rowan Tommins
464fbf0d12
Better crosslinks between str_replace and preg_replace
...
The str_replace page had a helpful note that if you'd somehow got
there when you were looking for preg_replace, you didn't need to
llok further. But if you were actually on the page for preg_replace,
there was no link to str_replace at all, not even in the See Also
section.
2022-12-22 18:18:14 +00:00
Benjamin Morel
944af3a79d
is_a() works with interfaces, too ( #506 )
...
Co-authored-by: Anna Filina <afilina@gmail.com >
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Co-authored-by: George Peter Banyard <girgias@php.net >
2022-12-22 18:00:24 +00:00
othercorey
befe29ff6f
Fix Phar::convertToExecutable changelog parameter name
...
Closes GH-2104.
2022-12-22 15:37:04 +01:00
George Peter Banyard
b035daa699
Nits to the type juggling page ( #2098 )
...
The big one is the need to clarify the behaviour around the coercive typing mode, as the conversion of objects to strings is relatively straight forward but in theory internal objects that overload the cast handler can convert to other types too.
Drive-by typo fix
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-12-21 20:16:19 +00:00
Máté Kocsis
0510540984
Add documentation for default constructors - part 1 ( #2089 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-12-19 21:40:26 +01:00
Falk Rund
9381fcbdb1
[Issues/2093] fix typo ( #2094 )
2022-12-19 19:17:26 +03:00
Christoph M. Becker
aeda3e7df9
Fix GH-2092: Min/Max throw a fatal on empty error starting 8.0
2022-12-19 14:11:36 +01:00
Jeremy Mikola
a319efc2e8
Clarify how users can determine the correct DLL for their environment
2022-12-19 16:59:21 +08:00
Jeremy Mikola
9244ee3baa
Document "sessionToken" option for AWS KMS provider for CSFLE
...
https://jira.mongodb.org/browse/PHPLIB-1049
2022-12-19 11:57:02 +08:00
Jeremy Mikola
2b69366348
Direct Windows users to GitHub releases for ext-mongodb DLLs
...
PECL stopped generating DLLs earlier this year. As of ext-mongodb 1.15.0, DLLs are now generated by a GitHub Action and attached to releases.
https://jira.mongodb.org/browse/PHPC-2143
2022-12-19 11:43:46 +08:00
Tiffany
caf779183e
Add an example with two associative arrays to array_unshift page ( #1954 )
...
* Add an example showing how two associative arrays are combined
* Modernize array syntax in first example, use var_dump over print_r, revise wording, add types of fruits and vegetables into second example
* Add `array_merge()` to the "See Also" section
2022-12-17 14:26:10 -06:00
John Flatness
303580c0be
ldap: Document removal of ber_identifier param
...
Closes GH-2086.
2022-12-17 13:02:50 +01:00
Christoph M. Becker
bba15cbc75
Fix GH-2071: DateTime::createFromFormat() does not accept DateTime
2022-12-16 12:58:29 +01:00
Christoph M. Becker
99ef98227f
Fix GH-2082: Incorrect output for example
...
We fix the wording in the explanation, too.
2022-12-16 12:43:12 +01:00
Christoph M. Becker
7018fc4321
Properly mark up parameters as parameters
2022-12-16 11:37:55 +01:00
魔王卷子
664efcbc32
Fix typo (passwd → password)
...
Closes GH-2087.
2022-12-16 11:11:55 +01:00
Jawira Portugal
a7d00d0b91
Update FilesystemIterator::__construct doc for php 8.2
...
Closes GH-2081.
2022-12-16 10:58:13 +01:00
Christoph M. Becker
08e31acb35
Fix yet another xpointer expression
2022-12-13 12:37:21 +01:00
Christoph M. Becker
071a588364
Fix xpointer expressions
...
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01:00
Máté Kocsis
75b45dfe65
Reflector should use the new Stringable role attribute value
2022-12-13 10:58:53 +01:00
Máté Kocsis
bfef87dc15
Use new ext/spl role values ( #2074 )
2022-12-13 10:51:54 +01:00
Máté Kocsis
d51166ca16
Add ext/spl methodsynopsis roles ( #2073 )
2022-12-13 10:33:30 +01:00
Máté Kocsis
888d70d7d2
Update ext/snmp role attributes ( #2072 )
2022-12-13 09:43:46 +01:00
Máté Kocsis
f03806fcd8
Update ext/phar role attributes ( #1983 )
2022-12-13 09:21:59 +01:00
Máté Kocsis
89eaa41302
Fix some Error/Exception includes
2022-12-11 23:40:15 +01:00
Máté Kocsis
69b648925f
Fix NumberFormatter includes
2022-12-11 23:35:47 +01:00
Máté Kocsis
dea05ca001
Remove unnecessary role attribute for libxml_get_external_entity_loader
2022-12-11 23:35:46 +01:00
Máté Kocsis
09c49da6f0
Update Error, Exception, and Throwable role attributes ( #2069 )
2022-12-11 23:32:45 +01:00
Máté Kocsis
8fee3ae971
Update Fiber and Generator role attributes ( #2068 )
2022-12-11 23:25:52 +01:00
Máté Kocsis
460f49a93d
Update iterator and Serializable role attributes ( #2070 )
2022-12-11 23:25:04 +01:00
Máté Kocsis
d27fdfe8f9
Update WeakMap and WeakReference role attributes ( #2065 )
2022-12-11 23:24:10 +01:00
Máté Kocsis
ed312486ff
Update ArrayAccess role attributes ( #2066 )
2022-12-11 23:23:10 +01:00
Máté Kocsis
9c74079f12
Update enum and Closure role attributes ( #2067 )
2022-12-11 23:22:44 +01:00
Máté Kocsis
a605fd10c6
Update JsonSerializable role attributes ( #2059 )
2022-12-11 23:21:42 +01:00
Máté Kocsis
770c6facae
Update ext/simplexml role attributes ( #2057 )
2022-12-11 23:21:31 +01:00
Máté Kocsis
4f6742c6ef
Update php_user_filter roles ( #2056 )
2022-12-11 23:20:35 +01:00
Máté Kocsis
d5f26dc94f
Update ext/hash role attributes ( #2060 )
2022-12-11 23:20:18 +01:00
Máté Kocsis
8197e34855
Update ext/gmp role attributes ( #2061 )
2022-12-11 23:20:08 +01:00
Máté Kocsis
1160ec4e7d
Update ext/fileinfo role attributes ( #2062 )
2022-12-11 23:19:49 +01:00
Máté Kocsis
9e0804888a
Update ext/ffi role attributes ( #2063 )
2022-12-11 23:19:37 +01:00
Máté Kocsis
f6eea41e71
Update Directory role attributes ( #2064 )
2022-12-11 23:19:16 +01:00
Máté Kocsis
5e2031dc70
Update ext/random role attributes ( #2058 )
2022-12-11 22:40:19 +01:00
Máté Kocsis
0ce949d098
Update a few missing PDO role attributes
2022-12-11 22:14:14 +01:00
Máté Kocsis
7f6236d76d
Add role attribute for ReflectionClass::isReadOnly
2022-12-11 22:06:28 +01:00