Commit graph

28043 commits

Author SHA1 Message Date
George Peter Banyard
7ee66cf9b5 Nits to type juggling page
Add links
Remove implicit conversation to array note as this can never happen
2022-06-12 23:09:31 +01:00
Bart Vanhoutte
55956ac4e2
Switching fibers in destructors is not possible
Added a notice to document the fact that it's currently impossible to switch fibers in the destructor of an object cfr https://github.com/php/php-src/issues/8723.

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

Closes GH-1620.
2022-06-09 15:34:52 +02:00
Derick Rethans
4bf21e8867 Fixed GH-1238: Tweak explaination of default timezone 2022-06-09 10:58:22 +01:00
Derick Rethans
084a0039f6 Fixed bug #75745: DateTime::createFromFormat 'u' specifier not documented correctly 2022-06-08 15:59:29 +01:00
Jeremy Mikola
d6b1dd7035
getServerConnectionId for MongoDB command monitoring events
https://jira.mongodb.org/browse/PHPC-1899
2022-06-07 20:52:19 -04:00
Jeremy Mikola
45ffa94e7e
Remove mongodb.mock_service_id INI documentation
This was only introduced for internal use by PHPLIB and is removed in version 1.14.0.

https://jira.mongodb.org/browse/PHPC-2053
2022-06-07 18:54:58 -04:00
Jeremy Mikola
a678daf64f
Document comment and let options for BulkWrite and Query
https://jira.mongodb.org/browse/PHPC-2049
https://jira.mongodb.org/browse/PHPC-2005
2022-06-07 18:51:34 -04:00
Jeremy Mikola
6c44e7b831
MongoDB\Driver\Manager::getEncryptedFieldsMap()
https://jira.mongodb.org/browse/PHPC-2096
2022-06-07 16:37:11 -04:00
Jeremy Mikola
694a088f76
MongoDB\Driver\Manager autoEncryption options for queryable encryption
Also adds doc notes for "autoEncryption" required by the CSFLE specification.

https://jira.mongodb.org/browse/PHPC-2085
2022-06-07 16:30:17 -04:00
Jeremy Mikola
993d171344
ClientEncryption options for queryable encryption
https://jira.mongodb.org/browse/PHPC-2092
2022-06-07 14:21:15 -04:00
Jeremy Mikola
d8a3faa4af
Fix docs for ClientEncryption constants 2022-06-07 14:21:14 -04:00
Jeremy Mikola
2d23d655aa
MongoDB\Driver\ClientEncryption constructor
https://jira.mongodb.org/browse/PHPC-2097
2022-06-07 14:21:01 -04:00
Yann 'Ze' Richard
5b3fc18be0
Fix GH-1611: mb-internal-encoding() throws ValueError on unknown encoding
Closes GH-1613.

Signed-off-by: Yann 'Ze' Richard <ze@nbox.org>
2022-06-06 16:28:30 +02:00
David CARLIER
e5caf1244e
SO_REUSEPORT constant, statement no longer really exact. (#1612) 2022-06-06 14:16:44 +01:00
George Peter Banyard
8de1190205
Rewrite type juggling page (#1542)
Describe all the different ways and contexts in which PHP can type juggle.

The only bit which is not described is how ``++`` and ``--`` behave as they have peculiar behaviour which is documented on the operator page already.
2022-06-06 14:12:31 +01:00
Sergey Panteleev
38f5bb6cc0
[PHP 8.1] Add get/hasTentativeReturnType functions (#1615)
Closes #1614

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-06-06 16:07:48 +03:00
Derick Rethans
4586854a24 Fixed bug #74054: New DateInterval properties based on 2022-06-05 15:22:51 +01:00
George Peter Banyard
e8fb9384ca [skip-revcheck] Use spaces instead of tabs for indentation 2022-06-05 12:08:37 +01:00
George Peter Banyard
c613965f9a Some nits to datetime docs 2022-06-05 12:08:37 +01:00
Yoshinari Takaoka
c2674e232e
fixed dayname note link destination.
For some reason, PhD does not generate anchor link to <note>.
This fix is temporary workaround.
2022-06-05 18:32:50 +09:00
Yoshinari Takaoka
089983558f
fixed parameter markup
there is no named parameter "Unix timestamp".

https://github.com/php/php-src/blob/php-8.1.6/ext/date/php_date.stub.php#L8
2022-06-05 10:21:45 +09:00
Derick Rethans
dab41534c6 Fixed bug #79926: Unclear behavior with createFromFormat using absolute and relative values 2022-06-04 18:14:24 +01:00
Derick Rethans
0aba3ea811 Fixed bug #80694: DateTimeImmutable::createFromFormat not return false in all cases 2022-06-04 17:53:29 +01:00
Derick Rethans
532a253c43 Fixed bug #81319: Unfortunate example on time() man page 2022-06-04 17:41:23 +01:00
Derick Rethans
f0c9bb04d7 Fixed bug #81347: 2021-03-34 is correct date for DateTime::createFromFormat() 2022-06-04 17:26:15 +01:00
Derick Rethans
d01de02957 Merge branch 'master' of https://github.com/php/doc-en 2022-06-04 16:51:05 +01:00
Derick Rethans
c3e40292f4 Fixed English 2022-06-04 16:50:56 +01:00
Yoshinari Takaoka
255ec56b59
fixed wrong class reference. 2022-06-04 11:35:35 +09:00
Derick Rethans
48e99212ad Fixed bug #79939: RFC 822 and 2822 missing from DateTime 'Compound Formats' 2022-06-02 18:30:13 +01:00
Derick Rethans
5e983c42a0 Fixed bug #79725: Update reference to RFC2822 to RFC5322 2022-06-02 17:18:17 +01:00
Derick Rethans
d9ae294a02 Fixed bug #78267: Change in sun times result with PHP version change 2022-06-02 17:10:01 +01:00
Derick Rethans
26e0c6ef75 Fixed bug #78000: Missing description of reltext's different behaviors (static & method on object) 2022-06-02 17:03:30 +01:00
Derick Rethans
0b54d0b797 Fixed typo in method name 2022-06-02 17:03:06 +01:00
Derick Rethans
e5373bc761 Fixed bug #77701: DateTime::createFromFormat does not set default parts 2022-06-02 16:51:53 +01:00
Derick Rethans
b90e4a6e43 Fixed bug #76620: DatePeriod::getEndDate() drops reference to the end date DateTime object 2022-06-02 16:43:33 +01:00
Derick Rethans
ceedf4c524 Fixed bug #75790: DateTimeZone::getTransitions(start,end)[0] is timestampBegin 2022-06-02 16:37:30 +01:00
Derick Rethans
f5bd78b3c2 Fixed bug #74652: strtotime() does not define behaviour of h/m/s when passed only a date 2022-06-02 16:30:49 +01:00
Derick Rethans
1173d64db8 Add missing parameters/returnvalues for date_create 2022-06-02 16:22:48 +01:00
Derick Rethans
eeeb152d8a Added missing return values/parameters sections 2022-06-02 16:18:33 +01:00
Derick Rethans
071c7cace1 Fixed bug #74324: DateTimeZone supported timezone names 2022-06-02 15:59:09 +01:00
Derick Rethans
c7ee9cd4d1 Fixed bug #74234: DateTimeZone supported timezone names 2022-06-02 15:57:12 +01:00
Derick Rethans
33dd071b0d Fixed bug #72586: Document that order of characters is important 2022-06-02 15:29:47 +01:00
Derick Rethans
fc1c548fab Fixed bug #71108: date_create() is NOT an alias for 'new DateTime()' 2022-06-02 12:18:03 +01:00
Derick Rethans
7bcd434e88 Fixed bug #70463: Document precise date/time parser 2022-06-02 12:10:15 +01:00
Derick Rethans
bbfdc364de Swap DateTime and DateTimeImmutable documention to push people towards using DateTimeImmutable 2022-06-02 11:44:54 +01:00
Derick Rethans
850f18db7f Fixed duplicated > 2022-06-02 11:44:10 +01:00
Derick Rethans
cf25abe5d0 Fixed bug #70154: date_parse() not returning false for missing time components 2022-06-02 10:41:33 +01:00
Máté Kocsis
b2ee26630c
Sync ext/tidy properties with stubs (#1599) 2022-05-30 16:28:22 +02:00
Martin Krisell
9fc8bcc083
Clarify aad parameter in openssl_encrypt/decrypt
Closes GH-1603.
2022-05-30 15:16:44 +02:00
Michelle Paradis
1352dd77d7
[skip-revcheck] Removing extra 'the' (#1602) 2022-05-28 00:37:41 +03:00