* 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.
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.
* 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
* 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>
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
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>
- 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).