Christoph Michael Becker
62302ea580
Fix typos and downgrade <caution> to <note>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340230 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 13:34:51 +00:00
Christoph Michael Becker
ea367db015
Fix #71713 : Array_Key_exist is not recursive
...
Provided by Nikolay Labinskiy.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340229 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 13:27:01 +00:00
Christoph Michael Becker
12ccdb90a1
Improve markup (patch provided by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340225 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:56:11 +00:00
Christoph Michael Becker
ce007084b5
Update example output wrt. PHP 7 change
...
(pointed out by benciba at gmail dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340033 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:59:44 +00:00
Pierrick Charron
e5c34a3438
Rename variable to match documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339732 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-27 01:30:20 +00:00
Christoph Michael Becker
68b263e63d
Minor improvements by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339703 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 16:33:15 +00:00
Christoph Michael Becker
8074326ff6
Remove reference to obsolete function (provided by Juris)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339626 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:39:45 +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
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
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
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
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
Nikita Popov
a0efd60818
Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Nikita Popov
3ce14fde5c
Normalize parameter names of array functions
...
Normalizing parameter names in docs first to later update arginfos from that.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331477 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-24 13:06:51 +00:00
Levi Morrison
9008a9e90d
Added initializer for 'index_key'; fixes a 'strict standards' warning.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331440 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-19 04:08:16 +00:00
Chris Wright
8941c40718
Fix missingInitializer error and incorrect initializer value in array_splice()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331433 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-18 14:21:03 +00:00
Chris Wright
576b5fc5dd
Clarify arrap_map behaviour when arrays of different lengths are passed
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331407 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-16 08:27:44 +00:00
Yannick Torres
33040b3b1b
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Jakub Vrana
0bb9c60f64
Document key_exists()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330433 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:17:07 +00:00
Jakub Vrana
b999e20ec1
Choosing pivot in Quicksort
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330420 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-30 19:11:39 +00:00
TAKAGI Masahiro
beb09db76b
Set svn properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330206 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-11 21:39:53 +00:00
Jakub Vrana
f604355134
Fix a typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330203 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-11 15:05:19 +00:00
Jakub Vrana
4c736aaffc
Explain array_column(, null)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330196 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-10 00:28:37 +00:00
Jakub Vrana
58e2f372dd
Document array_column()
...
Copied part of https://wiki.php.net/rfc/array_column
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330195 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-10 00:25:03 +00:00
Peter Cowburn
12c69dff68
This was submitted as bug #64781 and I was directed here to make the change.
...
thanks!
--
Provided by Jon Lundy (jon@xuu.cc )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330179 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-07 07:08:00 +00:00
Jakub Vrana
e55c6e7b5b
See also array_rand()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329772 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-13 17:11:41 +00:00
Jean-Sebastien Hedde
9ba9ce4f8c
Remove bugfix link and improve changelog description (cf discussion on doc-cvs ml)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329643 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-04 06:52:39 +00:00
Justin Martin
8f8fb2bd4d
Changed list function example to use ext/PDO instead of ext/MySQL.
...
Closes bug #64288 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329580 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-27 04:10:21 +00:00
Jean-Sebastien Hedde
2b921fa00c
array_product : fix link.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329579 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-25 21:46:06 +00:00
Jean-Sebastien Hedde
cff47c489a
PHP 5.3.6 breaks BC on array_product, it should be notified in the doc.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329577 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-25 18:42:09 +00:00
Sherif Ramadan
31026bcbdd
Added new sort flags to array_multisort and updated changelog. Fixes bug #63810 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329178 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-17 14:12:24 +00:00
Sherif Ramadan
8f48b5ad75
Provided some more practical examples for array_udiff. Also fixes bug #63204 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329171 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 22:58:15 +00:00
Shein Alexey
e2b17a8be2
Replace 'this example outputs' with our specific entity.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328651 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-04 11:25:52 +00:00
Jakub Vrana
cb3821f796
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328450 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-22 02:53:37 +00:00
Jakub Vrana
2d7dc57eb1
Rename $limit parameter to $end
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328448 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 20:25:39 +00:00
Levi Morrison
2e0220a7bd
Grammar improvement.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328372 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-16 04:42:35 +00:00
Joe Watkins
393c8182a0
bug #63213 just requires a clear example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328357 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:55:56 +00:00
Peter Cowburn
c746fb679f
count() does in fact discover recursion and issues an E_WARNING in response... but it will probably return a much higher number than it should. (doc #63406 )
...
--
Provided by anonymous #22227 (mail+php@requinix.net )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328332 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:04 +00:00
Yannick Torres
38e3798be2
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328184 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-29 15:25:28 +00:00
Yannick Torres
00649f549f
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328079 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-19 09:28:27 +00:00
Adam Harvey
b67b1b4f37
Remove the changelog from array_key_exists(), since this change never actually
...
shipped in a stable version: the array_key_exists() changes in
42feeddd4072d094d376a2cd96f0255d7def9a8c were reverted by
45572a498ab40d729d2aa0f3b080f029c91d8f9d well before 5.3.0 was released.
Also, add a note to document the "undocumented" behaviour and point at
property_exists() even more strongly — there's no point hiding it, since it
causes actual bugs (as I've just found out in ##php).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327706 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-20 09:27:30 +00:00
Shein Alexey
d6b4563c08
Fixed WS
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327494 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-06 09:49:38 +00:00
Sherif Ramadan
7f5e92953b
Added changelog section to sort for new options in sort_flags parameter.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326793 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-24 04:31:40 +00:00
Adam Harvey
9b2a0aeeba
Fix doc bug #62471 (Documentation for array_search misses 5.3 changes).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326728 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 09:04:50 +00:00
Sherif Ramadan
15bd95f5d1
Added caution for returning non-integer types to help clarify language for usort callback behavior.
...
Address issues raised in Bug #62590
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326718 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 02:22:35 +00:00
Nikita Popov
74b048962a
Apply patch by GoogleGuy
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326684 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-18 11:33:02 +00:00
Peter Cowburn
395b266353
array_replace(_recursive) parameters are not by reference (doc #62383 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326300 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-22 21:42:14 +00:00
Anthony Ferrara
245b748aca
Corrects the doc for array_flip to match the observed behavior when the input contains values that are not valid keys.
...
--
Provided by John Papaioannou (john.papaioannou@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325999 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-06 12:48:32 +00:00
Paul Reinheimer
a1121d3fb1
grammar correction (doc bug #61872 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325537 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-04 19:31:17 +00:00
Peter Cowburn
1c961c95fa
ids for usort examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325272 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 19:03:05 +00:00
Peter Cowburn
6863e5d2ab
usort closure example (patch by Benjamin Kuz)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325271 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 18:56:19 +00:00
Yannick Torres
568d95f88b
Fix typo & literal tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324714 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 13:36:00 +00:00
Jakub Vrana
5faa7a6747
Document and use callable type hint introduced in PHP 5.4
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Arpad Ray
5fba3a90dd
Docs for #55158 (adding SORT_NATURAL and SORT_FLAG_CASE)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324055 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-09 13:47:14 +00:00
Maciek Sokolewicz
a39cd243b0
Revert part of previous commit, accidentally approved part of an incorrect patch
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323351 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-18 20:06:31 +00:00
Maciek Sokolewicz
ce8212a9d0
Fixed missing initializers
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323350 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-18 20:02:26 +00:00
Peter Cowburn
5135f8f044
fixed types for array_reduce() callback proto (thanks starlays)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323153 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-10 16:43:39 +00:00
Antony Dovgal
4f685cf936
minor clarification
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323088 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-06 12:55:38 +00:00
Justin Martin
ca72210df6
Marked callback prototype methodnames replaceable.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-04 21:27:41 +00:00
Justin Martin
a92128a89f
Refactored additional array functions using the callback function snippet and prototype.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323060 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-04 21:01:14 +00:00
Justin Martin
8519fee981
Cleaning up and refactoring the callback descriptions for functions which use a user-defined comparison function.
...
Adds an entity to global.ent defining a generic callback prototype, which is common to several sorting functions.
Adds a language snippet describing the comparison function return value, which is common to several sorting functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323049 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-03 21:07:23 +00:00
Justin Martin
c3b7ce511c
Added callback prototype. Closes bug #60956 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323048 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-03 20:58:24 +00:00
Nikita Popov
123babdf91
Fix Doc Bug #51112 : list() misbehaviour
...
Add a warning saying that modification of the array being destructured during list() execution will result in undefined behavior.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320698 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-08 21:25:44 +00:00
Jakub Vrana
965f8ae1ca
Link array_slice() and array_chunk()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320302 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 07:14:26 +00:00
Jakub Vrana
a331658633
Product of empty array
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320293 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 23:55:51 +00:00
Gordon Oheim
70c08c45a4
fixes Bug #60427 : array_reverse docs are slightly misleading
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320282 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 13:00:40 +00:00
Dave Barr
9ca0ef14e2
- Add list() to See Also.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320268 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 05:51:28 +00:00
Joey Smith
bb0f425fc7
Remove word 'system' from 'system locale', which can confuse readers.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320067 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-28 03:48:36 +00:00
Richard Quadling
0158300574
A short array alters length description.
...
Fixes bug #60320
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319411 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-17 16:29:13 +00:00
Peter Cowburn
680b72c9b8
typofix (patch by anon 11351)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318104 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:39:59 +00:00
Adam Harvey
b66067051c
Fix doc bug #55343 (documentation needs to be more clear) by making the
...
array_intersect_assoc() example more explicit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314091 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-02 09:33:49 +00:00
Jakub Vrana
cd7c33a6ce
Whitespace
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314089 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-02 09:10:35 +00:00
Jakub Vrana
6deaf016e7
See also
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313672 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-25 14:38:26 +00:00
Jakub Vrana
7ecf6f14fd
Markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313671 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-25 14:37:04 +00:00
Jakub Vrana
c05c2912b1
Doesn't return false for empty arrays anymore
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312709 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 16:53:51 +00:00
Jakub Vrana
9190379067
Clarify count() with objects
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312153 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-14 14:40:03 +00:00
Jakub Vrana
61e122fd90
Move seealso to list
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312075 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-12 01:09:01 +00:00
Peter Cowburn
fab3854a2e
clarify range() parameter purposes (doc #54696 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311397 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-24 20:14:36 +00:00
Peter Cowburn
eae252d99c
tidy prototype for array_replace_recursive() (doc #54774 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311247 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-19 12:17:49 +00:00
Peter Cowburn
078cf6c9e9
tidy array_replace() parameters (doc #54773 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311163 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:17:16 +00:00
Peter Cowburn
0266c9027f
tidy array_merge() prototype (doc #54772 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311162 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:10:53 +00:00
Peter Cowburn
1bdcb1b9fd
clarify parameter descriptions for array_fill() (doc #54628 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310656 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-30 11:46:19 +00:00
David Tajchreber
2fc10c7557
Fixing mistake made with last commit ( #54574 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310394 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-20 14:00:06 +00:00
David Tajchreber
a59197ab9f
Fixed #54574 - clarified that in_array uses loose comparison by default
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310392 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-20 13:58:29 +00:00
Karoly Negyesi
89a73e348c
reverting 307359. current does take the array by reference. but it also allows a constant. oh well.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310277 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-17 09:37:40 +00:00
Hannes Magnusson
507757922d
Be consistent with the reflection info
...
plus, when you pass EXTR_REFS the array really is passed by ref (chx)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310276 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-17 09:32:05 +00:00
Peter Cowburn
9a4ce246ae
added missing initializer for strict param in array_search()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309257 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-15 15:52:33 +00:00
Karoly Negyesi
0419c2fe75
tried to clarify what popen does and added a note to array walk.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308188 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 12:53:33 +00:00
Shein Alexey
6adee2fb1d
Removed 'recursively' wording from array-merge description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307837 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-28 22:13:42 +00:00
Shein Alexey
568b98d647
Added some parameter tags into the array-pad description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307835 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-28 22:09:55 +00:00
Yannick Torres
a249d94435
Add constant tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307565 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-18 22:38:28 +00:00
Karoly Negyesi
5c33d2291a
current does not take the array by reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307359 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-10 22:07:01 +00:00
Peter Cowburn
e0a1897f5e
Added $step default value (1) for range(). Fixes doc #53555
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306400 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-16 11:16:38 +00:00
Justin Martin
f653adafd6
Clarified example as per bug #53265 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305207 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-08 18:06:30 +00:00
Peter Cowburn
315b44a819
Typo fix (closes doc #53193 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304976 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-28 14:52:00 +00:00
Richard Quadling
070d3068ad
2 <refsect1 role="examples">'s => 1 <refsect1 role="examples">.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304438 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-15 15:09:39 +00:00
Adam Harvey
ec91a6e90f
Fix doc bug #52852 (array_merge modifies numerical keys even if non-numerical).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303390 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-15 10:29:44 +00:00
Adam Harvey
90783beb49
Fix doc bug #52806 (key_exists (alias of array_key_exists) undocumented) by
...
adding key_exists() to the list of function aliases and moving the note about
the deprecated alias to the normal place on the array_key_exists() manual page.
Also removed the now horribly out of date note on the function alias list about
it being correct "as of 4.0.6".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303248 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-10 02:53:06 +00:00
Gustavo André dos Santos Lopes
a0575612f2
* Made clearer the requirements for the callback function, as per bug #52778
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303045 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-05 05:26:29 +00:00
Adam Harvey
d5e635d12d
Fix doc bug #52646 (contradicting information regarding "sort_flags").
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302524 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:29:16 +00:00
Philip Olson
380c441c88
Clarified (in the description) that entry keys are returned. Closes PHP bug #52247
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302055 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-10 01:31:30 +00:00