Commit graph

25208 commits

Author SHA1 Message Date
George Peter Banyard
c7e29d3ab5 Fixed a typo in philosophies
-- 
Provided by anonymous 98113 (michel@michelmaas.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347486 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-26 08:20:24 +00:00
George Peter Banyard
1ef2fdddac Added more information about precision behaviour (especially with negative precision).
Added more information to the return value of the function.
Added a specific example demonstrating various precision on a float.
Improved other examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347481 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-24 16:04:13 +00:00
Andrea Faulds
e60f506c01 Clarify that JsonException::$code uses the same values as json_last_error()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347475 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-24 01:02:50 +00:00
Christoph Michael Becker
faabf4e74a Fix #78048: Weakref extension and PHP 7.4 weak references might cause confusion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347473 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-23 08:17:25 +00:00
George Peter Banyard
b73df01f31 English typo
Provided by sergey

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347472 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-22 21:23:10 +00:00
George Peter Banyard
108ea73be5 Adapted documentation of NULL callback per PHPDoc Editor request.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347465 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 19:56:39 +00:00
George Peter Banyard
13d24878bd Add a note that NULL can be used as a callback and an additional example showing that array-map returns the original array if only one array is provided with a NULL callback.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347462 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 16:15:12 +00:00
brzuchal
bf963bac2d Fix #78045: Wrong return type in mysqli_warning::next() description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347459 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 14:12:12 +00:00
Christoph Michael Becker
bba432fb39 Fix #78044: Wrong return type in ArrayIterator::getFlags() description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347452 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 08:46:05 +00:00
Joe Watkins
c636cca282 parallel updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347449 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-20 08:29:22 +00:00
Christoph Michael Becker
107819d757 Clarify that WBMPs are not Window bitmaps
This integrates user note 13441.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347443 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-19 16:19:20 +00:00
Christoph Michael Becker
34f49a945c Fix #78013: SplDoublyLinkedList class constants definitions are missed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347439 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-18 08:50:57 +00:00
Christoph Michael Becker
0de6bb1cd9 Fix #78030: imap_open() expects parameter 6 to be array, null given
For all practical purposes, the default value is actually an empty array.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347436 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-18 06:58:33 +00:00
George Peter Banyard
a77a1425f1 English typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347431 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-16 21:18:37 +00:00
George Peter Banyard
821b199e5c Replace type element by corresponding entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347430 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-16 21:16:35 +00:00
Pieter Hordijk
040346a806 Added warning that strip_tags should not be used to try and fail to prevent xss.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347426 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 21:09:24 +00:00
Pieter Hordijk
8dd9dbfc62 mb_strlen now throws a warning instead of returning false when an unknown encoding value is passed in as the 2nd parameter.
-- 
Provided by anonymous 96370 (mbniebergall@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347424 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 16:08:33 +00:00
Pieter Hordijk
a10c57aa99 Added example and a note to make it clear to not use a space character between file extensions in the list. Closes #67701
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347422 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:57:07 +00:00
Joe Watkins
7f5c1d1573 Added some &true; entities, unified examples in array_filter so all match the same style guide.
-- 
Provided by anonymous 75058 (michal.brzuchalski@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347421 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:39:08 +00:00
Joe Watkins
3bc212c744 --
Provided by anonymous 75058 (michal.brzuchalski@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347420 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:38:41 +00:00
Joe Watkins
f0b0e5bb63 --
Provided by anonymous 75058 (michal.brzuchalski@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347419 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:38:14 +00:00
George Peter Banyard
0d349de6d7 This patch seems correct as not providing an IDX seems pointless so I assume marking this as optional is incorrect. If this is not the case feel free to revert the change.
- girgias

--------------

Clarifying the type declaration for the $idx parameter. I encountered a Fatal error:

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to ParleParser::sigil() must be of the type integer, array given

In PHPStorm, looking at the stub for Parle/Parser.php it declares the type of $idx as an array instead of int. I'm planning to submit a patch to JetBrains once this documentation has been updated :)

-- 
Provided by anonymous 97393 (me@rowles.ch)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347417 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-13 20:44:52 +00:00
George Peter Banyard
db880d014b Indent fix.
Patch provided by Michal Brzuchalski

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347416 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-13 20:30:04 +00:00
Kalle Sommer Nielsen
54b00ce3f1 Documented IMG_FILTER_SCATTER coming in PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347412 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-11 14:59:06 +00:00
Christoph Michael Becker
bebe711655 Discourage disabling of opcache.file_cache_fallback
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347411 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-11 14:17:19 +00:00
Christoph Michael Becker
b9b36ec757 Clarify current behavior of JSON_THROW_ON_ERROR
Cf. <http://news.php.net/php.internals/105653>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347407 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-11 12:24:24 +00:00
Philip Olson
5a20fd035d Added multiple field index example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347406 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-10 20:36:52 +00:00
Philip Olson
805372f68a Removed session::executeSQL() (nobody should use) and tabledelete::offset() (never worked)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347405 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-09 21:24:35 +00:00
Nikita Popov
b86df9aea4 Remove warning about undefined list() behavior. At least since PHP 7 this is well-defined.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347399 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-09 10:45:19 +00:00
Philip Olson
286ab7c124 Clarified return values as array|0 instead of false; an early change/fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347398 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-08 19:27:37 +00:00
Christoph Michael Becker
8272e36f6a End the notes war
Actual polyfill has been provided by divinity76. Thanks!

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347396 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-08 10:07:23 +00:00
Philip Olson
5dcc60dcbb Removed getClientId() and killClient(); they had no use
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347395 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-07 22:51:20 +00:00
Philip Olson
f36cf25979 Removed FieldMetadata; it was removed in v8.0.14 and folks can use the preferred ColumnResult to retrieve the same data
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347394 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-07 22:20:55 +00:00
Philip Olson
6d305ece6d Removed Driver as it never really existed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347393 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-07 21:14:50 +00:00
Joe Watkins
a31156c3d8 more parallel docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347391 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-07 12:50:54 +00:00
Joe Watkins
a5d3bbcbbd some more docs for parallel
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347390 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-07 07:51:26 +00:00
Joe Watkins
3c45ac9139 updates for parallel
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347388 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-06 10:55:49 +00:00
Christoph Michael Becker
09b078144a Clarify $lib default behavior of FFI::cdef()
Firstly, $lib does not default to NULL; actually, it has no default.
Secondly, we document what happens if $lib is omitted.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347387 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-06 10:48:14 +00:00
Christoph Michael Becker
4a86f6e16d Add basic ext/ffi documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347385 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-05 16:06:46 +00:00
Joe Watkins
75d79e8296 wrong class name content
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347383 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-04 06:16:16 +00:00
Joe Watkins
cffeed77d1 wrong constant name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347382 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-04 05:11:50 +00:00
Joe Watkins
a7a8c6a5ff wrong exception names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347381 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-04 05:09:30 +00:00
Christoph Michael Becker
5af9913bd7 Move note to <preface>, so it actually is shown in the manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347376 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 15:46:50 +00:00
Christoph Michael Becker
3672e4f13d Update and clarify CURLMOPT_PIPELINING docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347375 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 13:55:31 +00:00
Christoph Michael Becker
d44af38adb Add prominent link to parallel from pthreads
Cf. <https://github.com/krakjoe/pthreads/issues/929>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347374 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 13:16:59 +00:00
Christoph Michael Becker
10305eae9b Add empty fallbacks for <xi:xinclude>s
Just to be more update-proof.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347373 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 12:46:27 +00:00
Christoph Michael Becker
f4890c96d6 Fix doc build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347372 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 12:32:22 +00:00
Joe Watkins
5a9064e5a2 fix incorrect subtitle
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347371 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 10:27:52 +00:00
Joe Watkins
0c758e8b8d fix incorrect subtitle
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347370 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 10:26:43 +00:00
Joe Watkins
23d64bfdf8 incorrectness fixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347369 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 10:26:02 +00:00