Yoshinari Takaoka
cdcad4c395
Added PHP 8 into versions.xml for spl based on stubs.
2021-04-30 00:11:29 +01:00
thinkverse
8a7c2e0368
Fix changelog being at the wrong section
2021-04-29 19:28:16 +01:00
Kim Hallberg
6b5de328b9
Fix #80975 : Doc incomplete - explode
...
* Add TypeError to changelog
* Add note about seperator values at start of end of string
Closes GH-558.
2021-04-29 18:03:25 +02:00
George Peter Banyard
6376b92e0d
Cleanup after PHP 5 mention removal
2021-04-29 15:30:37 +01:00
Kim Hallberg
a7663ad05e
Fix #80999 : count TypeError not documented
...
* Add TypeError to changelog
* Update example for count to show TypeError
* Split example outputs into separate PHP versions
* Split examples into good and bad examples
Closes GH-556.
2021-04-29 15:18:50 +02:00
Christoph M. Becker
ae9210b472
Fix typo
2021-04-29 12:13:07 +02:00
Christoph M. Becker
f7503d75d5
Fix typo
...
Pointed out by @GSokol.
2021-04-28 14:02:24 +02:00
Grigorii Sokolik
e504d84881
Add note for passing references to invoke methods.
...
During running unit tests for a private method I faced the lack of
documentation about how to pass arguments by references through `invoke`
method. (See https://bugs.php.net/bug.php?id=80991 ) I'd like to add
notes to clarify the workaround to make it easier for others.
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-550.
2021-04-28 11:34:43 +02:00
Kamil Tekiela
2d5c6bed30
Updating mysqli: mysqli_stmt_affected_rows ( #553 )
...
* Remove redundant sentence
* Synchronize it with MySQL doc
* Fix incorrect information
* No need for 2 paragraphs
* Add literal
* Improved examples
* Replaced see also
* maximal -> maximum
2021-04-27 22:55:25 +02:00
Kamil Tekiela
cdd4a9f3a6
Updating mysqli: mysqli_affected_rows ( #554 )
...
* Fix grammar
* Remove spaces and split the line
* Add a note about unbuffered query
* Removed redundant code
* integer -> int
2021-04-27 22:52:51 +02:00
Guilliam Xavier
d0a31e8605
Fix missing space between public
and getPrevious
in Exception class synopsis ( #552 )
2021-04-27 18:24:56 +02:00
Sergey Panteleev
8a058e9acd
Removed references to PHP 5, 7.0 ( #549 )
...
PDO and PCRE sections
2021-04-27 12:53:38 +03:00
Christoph M. Becker
625dc345db
Fix #74585 : chroot doesn't change __DIR__ constant
2021-04-26 18:46:10 +02:00
Dan Brown
35af8187d0
Updated string & array curly brace access with support notice ( #546 )
...
The documentation still states that array/string curly brace access
is possible but this was deprecated as of PHP 7.4 as per this RFC:
https://wiki.php.net/rfc/deprecate_curly_braces_array_access
and no longer supported as of PHP 8.
2021-04-26 13:24:09 +02:00
BohwaZ
5d9eb55b2a
Add tip on VACUUM INTO in SQLite3::backup ( #547 )
2021-04-26 12:02:11 +02:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 ( #548 )
2021-04-26 11:46:55 +03:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 ( #545 )
2021-04-24 20:01:17 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 ( #544 )
2021-04-23 11:35:26 +03:00
Yoshinari Takaoka
8d1a5d2d15
added WeakReference class link to migration74 guide.
2021-04-23 02:14:21 +09:00
Yoshinari Takaoka
e294389da1
fixed "returnvalues" update in previous commit.
...
5fabd07880 (diff-190b056aa8511ed546365df4204a9d4ca946dac1d655933a07fb7029343f48fd)
2021-04-23 02:01:04 +09:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 ( #543 )
2021-04-22 17:52:58 +03:00
Sebastian Hädrich
a4ee22721e
Wouldn't it be more readable if we had a list? ( #542 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-22 16:11:14 +02:00
Nilgün Belma Bugüner
7a59549dbb
fixed a typo
2021-04-22 12:39:47 +03:00
Martin Samesch
23e26ac6f7
fix section order
2021-04-21 14:26:33 +02:00
Landrok
ab1ffcd235
Fix a typo ( #541 )
2021-04-20 22:50:15 +02:00
Kamil Tekiela
16a1bdfd1c
Remove double words ( #540 )
2021-04-20 12:54:54 +02:00
AllenJB
1fb0ef23d7
Fix #80942 : Object iteration / Iterator: Replace duplicated examples with direct links
...
* Object iteration / Iterator: Replace duplicated examples with direct links to the appropriate sections and add cross-links.
Closes GH-517.
2021-04-20 11:28:39 +02:00
Kamil Tekiela
e994a8d5be
Updating mysqli: mysqli_stmt_num_rows ( #534 )
...
* Better title
* Rewrite the description
* Rewrite return value section
* Simplify the example
* Move up mysqli_stmt_store_result
* Removed ungrammatical "or not"
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-20 10:32:36 +02:00
Andrew Foster
7a3899eea9
Fix double "language" ( #538 )
2021-04-20 13:39:32 +08:00
蝦米
dd52212027
fix #80766 namespaced assert is no longer allowed
2021-04-20 01:54:29 +08:00
Kamil Tekiela
b80314ffbb
Remove PHP 5 from filter extension ( #531 )
...
* Update changelog
* Remove para from Overview
* Remove available from
* Remove paragraph about +0/-0
* Remove changelog entries
2021-04-19 12:15:48 +02:00
Yurun
4d02fe98dd
Improve variable name in example ( #529 )
2021-04-19 12:07:44 +02:00
Kamil Tekiela
058748359b
Updating mysqli: mysqli_stmt_store_result ( #535 )
...
* Split up the sentence and make it easier to read
* Simplify the example
2021-04-19 12:05:47 +02:00
Kamil Tekiela
9ee27f088a
Fix some common typos ( #533 )
...
* accomodate -> accommodate
* agressive -> aggressive
* begining -> beginning
* enviroment -> environment
* existance -> existence
* fourty -> forty
* foward -> forward
* futher -> further
* immediatly -> immediately
* occured -> occurred
* occuring -> occurring
* occurance, occurence -> occurrence
* prefered -> preferred
* publically -> publicly
* seperate -> separate
* compliment -> complement
2021-04-19 11:57:59 +02:00
Yoshinari Takaoka
30ac3684e1
added missing constant tag.
2021-04-19 18:10:41 +09:00
Kamil Tekiela
92d0f8b9af
Add FILTER_SANITIZE_ADD_SLASHES ( #532 )
2021-04-19 10:30:47 +02:00
Ruslan Osmanov
3cfbd573de
Added a note about removal of eio_init function in the eio version 3.0.0RC1 ( #536 )
2021-04-19 10:02:10 +02:00
Kamil Tekiela
2693fe9dd2
HTML-escape -> HTML-encode
2021-04-18 17:03:05 +01:00
Yoshinari Takaoka
5a39a8f128
added WeakMap link to migration80.
2021-04-18 00:06:32 +09:00
Yoshinari Takaoka
220cd5030c
fixed typo
2021-04-18 00:04:31 +09:00
Jeremy Mikola
bee33290e8
Various fixes for MongoDB\Driver\ServerApi
...
Include ServerApi alongside other MongoDB\Driver classes.
Nest ServerApi examples <section> within <partinfo> block.
Fix character case in ServerApi method page IDs.
Fix typos in ServerApi version info and add missing methods.
See: php/doc-en@876a785f36
2021-04-16 21:59:50 -04:00
Jeremy Mikola
aa85e3522b
Fix indentation in MongoDB\Driver\Manager example
2021-04-16 18:19:10 -04:00
ctcq
41fde0caa4
Add note to FILTER_SANITIZE_STRING for encoding quotes ( #530 )
...
Co-authored-by: Christopher Wiedey <c_wied05@uni-muenster.de>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-04-16 15:52:30 +01:00
Juliette
f3b5475eeb
PHP 8.0 migration/deprecated: expand on libxml_disable_entity_loader() ( #528 )
...
The current text in the migration guide about the deprecation of `libxml_disable_entity_loader()` is misleading and can easily lead to the introduction of XXE vulnerable code.
In select circumstances, when `LIBXML_NOENT` is used, code can still be vulnerable to XXE attacks, even on PHP 8.0.
So I'm proposing to add an appropriate warning and mention the upgrade path in the migration guide.
Includes fixing a typo on the `libxml_disable_entity_loader()` page.
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-04-16 10:44:07 +02:00
Kamil Tekiela
2a5459cd41
Fix typo with <methodname>
2021-04-15 18:34:33 +01:00
Rowan Tommins
b23076d969
Expand documentation for mb_detect_encoding ( #527 )
...
- People expect this function to work miracles. Add some examples
of why that's not possible. Hat tip to this FAQ for the cipher
comparison: https://chardet.readthedocs.io/en/latest/faq.html
- The strict parameter wasn't really explained at all. I *think*
this is what it actually does.
- General expansion and grammar fixes (I suspect the original
author didn't speak English as a first language, which makes
sense since the mbstring extension originated in Japan).
2021-04-14 14:05:39 +02:00
Larry Garfield
bf28a4ce4f
Describe WeakMaps ( #479 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-13 23:59:11 +02:00
Kim Hallberg
c07214dc9c
Fix attributes overview example emitting E_WARNING ( #522 )
...
Fix `targetDirectoryExists` method in example emits E_WARNING if `$targetDirectory` already exists.
Reference:
- https://www.php.net/manual/en/function.mkdir.php
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-04-13 18:57:58 +02:00
Rowan Tommins
4d3d1ebea1
Document and cross-reference mb_chr() and mb_ord() ( #524 )
2021-04-13 14:49:11 +02:00
沈唁
a08663f3c3
Update Swoole\Process::name ( #525 )
2021-04-13 11:21:45 +02:00