Commit graph

25674 commits

Author SHA1 Message Date
Remi Collet
1fb3a5e8f4 doc for zip 1.18.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349489 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-18 13:22:47 +00:00
Remi Collet
b709972b45 add another ex from #79157
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349488 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-18 12:35:51 +00:00
Remi Collet
4dc46c4a95 ZipArchive::addGlob/Pattern retrun array of added files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349487 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-18 12:24:31 +00:00
Christoph Michael Becker
005c7b65cb Fix #79388: readline() missing return on documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349481 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-17 11:41:16 +00:00
Christoph Michael Becker
bb2cebd575 is_numeric() accepts leading whitespace
Cf. bug #67719.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349477 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-17 09:03:45 +00:00
Remi Collet
0ca029646c ZipArchive::open accept ZipArchive::RDONLY mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349472 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-16 13:05:02 +00:00
Christoph Michael Becker
0d36c0ae79 Fix style
According to the style guidelines[1], the indentation should be one space, and
personalization ("you") is to be avoided.

[1] <http://doc.php.net/tutorial/style.php>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349463 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 23:20:09 +00:00
Remi Collet
c870cfa314 ZipArchive::extractTo: add notice about default permissions, following #79383
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349461 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 17:55:23 +00:00
Christoph Michael Becker
67923ad06f Add missing visibility specifiers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349457 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 10:33:51 +00:00
Christoph Michael Becker
5d4c446db2 Mark up classname
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349454 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 09:36:47 +00:00
Christoph Michael Becker
7cca6df586 Add initializers for procedural APIs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349453 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 09:21:15 +00:00
Christoph Michael Becker
59b5917eaf Fix VT_* constant values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349452 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 09:02:34 +00:00
Christoph Michael Becker
5fd3467276 Order VT_I* and VT_UI* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349451 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 08:57:35 +00:00
George Peter Banyard
11e991f711 DsSet::last() returns a mixed value, just like DsSet::first().
-- 
Provided by anonymous 100361 (mikko@pesari.fi)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349447 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 01:40:08 +00:00
George Peter Banyard
9d539daa5f Updating a class name of an example, following the psr-1 standard:
+ Class names MUST be declared in StudlyCaps.
https://www.php-fig.org/psr/psr-1/#3-namespace-and-class-names

Note by committer: as we are mostly following Pascal case for class names anyway the PSR-1 argument is irrelevant.

-- 
Provided by anonymous 102110 (tunt081295@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349446 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 01:38:47 +00:00
George Peter Banyard
37b30e4e87 Minor spelling mistake of "sctrictness"
-- 
Provided by anonymous 102195 (irwtdvoys+php@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349445 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 01:35:34 +00:00
Christoph Michael Becker
483b1101fc Fix #79173: Phar::decompress() return new instance of itself
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349430 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 17:22:35 +00:00
Christoph Michael Becker
21c6f827cd Fix #65813: Reference For Cross-Platform Compatible Code when connecting to MSSQL
The reference to SQLSRV is already there, but the info that the SQLSRV drivers
are for Windows only is outdated.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349429 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 17:02:21 +00:00
Christoph Michael Becker
0694f17113 Fix #63060: Option LIBXML_NOEMPTYTAG is ignored
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349428 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 16:56:46 +00:00
Christoph Michael Becker
b03dfce3fd Fix #79302: Support for underscores in numbers not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349427 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 16:18:30 +00:00
Christoph Michael Becker
63df6ea90b Fix #50473: static dotnet classes can't be called
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349426 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 15:36:27 +00:00
Christoph Michael Becker
54a343afdc Fix #71956: sem_get(0) creating an infinite amount of semaphores
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349425 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 15:33:40 +00:00
Christoph Michael Becker
50637b5e68 mysqli_embedded_server_(start|end) are removed as of PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349424 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 15:29:32 +00:00
Christoph Michael Becker
ad878b0b20 Fix #75869: mysqli_driver is monostate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349423 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 15:28:47 +00:00
Christoph Michael Becker
3ecee11d0a XMLReader::open()'s $encoding defaults to NULL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349422 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 13:30:37 +00:00
Christoph Michael Becker
60511f0626 ftp_ssl_connect() is available in official Windows builds as of PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349421 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 10:23:33 +00:00
Sherif Ramadan
f12adb7d02 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349411 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:32:58 +00:00
Sherif Ramadan
c136f24535 Fix bug #79378 - Uploading multiple files with CURLFile is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349410 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:21:35 +00:00
Christoph Michael Becker
3c28f4f9d0 Fix #79256: Generator::next not behaving as documented
Patch provided by ekin@php.net.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349409 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:07:06 +00:00
Christoph Michael Becker
ff3d7bb38b Link to hash_algos() from hash() and hash_file()
Patch provided by Ryan McCue <me@ryanmccue.info>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349408 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:01:28 +00:00
Christoph Michael Becker
59d459d265 Fix #74257: "namespace \X" does not work to declare a namespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349407 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 17:37:34 +00:00
Christoph Michael Becker
916268236f Document CURLOPT_COOKIELIST on constants page as well
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349397 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 17:20:13 +00:00
Christoph Michael Becker
12bae73457 Fix #72611: CURLOPT_TCP_KEEPALIVE missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349396 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 17:08:49 +00:00
Christoph Michael Becker
39ed941a15 Fix #77792: CURLOPT_SSLCERTTYPE support P12(pfx) certificate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349395 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:12:54 +00:00
Christoph Michael Becker
a8356baaf4 Fix #78367: missing CURL_SSLVERSION_MAX_xxx
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349394 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 16:07:42 +00:00
Christoph Michael Becker
5d93330c9b Fix #78435: Missing CURLOPT_COOKIELIST in doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349393 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:52:53 +00:00
Tiffany Taylor
84b2eca180 Remove "nom noms" from eat method in Dog class
(thanks salathe)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349392 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:40:27 +00:00
Christoph Michael Becker
46b3f856ba Fix #79105: curl_share_setopt incorrect argument type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349391 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:38:49 +00:00
Tiffany Taylor
62be58faa7 Formalize wording in variance page, remove any wording that speaks to the audience
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349390 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 14:36:14 +00:00
Christoph Michael Becker
55640d87ac Document CURLFile property types and constructor defaults
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349387 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 08:55:43 +00:00
Nikita Popov
70629e8390 Added changelog documentation to mb_convert_case()
Patch by thg2k.

Closes php/doc-en#59.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349373 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-10 20:52:39 +00:00
Christoph Michael Becker
3a68a5895a Fix #77710: Inconsistent expectation of returned values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349367 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-10 10:07:09 +00:00
Christoph Michael Becker
09483f34bc Fix #78168: Reference Format is \n instead of \\n
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349366 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-10 09:11:07 +00:00
Remi Collet
93ae6ca0ae ZipArchive::{add,replace}File: start/length paramaters are now used
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349360 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-09 13:27:07 +00:00
Christoph Michael Becker
1e3eecef0d Fix #77875: No documentation for apcu_enabled()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349352 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-08 10:25:58 +00:00
Christoph Michael Becker
0fc2058daf Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349351 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-08 10:05:38 +00:00
Christoph Michael Becker
337876a8bf Fix order of sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349350 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-08 10:05:21 +00:00
Yoshinari Takaoka
00b426f09c fixed xml build error.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349345 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-07 21:57:14 +00:00
Sherif Ramadan
fd130ca78e Fix bug #79343
json_encode fails "silently" for DOMDocument.

Updated documentation to reflect that calling json_encode() on a DOMDocument object
will result in any empty object being encoded.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349342 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-07 19:20:16 +00:00
George Peter Banyard
7ce29cc163 Fix example, add missing ')'
Provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349340 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-07 18:20:16 +00:00