Commit graph

25246 commits

Author SHA1 Message Date
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
Joe Watkins
f0a2fee71b new docs for parallel
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347368 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-03 10:18:52 +00:00
Christoph Michael Becker
2ac54492e8 Document new curl constants
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=6b73e692c976bdfdc710741cd983a9b33c13b3e7>

Based on a patch provided by Javier Spagnoletti.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347367 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-02 14:19:12 +00:00
Christoph Michael Becker
166933d75d Amend substr_compare documentation with latest changes
Cf. <https://bugs.php.net/77853>.

Based on a patch provided by Riikka Kalliomäki.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347366 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-02 14:12:29 +00:00
Christoph Michael Becker
7034bb7f23 Add new constants to migration guide
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=6b73e692c976bdfdc710741cd983a9b33c13b3e7>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347365 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-02 13:27:48 +00:00
Peter Cowburn
4f3c8fa26e remove duplicate word
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347364 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-01 19:40:43 +00:00
Christoph Michael Becker
9e656ec06a Add missing CURL constant
Based on a patch provided by Javier Spagnoletti.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347362 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-30 11:52:28 +00:00
Christoph Michael Becker
1bdd887669 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347361 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-30 11:41:38 +00:00
Andrey Gromov
ec74881ee1 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347351 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-28 08:24:18 +00:00
Sara Golemon
9e64a0aefa Reword description for delete placehold page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347334 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-24 17:07:17 +00:00
George Peter Banyard
53401e8378 Fix Doc Bug #73913
A better description of how the offset parameter works (especially with negative offsets)
Added some examples to illustrate how offset affects the function.

Maybe an example that compares this to strpos should be there too?

------
Inspired by anonymous 96388 (php.florianberberich@outlook.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347318 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-23 00:51:32 +00:00
Christoph Michael Becker
9f34a7ecf5 Document that the 2nd parameter of ldap_connect is deprecated
This is only a soft deprecation, since otherwise a lot of existing code would
break.  Still, preferably an LDAP-URI should be passed to ldap_connect().

Based on a patch provided by heiglandreas@php.net

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347310 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-22 13:35:53 +00:00
Christoph Michael Becker
7594fc0dcf Document phpdbg.eol ini directive
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347309 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-22 13:23:53 +00:00