Commit graph

22883 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
Christoph Michael Becker
ec77057bf3 Fix #62200: __set_state() not implemented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339526 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:03:32 +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
204df16150 Fix #68465: Broken link on php.net, MSSQL server connection documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339501 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-26 00:51:53 +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
534cfca423 Fix #65253: $_FILES documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339495 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 16:30:49 +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
f8aa32180b Fix #50886: Incomplete documentation for php://memory
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339489 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:29:05 +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
Christoph Michael Becker
762d0209c2 Fix #72491: Case can take objects and arrays
Indeed, there are no restrictions on the type that a case expression evaluates to.
That's conforming to the PHP language specification:
<https://github.com/php/php-langspec/blob/PHP-5.6/spec/11-statements.md#the-switch-statement>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339487 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 11:20:17 +00:00
Christoph Michael Becker
0b626f05d2 Improve fix of #69234 as suggested by salathe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339475 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-24 10:25:58 +00:00
Christoph Michael Becker
49cdb0085e Fix #69234: Escaped single quotes within double quotes not recognized
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339469 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 23:57:55 +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
Peter Cowburn
8b269103c2 add php tags to example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339458 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:40 +00:00
Peter Cowburn
97cd51dd32 use correct variable name in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339457 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 11:47:02 +00:00
Christoph Michael Becker
c373ef087f Integrated user notes 119153 and 119475 into the manual proper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 17:10:57 +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
fa568719e1 Fix #72468: heredoc seem actually supported in static declarations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339448 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 11:03:49 +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
4392990fb6 Fix #72462: documentation about static calls from secondary object is outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 14:38:50 +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