Commit graph

23062 commits

Author SHA1 Message Date
Nikita Popov
27e86fd791 Clarify namespace resolution rules
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340397 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 14:36:34 +00:00
Christoph Michael Becker
7ab4a2b31d Don't repeat ourselves
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340383 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 10:35:15 +00:00
Christoph Michael Becker
6600311e30 Document return value of socket_sendmsg()
Original patch provided by Mikhail Krasilnikov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340382 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 10:09:12 +00:00
Christoph Michael Becker
80c312be68 Remove use of the word "you" per style guide
Original patch provided by Oscar Merida.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340381 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 10:03:31 +00:00
Christoph Michael Becker
379fa4cf1c Document $optind parameter of getopt()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340380 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:55:25 +00:00
Christoph Michael Becker
1b08ec49bf Fix broken invalid example
We also add a valid example, as suggested by Andrey Gromov.
Furthermore we move the unrelated paragraph below the examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340379 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:49:02 +00:00
Christoph Michael Becker
5c65942664 Fix #73267: Order by callback changed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340377 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:12:17 +00:00
Christoph Michael Becker
de99d5d89b Document IMAGETYPE_WEBP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340375 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 22:36:06 +00:00
Christoph Michael Becker
10d3f753b5 Clarify that only *supported* image types work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340373 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 18:18:52 +00:00
Christoph Michael Becker
653f52435c Integrate user note 119996 by ohcc at 163 dot com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340372 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 15:28:57 +00:00
Christoph Michael Becker
503d616770 As of PHP 7.0.0 ext/shmop deals with resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340367 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 13:50:59 +00:00
Christoph Michael Becker
7e315b8186 No need to document pre PHP 5 differences
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340357 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 13:03:56 +00:00
Christoph Michael Becker
829b469622 Stick to American English
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340349 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:32:40 +00:00
Christoph Michael Becker
77998085e0 Fix and integrate LiteSpeed installation instructions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340348 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:24:23 +00:00
Christoph Michael Becker
b6541758b2 updated example method to use proper US English commands:
[C_TEXT](http://doc.4d.com/4Dv15R4/4D/15-R4/C-TEXT.301-2824480.en.html)
[APPLICATION VERSION](http://doc.4d.com/4Dv15R4/4D/15-R4/Application-version.301-2825633.en.html)

-- 
Provided by anonymous 73923 (tpenner@4d.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340347 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:22:03 +00:00
Christoph Michael Becker
c7f95e1f92 Added instructions for LSPHP to the En guide.
-- 
Provided by anonymous 74397 (rholda@litespeedtech.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340346 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 09:46:37 +00:00
Christoph Michael Becker
c2869c45fc Document JSON BC break in PHP 7
Original patch provided by Matthieu Napoli

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340345 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 09:27:26 +00:00
Christoph Michael Becker
34f573bce6 add example of exploding when first character of string matches delimiter
-- 
Provided by anonymous 70035 (jay-php@vengefulstapler.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340344 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 09:11:19 +00:00
Christoph Michael Becker
d93d31e59c Fix opcode documentation
Original patch provided by Gennady Kovshenin

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340343 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 09:09:28 +00:00
Christoph Michael Becker
4d616f071c Add example about passing references
Original patch provided by Esteban Marin

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340342 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 08:51:26 +00:00
Christoph Michael Becker
d4fdab6050 Add missing parameter descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340341 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 08:45:40 +00:00
Christoph Michael Becker
f6c86f60c8 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340338 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 11:54:36 +00:00
Christoph Michael Becker
d7ae20ad9e Fix example title
Patch provided by anon user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340334 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 10:31:10 +00:00
Christoph Michael Becker
7e65787ddc Fixed that the option parameter description was nested below the algorithms parameter.
-- 
Provided by anonymous 63625 (php@dennis.birkholz.biz)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340333 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 10:27:37 +00:00
Christoph Michael Becker
78c391351b Fix constant name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340332 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 10:16:31 +00:00
Christoph Michael Becker
4e4ab8c161 Adds documentation for recently added LDAP constants.
-- 
Provided by anonymous 73901 (Chad.Sikorra@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340331 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 09:59:35 +00:00
Christoph Michael Becker
db17573b4f Fix #73256: Missing documented return vaue for array_sum([])
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340330 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 09:57:03 +00:00
Christoph Michael Becker
c0fa1d5486 The memcache::get return value from a single key (string) is the data value on the server for that key. It could be a string or an array depending on what the key value is. It's incorrect to say that the method always returns a string. For a single key it always returns the key-value.
also fixed a typo and grammar in the  description 

-- 
Provided by anonymous 75283 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340329 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 09:49:42 +00:00
Christoph Michael Becker
b618a856b1 Correct params and return for apcu_delete
The function has always returned a boolean, and has always accepted either a string containing a single key name, an array of key names, or an APCUIterator containing a regular expression.

-- 
Provided by anonymous 76182 (andrew@nicols.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340328 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 09:47:09 +00:00
Christoph Michael Becker
dd3d3bc95c Fix #70036: DateTime::createFromFormat/date_create_from_format return value not "formatted"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340326 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 17:02:21 +00:00
Christoph Michael Becker
b11f2fefd5 Improvements provided by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340325 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:32:17 +00:00
Christoph Michael Becker
59ea89792d There is no 2**31 byte restriction regarding the string length anymore for 64-bit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340324 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:22:23 +00:00
Christoph Michael Becker
d5a653cf30 Fix broken manual build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340323 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:15:10 +00:00
Christoph Michael Becker
a3c18bfa37 bcmath numbers are not of unlimited size and precision
-- 
Provided by anonymous 17522 (divinity76@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340322 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:13:58 +00:00
Christoph Michael Becker
e1d4df1951 Add further &mysql.alternative.note;s
Patch provided by davey

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340321 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:00:06 +00:00
Christoph Michael Becker
9fdb3b72f7 Fix wrong return value description
Patch provided by anon user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340320 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 13:58:22 +00:00
Christoph Michael Becker
e0dac54a11 Fix typo
-- 
Provided by anonymous 75732 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340319 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 13:35:58 +00:00
Christoph Michael Becker
e659209849 A space was ommitted after '$this'
-- 
Provided by anonymous 76384 (p.selitskas@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340318 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 13:33:10 +00:00
Christoph Michael Becker
57daa67471 Add link to empty()
This way we integrate user note 113617 in a sane way.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340315 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 18:13:45 +00:00
Christoph Michael Becker
adb09c0aab Clarify purpose of the examples
This integrates user note 105479.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340314 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 15:30:56 +00:00
Christoph Michael Becker
c271533e6d Emulated prepares are not implemented by all drivers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340311 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 14:54:38 +00:00
Christoph Michael Becker
c2df92e871 Fix #73205: Default value for $length is shown as 0, but it it not
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340300 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 10:02:17 +00:00
Christoph Michael Becker
b953523528 Fix #73207: Array ordering is same between 5.6.21 and 7.1.0 RC3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340288 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-03 17:25:51 +00:00
Christoph Michael Becker
983b96e259 Document new STREAM_CRYPTO_METHOD_* constants
Patch provided by Stéphane Hulard

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340287 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-03 16:41:04 +00:00
Christoph Michael Becker
ec54028a96 Fix #73235: imagerotate() always ignores $ignore_transparent
Well, we're not actually fixing the issue, but rather document the current state.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340286 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-03 16:34:07 +00:00
Christoph Michael Becker
e9ada925fb correct apc to apcu in APCuIterator
-- 
Provided by anonymous 75305 (walt@waltsorensen)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340275 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 17:51:08 +00:00
Christoph Michael Becker
d1cc38ade9 Document IMG_EFFECT_MULTIPLY (available as of PHP 7.2.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340274 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 17:48:55 +00:00
Christoph Michael Becker
a0f88d3663 imageantialias() will be generally available as of PHP 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340272 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 11:33:02 +00:00
Christoph Michael Becker
9deb55ad81 The APCUIterator constructor doesn't have the cache parameter.
The signature was correct in the method definition but the parameter overview and example still had the `cache` parameter (most likely copied from APCIterator)

-- 
Provided by anonymous 67620 (robin@icewind.nl)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340269 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-02 08:30:22 +00:00
Christoph Michael Becker
e5d20e319e imageantialias() is only available with the bundled libgd
Despite what has been claimed in bug #62167, see
<https://github.com/php/php-src/blob/PHP-7.1.0RC3/ext/gd/gd.c#L4560-L4580>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340264 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-30 18:52:20 +00:00