Commit graph

486 commits

Author SHA1 Message Date
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
Christoph Michael Becker
fb0122dd8b Fix #64386: No warning on insecure pseudo-random generators
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339348 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:52:22 +00:00
Christoph Michael Becker
da0818b8a5 clarified difference to array_intersect()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338914 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:51:21 +00:00
Thomas Punt
12572e7195 Resolve doc bug #71174
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338334 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-20 14:31:28 +00:00
Thomas Punt
b37f03f050 Resolves doc bug #69735
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338309 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:12:10 +00:00
Thomas Punt
424e4bdde8 Document new array_column() ability in PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338286 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 21:10:18 +00:00
Peter Cowburn
0b53ec8dfb array_keys() and array_splice() initalizers
Patch by bd808 via online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338158 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-21 15:18:13 +00:00
Christoph Michael Becker
fd99f26061 improved wording (contributed by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337660 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-28 12:36:58 +00:00
Christoph Michael Becker
3c88ee68d1 more consistent function name in example (contributed by Jason Woof)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337471 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:14:12 +00:00
Adam Harvey
674412f760 Expand the PHP 7 changelog for list().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337337 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:43 +00:00
Christoph Michael Becker
6b45fbae9f changelog update by pasindu
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337314 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:48:05 +00:00
Peter Cowburn
f5f9f820c1 Removes examples that a) don't demonstrate output that relates to the purpose of the example and b) relate more to another function (usort) than the function which is the topic of the manual page (natsort) (doc bug #69604)
-- 
Provided by Melanie King (mvs.php@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336772 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 12:01:42 +00:00
Peter Cowburn
b0c1317937 better description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336765 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:05:19 +00:00
Peter Cowburn
1b98a453d1 more useful see also functions (patch by cmb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336764 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 07:58:05 +00:00
Karoly Negyesi
f393569ee0 document the lexicographical order used
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336741 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-08 22:03:39 +00:00
Pasindu De Silva
a44a1e0b79 Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Pieter Hordijk
a71203b0e4 Removed php4 related changelog https://bugs.php.net/bug.php?id=69342
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336314 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 14:51:17 +00:00
Maciek Sokolewicz
68b5b97731 fixed various english grammar/spelling mistakes (patches by cmb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336240 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 18:38:13 +00:00
Peter Cowburn
1f1e43d4b6 Mention what happens when length=0 for array_splice() (doc bug #67526 Patch by Patrick Schwisow)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336201 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-26 11:28:07 +00:00
Peter Cowburn
f1bced78de Better self-contained examples
The array flip examples weren't very good - the first lacked an output (as well as a purpose?) and the second was confusing as it reused variables and used strange variable names.

--
Provided by James Ward (james@notjam.es)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335231 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-01 16:41:04 +00:00
Maciej Sobaczewski
faa6844f1f Fix bug #68525 (link broken on array_pop doc page)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335229 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-30 06:21:53 +00:00
Peter Cowburn
b455daa1c7 num can be zero now (thanks Levi and rn at alpha9marketing dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335201 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-20 21:58:35 +00:00
Tjerk Anne Meesters
27acde0b15 Added documentation for PR #287:
- add ability to use array keys with array_filter()



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334988 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-26 16:17:15 +00:00
Chris Wright
2cc66f620e Grammar fix in array_walk() docs
-- 
Provided by Michael C (wafflestealer654@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334705 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:37:56 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
1cd19d56e1 W/S fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334617 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 05:42:22 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
ecc5ebb63c found a sneaky FIXME PHP_6 hiding behind the sofa
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334426 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-30 21:29:21 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Maciej Sobaczewski
5be9b3288b Add link to userland implementation of array_column()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334063 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-01 17:34:44 +00:00
Peter Cowburn
395344c770 Revert "Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333626 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-29 16:45:44 +00:00
Bob Weinand
51d9ea4b24 Use explicit variable names in code example for array_reduce()
-- 
Provided by adrien.crivelli@gmail.com

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333542 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-14 20:29:28 +00:00
Peter Cowburn
1818d0d6d4 Add see also: reference to array_replace in array_merge description.
Patch by anonymous 42711

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333385 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 19:25:03 +00:00
Dejan Marjanovic
4e21db746b Doc Bug #67045 array_unique bad wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333355 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 23:52:49 +00:00
Mike Griffiths
df890faf6a Fixing bad commit :(
Added note about the order of the function parameters.  Docs could be miss-interpreted if, this note tries to reinforce expected behaviour and use

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333320 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 11:14:41 +00:00
Mike Griffiths
7f70616b6a Added note about the order of the function parameters. Docs could be miss-interpreted if, this note tries to reinforce expected behaviour and use
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333318 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 09:31:47 +00:00
Jason Gerfen
2fbd7d72db Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333258 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 12:50:16 +00:00
Peter Cowburn
9481fbe0e0 Fix param name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333185 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:25 +00:00
Levi Morrison
bec5823af4 The carry parameter in the callback is not passed by reference; also clarified the callback parameters.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332884 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-24 16:17:24 +00:00
Adam Harvey
ba15ed813e Clarify the introductory array_diff() paragraph.
Fixes doc bug #66480 (Ambiguous Language For array_diff() Documentation).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332625 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-15 08:58:56 +00:00
Justin Martin
f54bc36215 Removed initializer from the search_value parameter, as it was incorrect and confusing.
Fixes bug #65904.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332548 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-31 20:14:30 +00:00
Chris Wright
bfee3967e8 Clarified description of array_replace() behaviour
-- 
Provided by anonymous 26427 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332158 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-18 18:17:02 +00:00
Chris Wright
99cec05cd4 Reworded array_rand so that reader is not addressed as "you", and incorporated edit suggested by anonymous 35207
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332157 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-18 18:11:43 +00:00
Joe Watkins
80b1dd15ac revert for #64900
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331964 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 14:56:58 +00:00
Joe Watkins
8928859015 #64900 clarity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331927 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:16:39 +00:00
Joe Watkins
61328e4b14 #64900 fix array_chunk description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331925 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:47:28 +00:00
Joe Watkins
2644d93ec0 some precision for peter, #62804
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331923 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:38:04 +00:00
Joe Watkins
638403b3ba #62804 add information about parameter change in changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331920 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:10:17 +00:00
Sherif Ramadan
c7e8def8ac Fixes Bug #64422 - uasort doesn't mention how comparisons of equal value are treated
Patch submitted by Dean Sas <dean@deansas.org>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331789 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-12 22:43:47 +00:00