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
Mark Wiesemann
d7fad8f1ed
fixed changelog order (descending seems to be common)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301582 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-26 19:46:57 +00:00
Daniel Egeberg
ac57e6596c
Fixed PHP bug #52437 (array_unique version misleading)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301530 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-25 11:12:19 +00:00
Daniel Egeberg
9280b06246
Fixed PHP bug #52392 (Small, but important addictions in "Return Values" and "See Also")
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301475 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-22 17:59:08 +00:00
Peter Cowburn
7653b91a1f
smush another pesky PHP 6
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299468 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 20:49:29 +00:00
Philip Olson
08e2e3465c
Added note about 5.2.10 '0' padding change, and added a bunch of gotcha-like examples as expressed in several user notes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299436 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 01:43:37 +00:00
Daniel Egeberg
99a0f11459
Fixed PHP bug #51828 (example of natsort should compare with asort function)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299407 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-15 21:49:14 +00:00
Peter Cowburn
426ec589cc
clarify array_merge reindexing behaviour with numeric-only keys (bug #51699 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298804 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-30 12:27:36 +00:00
Daniel Egeberg
fb70264f42
Clarified the parameter's requirements.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298761 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 08:33:49 +00:00
Daniel Egeberg
1db0fccd50
Added initializer to array_reduce()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298259 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-21 15:54:33 +00:00
Yannick Torres
0306ecd5ad
Fix typo in tag name
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297786 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-10 07:58:00 +00:00
Daniel Egeberg
01adf8724e
Fixed PHP bug #51520 (strict-parameter of array_search() and object-identity)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297745 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-09 14:04:21 +00:00
Philip Olson
3e57d6ccfd
Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +00:00
Daniel Egeberg
d6f393442b
Fixed #51453 (Mentioning NULL as special value for replacement in array_splice())
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297304 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-01 20:33:18 +00:00
Daniel Egeberg
96c9d88bad
Converted to utf-8
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Jakub Vrana
d87240a673
Link Countable
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296747 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-24 20:54:21 +00:00
Kalle Sommer Nielsen
b25e5de2b0
Fixed bug #51180 (Incorrect description of array_merge parameters)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296209 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-14 22:29:19 +00:00
Richard Quadling
b091b761c3
Corrected the syntax of XML attributes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294567 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-05 16:14:57 +00:00
Richard Quadling
cac33a7a6b
Enhanced example using a string as $initial.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294359 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 10:01:10 +00:00
Peter Cowburn
de318a3586
array_reduce initial parameter mixed as of 5.3.0. Closes #50919
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294358 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 09:45:02 +00:00
Kalle Sommer Nielsen
4bc27d8766
Remove the last of the PHP3 related stuff around the manual, including the documentation for:
...
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +00:00
Hannes Magnusson
f39b9daa3c
array_flip() will never return false (cought by yawk)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293230 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-07 20:19:16 +00:00
Jakub Vrana
bc93886cd1
Prefer <initializer> before "default is"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291316 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:41:53 +00:00
Jakub Vrana
201dc3748c
Prefer <initializer> before "defaults to"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Jakub Vrana
ec87ab8ad9
First parameter can't be negative (bug #40882 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291198 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 12:52:00 +00:00
Jakub Vrana
29268ad117
Resets pointer (bug #50176 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290755 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-14 20:20:34 +00:00
Jakub Vrana
aaf3c8054b
Terminology (bug #49834 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290698 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:06:58 +00:00
Jakub Vrana
c49f0a6a86
Returns array (bug #50131 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290672 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 16:48:52 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Torben Wilson
6e6a7b535a
Fixed an old incorrect description of array union.
...
Addresses bug #46765 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287831 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 08:34:04 +00:00
Torben Wilson
3152dc0fa7
Typo fix.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287828 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 07:08:17 +00:00
Torben Wilson
8a0492f839
Documented what happens when you use extract() on $_FILES with
...
EXTR_SKIP when register_globals is turned on. Also noted that good
coding practice means you should never see this.
Addresses Bug #45283 .
Also fixed some minor grammatical problems.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287827 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 06:43:30 +00:00
Torben Wilson
9bd06a0d9d
Document the fact that key() returns NULL when the array pointer is out of bounds.
...
Addresses Bug #47330 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287789 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-27 04:48:24 +00:00
Rasmus Lerdorf
5c6fd60e8f
Note about the array parameter being passed by reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284285 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-17 21:56:27 +00:00
Richard Quadling
514d3eef12
Fix #48921 - First parameter is passed by reference.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284105 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-15 08:50:49 +00:00
Nilgün Belma Bugüner
876c81c602
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:30:45 +00:00
Hannes Magnusson
49747f6e5f
Like the changelogs says, the random number generator is seeded
...
automatically
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283558 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-06 07:24:11 +00:00
Kalle Sommer Nielsen
3b0392cafa
Fixed #48119 (usort() docs don't mention it now takes a lambda)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283436 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-03 18:21:37 +00:00
Richard Quadling
e2d7ee138a
Added versions and some typos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282707 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-24 09:20:29 +00:00
Damien Seguy
021cc13b97
fix build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282666 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 16:44:57 +00:00
Damien Seguy
dfef10d5b3
initial commit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282662 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 15:51:34 +00:00
Kalle Sommer Nielsen
7dec13037a
Revert
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280953 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 12:49:59 +00:00
Kalle Sommer Nielsen
95a492c98b
Fixed #48316 (Precision for array_multisort)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280919 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 00:30:36 +00:00
Kalle Sommer Nielsen
29c60ed6c8
Fix proto
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280918 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 00:26:10 +00:00
Hannes Magnusson
b1774f7680
We don't document bugs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-20 08:33:26 +00:00