Commit graph

23091 commits

Author SHA1 Message Date
Christoph Michael Becker
eabef7a4ef Fix parameter type
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340548 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 11:22:38 +00:00
Christoph Michael Becker
6382cb4b84 Fix parameter type
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 11:19:20 +00:00
Christoph Michael Becker
f39bffda6b Add error section
Original patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340545 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 11:14:50 +00:00
Yasuo Ohgaki
360c099b26 Add minimun description using git source reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340522 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 21:29:47 +00:00
Andrea Faulds
2634ea3b40 Correct copy-paste error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 16:15:13 +00:00
Andrea Faulds
838941f6cc Improve utf8_decode() and utf8_encode() documentation
This rewrites the descriptions of both to clarify that they convert 
specifically between ISO-8859-1 and UTF-8, adds a warning about
confusion with Windows-1252, and adds helpful "See also" links to
other character set conversion functions. Additionally, the
behaviour for invalid characters in utf8_decode() was clarified,
and the description of the UTF-8 binary encoding was removed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340506 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 14:31:39 +00:00
Christoph Michael Becker
a9d0248cd3 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340505 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 13:28:25 +00:00
Christoph Michael Becker
1ff3457709 Fix grammar
Patch provided by Taha.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340504 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 13:27:19 +00:00
Christoph Michael Becker
e347a6856e Improve example
Patch provided by Andrey Gromov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340503 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 12:58:30 +00:00
Christoph Michael Becker
2f4a6b7ebc Remove out-dated information
Neither information regarding PHP 4 nor GD < 2.0.4 is relevant anymore.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340502 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 11:47:48 +00:00
Christoph Michael Becker
2f6123253c Document new imageopenpolygon() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340500 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 09:20:34 +00:00
Kalle Sommer Nielsen
e3f2f6ed4f Fix bad copy/paste
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340497 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 00:29:52 +00:00
Kalle Sommer Nielsen
6dccfde5ef Update the proc_nice() documentation to reflect the Windows support in 7.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340496 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-16 04:14:47 +00:00
Christoph Michael Becker
7e4167f3f2 Fix #62119: basename broken with non-ASCII-chars
We move the important notes up into the description section, and elevate
the note regarding the locale awareness to a caution.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340481 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 17:28:12 +00:00
Christoph Michael Becker
b7e2253079 Document support for negative indices in simple variable parsing syntax
Cf. <https://github.com/php/php-src/pull/2144>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 12:42:37 +00:00
Christoph Michael Becker
19fddb5d65 Update return value description
Inspired by Jean-François Lambert.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340478 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:47:42 +00:00
Christoph Michael Becker
6ad6ddaac2 Fix example
Patch provided by Gavin Staniforth.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340477 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:37:13 +00:00
Christoph Michael Becker
855cead916 Improve parameter description
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340476 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:33:16 +00:00
Christoph Michael Becker
b9aa7f5888 Fix link
Patch provided by Andrey Gromov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340475 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:21:56 +00:00
Christoph Michael Becker
8e821c7a9c Fix #73314: Documentation on createFromFormat does not match with date_default_timezone_get
$timezone's default is to complex to be expressed as initializer, so we omit it.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340470 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:06:55 +00:00
Alexander Moskaliov
df778256cb add svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340465 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-13 10:38:34 +00:00
Christoph Michael Becker
b18e6c19c9 Fix #73036: pg_insert() now returns a resource ID instead of boolean
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340460 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-12 17:11:52 +00:00
Christoph Michael Becker
a5d1e6e1db Fix typos and markup
Patch provided by Andrey Gromov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 14:11:26 +00:00
Christoph Michael Becker
0b15fb2e4b Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340435 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 14:08:21 +00:00
Christoph Michael Becker
2de9c1a37b Fix ##73287: Clone chaining feature
We also document that this is possible for `new` as of PHP 5.4.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 13:01:01 +00:00
Christoph Michael Becker
edf411e2cd Fix #73274: imagescale() with IMG_WEIGHTED4 always returns FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340412 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 16:50:23 +00:00
Christoph Michael Becker
bab7e4c16c Fix broken markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340409 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 12:34:02 +00:00
Christoph Michael Becker
7affcb8275 Fix #73272: imagescale() is not affected by, but affects imagesetinterpolation()
We fix the documentation part of this bug, namely that imagesetinterpolation()
would affect imagescale() what has never been the case.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340408 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 12:29:59 +00:00
Christoph Michael Becker
055cdb7c7e Document imagecrop()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-09 11:33:10 +00:00
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