Commit graph

15251 commits

Author SHA1 Message Date
Christoph Michael Becker
f5700836b5 Document cURL constant added in PHP 7.0.7 plus a few added in PHP 5.5.0
Fixes also bug #72522 (No option CURLOPT_UNIX_SOCKET_PATH).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 16:54:52 +00:00
Christoph Michael Becker
7ab8ac3b12 Update docs wrt. https://github.com/php/php-src/commit/c0efb06
The migration guide to 7.1 will also have to mention this change, but it
has not been started yet and the info is already contained in UPGRADING.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339543 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 11:51:54 +00:00
Christoph Michael Becker
56293cbaa6 Address #61168: fwrite() has no buffering
The info that fwrite() is normally buffered is obviously wrong, but the
rest of the paragraph also looks fishy, so we remove it altogether.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339538 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 21:12:58 +00:00
Christoph Michael Becker
30cd273018 Address #63510: Integer overflow with chr
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339537 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 20:07:17 +00:00
Christoph Michael Becker
714b2ac860 Fix #69730: PDO: incorrect description of how to close the connection to the database
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339536 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 09:07:57 +00:00
Christoph Michael Becker
cb4e1a108a Address #61740: base_convert skips over out-of-range or unknown characters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339532 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 11:43:06 +00:00
Bob Weinand
8c3557271d Add caution/note regarding yield from and iterator_to_array
It's been a common source of mistake, see also https://bugs.php.net/72518

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339531 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 00:24:35 +00:00
Christoph Michael Becker
1ad5dfe5e0 Fix #71804: proc_close does not return exit code
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339529 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 18:23:56 +00:00
Christoph Michael Becker
9caf16a8ba Fix #70654: array_map key preservation behaviour not explicit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339528 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:49:53 +00:00
Eric Stenson
35fe181ae7 Update message format for REMOVED items to conform to existing style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339527 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:48:28 +00:00
André Luis Ferreira da Silva Bacci
9a8ee04fdf s/search/sort
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339523 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 16:45:26 +00:00
Christoph Michael Becker
a5c1a2e211 Fix #66613: PDOStatement::columnCount and empty result sets
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339522 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 12:53:26 +00:00
Christoph Michael Becker
b362985477 Fix #72514: Behaviour of relative date format "this week" has changed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339521 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 11:44:50 +00:00
Christoph Michael Becker
e440c79af1 Fix #53394: Insufficient docs regarding PDOStatement::fetch(Object) and constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339520 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 11:03:39 +00:00
Christoph Michael Becker
cd2eae76e7 SQLite3::bind(Param|Value) accepts ints as well as strings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339509 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-27 14:14:18 +00:00
Christoph Michael Becker
7b918120f8 Fix #62361: SQLite3::escapeString is not binary safe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339508 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-27 14:12:35 +00:00
Christoph Michael Becker
2e9c07ed8f Fix #65216: Missing documentation for SQLite3Stmt::readOnly()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-27 11:57:06 +00:00
Christoph Michael Becker
a10fa06420 Improve table introduced with r339499
We replace the quotes with <literal>s and make a real table caption.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339500 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:49:54 +00:00
Christoph Michael Becker
ef1b0b43d3 Address #67811: htmlspecialchars: document why/when apos instead of #39 is used
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339499 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:35:39 +00:00
Christoph Michael Becker
385badd002 Fix #66938: ext/filter misses some constants in documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339498 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:08:19 +00:00
Christoph Michael Becker
260be846fd Fix #65221: Does not adequately explain nature of how list retrieves values from an array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339494 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 16:10:15 +00:00
Christoph Michael Becker
e4725d85c5 Fix #64570: Phar::extractTo() documentation page has phar.readonly=0 stated as requrement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339493 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 15:36:17 +00:00
Christoph Michael Becker
d871d0abb6 Fix #64416: issues with streamwrapper documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339492 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 15:23:13 +00:00
Christoph Michael Becker
4a5de0c62d Fix #64221: is_callable() reports constructors as not callable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339491 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 15:13:40 +00:00
Christoph Michael Becker
32952c4ddc Fix #51229: consecutives sorting with usort and uasort
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339490 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:42:12 +00:00
Christoph Michael Becker
e5f52bed94 Fix #72490: FILTER_VALIDATE_INT: unexpected result for bool and float
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339488 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 11:41:33 +00:00
Jeremy Mikola
812a7a3a55 Add syntax highlighting to BSON persistence articles
https://jira.mongodb.org/browse/PHPC-486


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339468 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 21:54:22 +00:00
Christoph Michael Becker
de7ffa3624 Add warning regarding volatility of timezone abbreviations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339461 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 17:03:25 +00:00
Christoph Michael Becker
253e98c2ea Fix #72471 Docs to explain how adding/subtracting dates work (PS)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339460 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 16:30:38 +00:00
Christoph Michael Becker
7a94745acb Fix #72471: Docs to explain how adding/subtracting dates work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339459 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 16:12:00 +00:00
Christoph Michael Becker
3e831d6e6f Fix #67048: pathinfo() doesn't document parsing of dot-files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339450 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 14:17:23 +00:00
Jeremy Mikola
c8f44705c2 MongoDB\Driver\WriteResult::getInfo() does not exist
This method was removed before the 1.0.0 release and should not be documented.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339449 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 12:00:51 +00:00
Christoph Michael Becker
ec67e42ba8 Fix #70534: See Also suggestion: sprintf, date
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339444 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 21:19:59 +00:00
Christoph Michael Becker
d6f9689aae Fix #64798: curl_getinfo does not return info array if $opt = 0
Actually, $opt has no default value!

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339443 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 20:45:47 +00:00
Christoph Michael Becker
29ee5173fb Fix Windows related documentation (see #49446)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339439 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 17:00:00 +00:00
Christoph Michael Becker
3e78b76ce4 Fix #39521: DOMDocument::createElement() does not escape its parameters properly
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339438 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 16:14:05 +00:00
Christoph Michael Becker
dd7e785144 Fix #65280: Documentation for decoct() incorrect
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339437 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 15:03:43 +00:00
Christoph Michael Becker
707cc32e4b Fix #72461: Documentation on DatePeriod is missing mention of unbounded periods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339435 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 11:58:49 +00:00
Remi Collet
456d5965de Zip: add new constant (5.6.23, 7.0.8 and pecl 1.13.3)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339434 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 11:02:59 +00:00
Christoph Michael Becker
cf0ced50ae Fix #72457: change in strtotime for invalid dates since 5.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339429 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 19:23:59 +00:00
Christoph Michael Becker
12e58c440b Add foreach to "See Also" section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339427 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 15:34:35 +00:00
Fábio Luciano Nogueira de Góis
24f1c77edb removing unnecessary spaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339407 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 21:26:08 +00:00
Dan Ackroyd
ead0bd3cc9 Added words for ImagickPixel::getColorCount
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339398 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 11:36:16 +00:00
Christoph Michael Becker
cf579106bf Fix #65747: DateTime __construct error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339390 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-18 17:21:49 +00:00
Christoph Michael Becker
44d66aa2be XBM images apply padding now (#53640)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339384 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 16:24:27 +00:00
Christoph Michael Becker
a02cc0d866 Fix #68176: Support for CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339371 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-16 16:38:42 +00:00
Christoph Michael Becker
ebe59c212f Fix #72423: inavailable parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339361 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-16 11:17:31 +00:00
Christoph Michael Becker
26958d6085 Fix #72422: typo: declaration argument should be string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339360 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-16 11:02:17 +00:00
Matthew Fonda
ab01beb4cc EventHttpRequest::getOutputHeaders return output headers, not input headers (fixes #72419)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339358 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-15 17:56:33 +00:00
Matthew Fonda
dd02749169 EventHttpRequest::getOutputHeaders return output headers, not input headers (fixes #72419)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339357 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-15 17:52:38 +00:00